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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/css/transform-origin-zoom.svg

Issue 2786643003: Implement support for the 'transform-box' property (Closed)
Patch Set: Rebase; fix property spec; update histogram.xml Created 3 years, 8 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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" style="zoom: 2"> 2 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" style="zoom: 2">
3 <!-- Test for http://crbug.com/375664 --> 3 <!-- Test for http://crbug.com/375664 -->
4 4
5 <rect x="101" y="101" width="98" height="98" fill="red" transform="rotate(45, 150, 150)"/> 5 <rect x="101" y="101" width="98" height="98" fill="red" transform="rotate(45, 150, 150)"/>
6 <rect x="100" y="100" width="100" height="100" fill="green" style=" 6 <rect x="100" y="100" width="100" height="100" fill="green" style="
7 transform-origin: 150px 150px; 7 transform-origin: 150px 150px;
8 transform: rotate(45deg); 8 transform: rotate(45deg);
9 "/> 9 "/>
10 10
11 <rect x="301" y="101" width="98" height="98" fill="red" transform="rotate(45, 350, 150)"/> 11 <rect x="301" y="101" width="98" height="98" fill="red" transform="rotate(45, 350, 150)"/>
12 <rect x="300" y="100" width="100" height="100" fill="green" style=" 12 <rect x="300" y="100" width="100" height="100" fill="green" style="
13 transform-box: fill-box;
13 transform-origin: 50% 50%; 14 transform-origin: 50% 50%;
14 transform: rotate(45deg); 15 transform: rotate(45deg);
15 "/> 16 "/>
16 </svg> 17 </svg>
17 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698