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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/transforms/translate-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/transforms/translate.html
diff --git a/third_party/WebKit/LayoutTests/transforms/translate.html b/third_party/WebKit/LayoutTests/transforms/translate.html
index 8ba9c745e49fd728e75730dce3bdee8e761df609..09a7b398095aa49565ec880f4feccdd352f22db1 100644
--- a/third_party/WebKit/LayoutTests/transforms/translate.html
+++ b/third_party/WebKit/LayoutTests/transforms/translate.html
@@ -7,7 +7,7 @@ div {
}
.container {
translate: 100px 100px;
- background-color: red;
+ transform-style: preserve-3d;
perspective-origin: 150% 150%;
perspective: 500px;
}
@@ -18,12 +18,17 @@ div {
translate: 100% -200% -500px;
}
#box3 {
+ translate: 0px 0px 10em;
+}
+#box4 {
translate: 300px;
}
</style>
<div class="container">
+ container
<div id="box1">1</div>
<div id="box2">2</div>
+ <div id="box3">3</div>
</div>
-<div id="box3">3</div>
+<div id="box4">4</div>
« 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