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

Side by Side Diff: LayoutTests/transforms/current-transformation-matrix-expected.html

Issue 1220793011: CSS Motion Path: Centre transform-origin on the path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: current-transformation-matrix Created 5 years, 5 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 div { 3 div {
4 width: 100px; 4 width: 100px;
5 height: 100px; 5 height: 100px;
6 position: absolute; 6 position: absolute;
7 transform-origin: 50% 50%; 7 transform-origin: 50% 50%;
8 } 8 }
9 9
10 #expected { 10 #expected {
11 background-color: green; 11 background-color: green;
12 transform: translate(200px, 10px) rotate(90deg) scale(1, 2) translate(10px, 20px) rotate(90deg) scale(1, 0.5); 12 transform: translate(200px, 10px) rotate(90deg) scale(1, 2) translate(-10px, -80px) scale(3, 4);
13 } 13 }
14 </style> 14 </style>
15
16 <p>There should be no red color boxes</p> 15 <p>There should be no red color boxes</p>
17 <div id="expected"></div> 16 <div id="expected"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698