Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: LayoutTests/svg/transforms/change-transform-origin-presentation-attribute.xhtml

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove duplicate transform Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 2
3 <!-- 3 <!--
4 Verify that changing the SVG transform-origin presentation attribute works corre ctly. 4 Verify that changing the SVG transform-origin presentation attribute works corre ctly.
5 5
6 The green 100x100 rectangle should appear at 25,25. 6 The green 100x100 rectangle should appear at 25,25.
7 --> 7 -->
8 8
9 <body> 9 <body>
10 <svg xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0px; l eft: 0px;"> 10 <svg xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0px; l eft: 0px;">
11 <rect id="rect" width="50px" height="50px" x="50" y="50" fill="green" tran sform-origin="0 0" style="-webkit-transform: scale(2, 2);"/> 11 <rect id="rect" width="50px" height="50px" x="50" y="50" fill="green" tran sform-origin="0 0" style="transform: scale(2, 2);"/>
12 </svg> 12 </svg>
13 13
14 <script><![CDATA[ 14 <script><![CDATA[
15 15
16 document.getElementById('rect').setAttribute("transform-origin", "50% 50%" ) 16 document.getElementById('rect').setAttribute("transform-origin", "50% 50%" )
17 17
18 ]]></script> 18 ]]></script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698