[Webkit-unassigned] [Bug 124834] REGRESSION(r159575): fast/block/float/clear-negative-margin-top.html reftest is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 25 09:32:19 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=124834





--- Comment #3 from Zan Dobersek <zandobersek at gmail.com>  2013-11-25 09:30:47 PST ---
The test file draws the 'ggggggg' text over the #visible <div>.
The reference file produces a render tree in which the #visible <div> (which is now positioned relatively) is located in its own layer, and is drawn after the text, and is subsequently drawn over it.

The bottoms of the first five letters 'g' are therefor painted over when viewing the reference file.

This boils down to the text being rendered in boxes of which the height is 17px, while the font itself measures 18px in height. As a proof, adding 'margin-top: 1px' to the #visible rule simply pushes the colored <div> 1 pixel down, and the text is rendered correctly in both cases, with the <div> not being drawn over it when it is positioned relatively.

This problem is evident in basically all render tree baselines for tests that contain text -- the text is rendered 17px high, instead of 18px.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list