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

Unified Diff: third_party/WebKit/LayoutTests/transforms/computed-transform-style-forces-stacking-context.html

Issue 2532223003: Forces stacking context for computed value of transform-style:preserve-3d (Closed)
Patch Set: Created 4 years, 1 month 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
Index: third_party/WebKit/LayoutTests/transforms/computed-transform-style-forces-stacking-context.html
diff --git a/third_party/WebKit/LayoutTests/transforms/computed-transform-style-forces-stacking-context.html b/third_party/WebKit/LayoutTests/transforms/computed-transform-style-forces-stacking-context.html
new file mode 100644
index 0000000000000000000000000000000000000000..90c68e30d750243e80bd898e0daf13f2fdcd8b42
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/transforms/computed-transform-style-forces-stacking-context.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<div style="position:relative; transform-style:preserve-3d; overflow:hidden; width:100px; height:100px;">
chrishtr 2016/11/29 04:54:02 Please test this in ComputedStyleTest.cpp instead.
trchen 2016/11/30 01:26:23 Done.
+ <div style="position:absolute; left:0; top:0; width:100px; height:100px; background:red; z-index:1;"></div>
+</div>
+<div style="position:relative; margin-top:-100px; width:100px; height:100px; background:green;"></div>
+This test verifies computed value of transform-style:preserve-3d forces stacking context, despite the used value of it being transform-style:flat.

Powered by Google App Engine
This is Rietveld 408576698