[Webkit-unassigned] [Bug 171027] New: Root SVG in CSS should transform around 50% 50%
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 19 18:28:33 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=171027
Bug ID: 171027
Summary: Root SVG in CSS should transform around 50% 50%
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dino at apple.com
CC: zimmermann at kde.org
data:image/svg+xml,<svg%20xmlns="http://www.w3.org/2000/svg"%20width="200"%20height="200"%20style="border:%205px%20solid%20red"><rect%20x="50"%20y="50"%20width="100"%20height="100"/></svg>
shows that the root SVG can be treated as a CSS box
however, if you put a transform on:
data:image/svg+xml,<svg%20xmlns="http://www.w3.org/2000/svg"%20width="200"%20height="200"%20style="transform:rotate(45deg);%20border:%205px%20solid%20red"><rect%20x="50"%20y="50"%20width="100"%20height="100"/></svg>
You'll see it is being rotated with the SVG value of transform origin.
The same occurs for embedded SVGs. Other browsers do this with a 50% 50% transform origin.
--
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/20170420/afa0a25c/attachment.html>
More information about the webkit-unassigned
mailing list