Closed Bug 578127 Opened 10 years ago Closed 10 years ago

REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/mozilla-central-win7-opt-u-reftest-d2d/build/reftest/tests/layout/reftests/bidi/visualmarquee.html logicalmarquee.html

Categories

(Core :: General, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: armenzg, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file log
After enabling reftests for Direct 2D we are hitting this failure in this test suite.

http://hg.mozilla.org/mozilla-central/rev/f32afa31a2e1
This looks like a kerning issue.
This does not actually have anything to do with bidi text, or with the Hebrew font used in that reftest. Here is a simplified testcase: loading the following examples into separate tabs and switching back and forth between them, the text can be seen to shift slightly:

data:text/html,<html><body><div style="text-align:right">Hello</div></body></html>

data:text/html,<html><body><marquee scrollamount="0" behavior="alternate">Hello</marquee></body></html>
This issue also occurs on OS X (bug 561637).

On Windows, it occurs with the DirectWrite font backend using either DW or Harfbuzz shaping; it does not occur using the GDI backend.
See Also: → 561637
This should be fixed as a result of smontagu's reftest patch in bug 561637.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.