Hi, I've been involved in an email conversation about the underlying causes of Timeline labels wrapping w/ FF Mac 3.0. You can read the discussion here: https://bugzilla.mozilla.org/show_bug.cgi?id=458617
The precise problem is that offsetWidth returns an integer too small to hold the same contents in another div without it wrapping. The cause is that FF use sub-pixel rendering internally and is rounding the sub-pixel width instead of using ceil. So if the width is 50.2 pixels internally, offsetWidth is returning 50 instead of 51. A new (Timeline label) div with width 50 then wraps the text. The bottom line is that the Mozilla folks don't plan to fix the issue. They recommend using getBoundingClientRect instead. ==>> The purpose of this email to explain my general plan and to get your feedback. I plan on doing the following work sometime relatively soon (next several weeks). 1) The change to using getBoundingClientRect (if available in the browser) requires changing the ajax project within Simile widgets: Plan: a) Create an ajax release tag "2.1" to capture the current version b) Make the change to use getBoundingClientRect when available (won't require browser sniffing) and release as ajax tag 2.2 2) Currently, the Timeline api file uses the Simile/Ajax bundle from MIT. I have realized that since the svn repository is available on public urls from google, we can use the svn repository to serve the library files. (Hooray!) Sometimes, the svn props of the stored files have to be munged, but overall, it seems to work fine. As an example, the file http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/examples/monet/monet.html uses Google to obtain the Timeline js libraries and MIT for the Simile/ Ajax libraries. Plan a) Test that Timeline works with Simile/Ajax library served from Google repository b) Update timeline-api.js to use the new Simile/Ajax 2.2 release from Google c) This will be an important change so probably will make a tagged Timeline release 2.3 shortly thereafter. Comments appreciated. Regards, Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
