Closed
Bug 539925
Opened 16 years ago
Closed 16 years ago
fix a few reftest fragility issues
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jfkthame, Assigned: jfkthame)
Details
Attachments
(1 file)
|
8.01 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
I've been seeing some reftests consistently fail locally on OS X, even though they're passing on Tinderbox. This is caused by subpixel antialiasing and painting issues; I found that if I disable the "Use LCD font smoothing" option in System Preferences / Appearance, the failures go away. But it would be good to make the tests less sensitive to such settings, which are not relevant to the specific issues being tested.
(1) with-first-letter-2 can fail because an antialiased pixel from one of the Hebrew glyphs overlaps the adjacent text run. To avoid this, I've changed the Hebrew letters used so as to avoid the Gimel glyph with its tip that extends very close to the nominal edge of the bounding box.
(2) bugs/296361-1 fails because of antialiasing from the serifs of the first letter projecting to the left of the text origin. To avoid this, I've specified the use of sans-serif. (Also removed CRLF line endings from the test files.)
(3) the text/line-editing-* tests fail similarly because of an antialiasing pixel that doesn't get refreshed properly when the text changes; solved by adding a couple of pixels of padding.
Cases (2) and (3) should be resolved properly when we handle ink overflow properly, and fix bugs 475968 and 476927.
| Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → jfkthame
Attachment #421816 -
Flags: review?(roc)
Attachment #421816 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 2•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•