Bug 32050 - REGRESSION: Text background color overlaps text on previous line.
Summary: REGRESSION: Text background color overlaps text on previous line.
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2009-12-01 19:44 PST by Michael Thomas
Modified: 2010-09-24 11:15 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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 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.