<?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>113229</bug_id>
          
          <creation_ts>2013-03-25 12:05:26 -0700</creation_ts>
          <short_desc>text-overflow - Placement of ellipsis affected by floating content</short_desc>
          <delta_ts>2013-05-19 10:18:56 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>115746</dup_id>
          
          <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="Daniel Trebbien">dtrebbien</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dtrebbien</cc>
    
    <cc>robert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>862958</commentid>
    <comment_count>0</comment_count>
      <attachid>194899</attachid>
    <who name="Daniel Trebbien">dtrebbien</who>
    <bug_when>2013-03-25 12:05:26 -0700</bug_when>
    <thetext>Created attachment 194899
Test case

Please see the attached test case.  In WebKit r146759 (built on 25 March 2013) and Safari 6.0.3, the ellipsis is placed before the start of the light blue box having float:right, but the light blue box should overlap the ellipsis.

Firefox 19.0.2 and Opera 12.14 place the light blue box on top of the &quot;|||||...&quot; text that is cut off by an ellipsis.  WebKit reverts to this behavior, too, if text-overflow:ellipsis is removed.

I think that Firefox&apos; and Opera&apos;s behavior is correct because &quot;[The text-overflow property] specifies rendering when inline content overflows its block container element (&quot;the block&quot;) in its inline progression direction that has ‘overflow’ other than ‘visible’&quot; (CSS3 UI) and because the applicable block in this case is the outer div, the placement of the ellipsis which cuts off the &quot;|||||...&quot; text should not be affected by the floating light blue div.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891040</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-05-19 10:18:56 -0700</bug_when>
    <thetext>Although this is an earlier bug report I have a fix available at bug 115746.

*** This bug has been marked as a duplicate of bug 115746 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>194899</attachid>
            <date>2013-03-25 12:05:26 -0700</date>
            <delta_ts>2013-03-25 12:05:26 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>Test case.html</filename>
            <type>text/html</type>
            <size>279</size>
            <attacher name="Daniel Trebbien">dtrebbien</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8Ym9keT4KCjxkaXYgc3R5bGU9IndpZHRoOjEwMHB4OyBv
dmVyZmxvdzogaGlkZGVuOyB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpczsgd2hpdGUtc3BhY2U6IG5v
d3JhcCI+CjxkaXYgc3R5bGU9ImZsb2F0OiByaWdodDsgYmFja2dyb3VuZC1jb2xvcjogbGlnaHRi
bHVlOyI+LS0tLS0tPC9kaXY+Cnx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8
fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHwKPC9kaXY+Cgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>