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

Side by Side Diff: third_party/WebKit/LayoutTests/transforms/translate.html

Issue 1640293004: Support arbitrary length units for the z component of CSS property "translate" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review change Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/transforms/translate-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 background-color: blue; 6 background-color: blue;
7 } 7 }
8 .container { 8 .container {
9 translate: 100px 100px; 9 translate: 100px 100px;
10 background-color: red; 10 transform-style: preserve-3d;
11 perspective-origin: 150% 150%; 11 perspective-origin: 150% 150%;
12 perspective: 500px; 12 perspective: 500px;
13 } 13 }
14 #box1 { 14 #box1 {
15 translate: inherit; 15 translate: inherit;
16 } 16 }
17 #box2 { 17 #box2 {
18 translate: 100% -200% -500px; 18 translate: 100% -200% -500px;
19 } 19 }
20 #box3 { 20 #box3 {
21 translate: 0px 0px 10em;
22 }
23 #box4 {
21 translate: 300px; 24 translate: 300px;
22 } 25 }
23 </style> 26 </style>
24 27
25 <div class="container"> 28 <div class="container">
29 container
26 <div id="box1">1</div> 30 <div id="box1">1</div>
27 <div id="box2">2</div> 31 <div id="box2">2</div>
32 <div id="box3">3</div>
28 </div> 33 </div>
29 <div id="box3">3</div> 34 <div id="box4">4</div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/transforms/translate-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698