[Webkit-unassigned] [Bug 115258] New: text-overflow::clip and ::ellipsis render differently, when floating inline element is present.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 26 07:11:42 PDT 2013


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

           Summary: text-overflow::clip and ::ellipsis render differently,
                    when floating inline element is present.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zalan at apple.com
                CC: simon.fraser at apple.com


<html>
<head>
<style>
  div {
    overflow: hidden;
    white-space: nowrap;
  }

  input {
    float: right;
  }
</style>
</head>
<body>
<div>
<input type="text">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis</div>
</body>
</html>

<div> with 'text-overflow: ellipsis;' renders the ellipsis to the left edge of the floating inline element, while with 'text-overflow:: clip' the text is clipped at the right edge of the containing block, overdrawing the input.

'text-overflow: clip' should respect the floating element.

-- 
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