Closed
Bug 561637
Opened 14 years ago
Closed 14 years ago
reftests/bidi/visualmarquee.html and reftests/bidi/logicalmarquee fail on OSX
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smontagu, Unassigned)
References
Details
Attachments
(3 files)
7.64 KB,
image/png
|
Details | |
7.63 KB,
image/png
|
Details | |
4.03 KB,
patch
|
Details | Diff | Splinter Review |
This looks like an anti-aliasing issue
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Simplified testcase: load into adjacent tabs Test data:text/html,<marquee scrollamount="0" behavior="alternate">X</marquee> Reference data:text/html,<div style="text-align:right">X</div> Then flip back and forth; the X can be seen to move by approximately (not exactly) one pixel, with the <marquee> version being slightly further from the right edge of the window. This also occurs on Windows7 when DirectWrite is enabled (see bug 578127), but does not occur using the GDI font path.
See Also: → 578127
Reporter | ||
Comment 3•14 years ago
|
||
Forcing text-align: left fixes this for me locally.
Comment 4•14 years ago
|
||
(In reply to comment #3) > Created attachment 457279 [details] [diff] [review] > Fix > > Forcing text-align: left fixes this for me locally. Yes, this also appears to fix the failure on windows with dwrite. However, it's not clear to me what these Hebrew marquee tests were specifically trying to address, and whether forcing left-alignment means we're no longer testing the same issues.
Reporter | ||
Comment 5•14 years ago
|
||
Thanks for the pointer, Jonathan. Similar issues seem to have come up in the past, e.g. in the reftests for bug 336736 and bug 404553. The work-arounds used there don't help here because the point of the test is to verify that reordering doesn't break on XBL bound anonymous content (cf. bug 558403 comment 17). I'll check in attachment 457279 [details] [diff] [review] if it passes on tryserver.
Reporter | ||
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/2c01b0ceb712
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•