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

Side by Side Diff: LayoutTests/transforms/combine-transforms-properties-motion-path.html

Issue 1158603003: CSS Independent Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add combined tests with motion-path and transform Created 5 years, 6 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 div {
6 width: 100px;
7 height: 100px;
8 position: absolute;
9 transform-origin: 50% 50%;
10 }
11
12 <!-- Note the order of the scaling operation affects the path coordinates -->
13 #target {
14 background-color: red;
15 translate: 200px 10px;
16 rotate: 90deg;
17 scale: 1 2;
18 motion: path("m 0 0 v -20 h 20") 0rad 100%;
19 }
20 #actual {
21 background-color: green;
22 transform: translate(240px, 30px) rotate(90deg) scale(1, 2);
23 }
24 </style>
25 </head>
26
27 <body>
28 <p>There should be no red color boxes</p>
29 <div id="target"></div>
30 <div id="actual"></div>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698