Support transform-box to switch sizing box in SVG
[WebKit-https.git] / LayoutTests / transforms / svg-vs-css.xhtml
index 69f01c9..573159e 100644 (file)
@@ -97,9 +97,9 @@
     <div class="container">
       <svg xmlns="http://www.w3.org/2000/svg" version="1.1"  
           viewBox="0 0 200 200" style="width:200px; height:200px;">
-          <g id="group1" x="0" y="0" width="60" height="60" transform="translate(75, 25)">
+          <g id="group1" transform="translate(75, 25)">
             <rect x="0" y="0" width="60" height="60" stroke="black" stroke-width="1px" stroke-dasharray="1 1" fill="none" />
-            <g id="group2" x="0" y="0" width="60" height="60" transform="scale(2)" >
+            <g id="group2" transform="scale(2)">
               <rect x="0" y="0" width="60" height="60" stroke="black" stroke-dasharray="1 1" stroke-width="1px" fill="none" />
               <rect id="group3" x="0" y="0" width="60" height="60" stroke="blue" fill="none" transform="rotate(45)" />
             </g>