Support transform-box to switch sizing box in SVG
[WebKit-https.git] / LayoutTests / svg / transforms / change-transform-origin-presentation-attribute.xhtml
index c03ee2b..5ce8f70 100644 (file)
@@ -8,7 +8,7 @@ The green 100x100 rectangle should appear at 25,25.
 
 <body>
   <svg xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0px; left: 0px;">
-      <rect id="rect" width="50px" height="50px" x="50" y="50" fill="green" transform-origin="0 0" style="-webkit-transform: scale(2, 2);"/>
+      <rect id="rect" width="50px" height="50px" x="50" y="50" fill="green" transform-origin="0 0" style="transform: scale(2, 2); transform-box: fill-box;"/>
   </svg>
 
   <script><![CDATA[