Closed Bug 466484 Opened 16 years ago Closed 16 years ago

layout/reftests/text/444656.html fails on some machines

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1b3

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

Attachments

(2 files)

layout/reftests/text/444656.html fails on the new 1.9.1 Mac build machine that was set up (see also bug 420911 comment4, bug 420913 comment 8).

This one, however, is a bug in the test, and easy to fix.  It assumes that 55ch is enough width to hold the Hebrew alphabet twice, but not three times.  However, the assumes certain ratios between the size of the characters in the Western font (from which the 'ch' unit is going to be derived, by default) and the size of the characters in the Hebrew font.  On this machine, it seems the Hebrew font is significantly smaller.

This can be fixed by inserting a string of characters of appropriate length and using width: -moz-min-content on the test, while just sticking in that string of characters with a break in the reference.
Attached patch patchSplinter Review
Attachment #349758 - Flags: review?(smontagu)
Attachment #349758 - Flags: review?(smontagu) → review+
Landed on mozilla-central (and thus also on mozilla-1.9.1):
http://hg.mozilla.org/mozilla-central/rev/81cfdc324ffb
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1
Target Milestone: mozilla1.9.1 → mozilla1.9.1b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: