[Webkit-unassigned] [Bug 174285] New: SVG element's transform and transform-origin computed values are incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 7 18:44:19 PDT 2017


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

            Bug ID: 174285
           Summary: SVG element's transform and transform-origin computed
                    values are incorrect
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dvoytenko at google.com

An SVG element styled with `transform` and `transform-origin` renders correctly, but returns wrong computed values.

See http://jsbin.com/yuhoxum/edit?html,js,output

It styles an SVG rect shape with `transform-origin: 50% 50%; transform: scale(0.5)`. The rendering appears to be fully correct. However, reading styles and computed values yields:

computed transform: none
computed origin: 0px 0px
style transform: scale(0.5)
style origin: 50% 50%

Styles are correct, but computed value for origin = `0px 0px` and transform = `none` are both wrong.

-- 
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/20170708/48623d88/attachment-0001.html>


More information about the webkit-unassigned mailing list