Bug 32050

Summary: REGRESSION: Text background color overlaps text on previous line.
Product: WebKit Reporter: Michael Thomas <michaelthomas>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: eric, jparent, rniwa, sullivan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Michael Thomas 2009-12-01 19:44:11 PST
Given two lines of text, one above the other. If a smaller font size and non-transparent background-color is applied to the second line, the second line will overlap the first by some small amount. Note that the first line needs to contain a letter that extends below the bottom of the line (i.e. y, g, j, etc).

To reproduce:
1. Go to the midas demo: http://www.mozilla.org/editor/midasdemo/
2. Enter the following HTML:

g<br><span style="background: #f00"><font size="2">g</font></span>

3. Note that the background color of the lower g overlaps the first g.
Comment 1 Michael Thomas 2009-12-01 19:54:38 PST
This reproduces in Chrome 4.0.249.12 but does not reproduce in Safari 4.0.3.
Comment 2 Julie Parent 2009-12-15 14:27:36 PST
I'm pretty sure this is a dupe of 32495, although the repro cases are slightly different.
Comment 3 Ryosuke Niwa 2010-09-24 11:15:33 PDT
It seems like this bug has been resolved.  As Julie suggests, this might have been an duplicate of the bug 32495, which has been resolved since http://trac.webkit.org/changeset/53200.