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

Unified Diff: third_party/WebKit/LayoutTests/transforms/independent-transform-initial-value.html

Issue 2454543002: Correct the initial value of CSS independent transform properties (Closed)
Patch Set: git cl format Created 4 years, 2 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/independent-transform-initial-value-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/independent-transform-initial-value.html
diff --git a/third_party/WebKit/LayoutTests/transforms/independent-transform-initial-value.html b/third_party/WebKit/LayoutTests/transforms/independent-transform-initial-value.html
new file mode 100644
index 0000000000000000000000000000000000000000..7d14e317d698b3f674e9098841875f6991385cec
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/transforms/independent-transform-initial-value.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<div style="position:relative; width:100px; height:100px; background:green;"></div>
+<div style="translate:initial; margin-top:-100px; width:100px; height:100px; background:red;"></div>
+
+<div style="position:relative; width:100px; height:100px; background:green;"></div>
+<div style="scale:initial; margin-top:-100px; width:100px; height:100px; background:red;"></div>
+
+<div style="position:relative; width:100px; height:100px; background:green;"></div>
+<div style="rotate:initial; margin-top:-100px; width:100px; height:100px; background:red;"></div>
+This test verifies resetting CSS translate to initial value doesn't result in a stacking context.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/transforms/independent-transform-initial-value-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698