<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>32050</bug_id>
          
          <creation_ts>2009-12-01 19:44:11 -0800</creation_ts>
          <short_desc>REGRESSION: Text background color overlaps text on previous line.</short_desc>
          <delta_ts>2010-09-24 11:15:33 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Michael Thomas">michaelthomas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>jparent</cc>
    
    <cc>rniwa</cc>
    
    <cc>sullivan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>167846</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Thomas">michaelthomas</who>
    <bug_when>2009-12-01 19:44:11 -0800</bug_when>
    <thetext>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&lt;br&gt;&lt;span style=&quot;background: #f00&quot;&gt;&lt;font size=&quot;2&quot;&gt;g&lt;/font&gt;&lt;/span&gt;

3. Note that the background color of the lower g overlaps the first g.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167848</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Thomas">michaelthomas</who>
    <bug_when>2009-12-01 19:54:38 -0800</bug_when>
    <thetext>This reproduces in Chrome 4.0.249.12 but does not reproduce in Safari 4.0.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172039</commentid>
    <comment_count>2</comment_count>
    <who name="Julie Parent">jparent</who>
    <bug_when>2009-12-15 14:27:36 -0800</bug_when>
    <thetext>I&apos;m pretty sure this is a dupe of 32495, although the repro cases are slightly different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284555</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2010-09-24 11:15:33 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>