[Webkit-unassigned] [Bug 137788] New: [CSS Shapes] shape image size not calculated correctly when the element size is different than the image size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 16 14:22:54 PDT 2014


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

            Bug ID: 137788
           Summary: [CSS Shapes] shape image size not calculated correctly
                    when the element size is different than the image size
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rhauck at adobe.com

The two attached tests have each have a shape image defined on an img element where the width and height of the element are different than the actual width and height of the image. One of them has the element larger (2x) then the image, the other is smaller (1/2). In each case, it appears as though the shape image is being calculated incorrectly. In WebKit, both cases seem to make the image 1 pixel wider than it should be, which causes the text to wrap below the element rather than to the right of it. If I increase the size of the containing element by 1px, the text wraps correctly. In Blink, it's more off in the case where the element is larger than the image - there, it appears to be 5px wider than it should be as I have to increase the containing element's width by 5px to see the text wrap correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141016/be69e663/attachment-0002.html>


More information about the webkit-unassigned mailing list