[Webkit-unassigned] [Bug 172901] New: Percentages are calculated wrong in SVG transform CSS property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 4 00:47:12 PDT 2017


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

            Bug ID: 172901
           Summary: Percentages are calculated wrong in SVG transform CSS
                    property
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kari.pihkala at gmail.com
                CC: zimmermann at kde.org

Created attachment 311955

  --> https://bugs.webkit.org/attachment.cgi?id=311955&action=review

CSS Transform Test Case

The transform CSS property calculates percentages wrong in SVG. They should be relative to the parent viewport, but they seem to be relative to the element’s size. This can be seen by changing the blue rectangle’s width in the test case.

In the test case, the blue rectangles should be close to the middle line. The blue one on the right side of the line, the aqua colored at the center. The rectangles should follow the line if the browser window is resized.

Firefox can display the test case 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/20170604/2e861641/attachment.html>


More information about the webkit-unassigned mailing list