Closed GoogleCodeExporter closed 9 years ago
David's work-around overrides
SimileAjax.Graphics._FontRenderingContext.prototype.computeSize and fixes the
symptom but not the cause. Details here:
http://groups.google.com/group/simile-widgets/msg/63a3239771fdb5ac?dmode=source
Original comment by crumpj...@gmail.com
on 21 Sep 2008 at 6:00
I spent some time on this problem today and narrowed things down to a specific
problem of bad values being returned from the offsetWidth property in certain
circumstances on Firefox/Mac. I built a test page:
http://simile-
widgets.googlecode.com/svn/timeline/trunk/src/webapp/examples/test_example/firef
ox_ma
c_test_case.html
And filed an official bug with the Firefox folks:
https://bugzilla.mozilla.org/show_bug.cgi?id=458617
The offsetWidth property appears to be about 1% too small. Increasing it by the
larger of [1% of the reported width, 1px] solves the problem. Eg a short label
of
"Test 1" has a reported width of 28px on FF/Mac and 29px on Safari/Mac. The
text
wraps in FF. Increasing the width to 29px stops the wrapping.
I'll add the workaround (for FF/Mac only browsers) to the source sometime
relatively
soon.
We'll see what the Firefox folks do with the bug report. If you want to be
notified
when the bug is changed, you can add yourself to the bug's cc list.
Regards,
Larry
Original comment by larryklu...@gmail.com
on 5 Oct 2008 at 7:38
Original comment by stefano.mazzocchi@gmail.com
on 25 Mar 2009 at 7:01
Fixed in 2.3.0
Original comment by larryklu...@gmail.com
on 30 Mar 2009 at 7:58
Original issue reported on code.google.com by
larryklu...@gmail.com
on 19 Sep 2008 at 3:52