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

Unified Diff: third_party/WebKit/LayoutTests/transforms/perspective-fixed-pos-descendant.html

Issue 2846313002: [blink] Perspective layer should be considered fixed-pos container layer (Closed)
Patch Set: Created 3 years, 8 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/perspective-fixed-pos-descendant-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/perspective-fixed-pos-descendant.html
diff --git a/third_party/WebKit/LayoutTests/transforms/perspective-fixed-pos-descendant.html b/third_party/WebKit/LayoutTests/transforms/perspective-fixed-pos-descendant.html
new file mode 100644
index 0000000000000000000000000000000000000000..3a087c0923506c3424153ded8896234692e93448
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/transforms/perspective-fixed-pos-descendant.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div style="width:100px; height:100px; perspective:100px; background:red;">
+ <div style="position:fixed; left:25px; top:25px; width:50px; height:50px; transform:translateZ(50px); background:green;"></div>
+</div>
+This test verifies CSS perspective correctly applies to fixed-position descendants. The test passes if a 100x100 green box completely occludes the red box behind.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/transforms/perspective-fixed-pos-descendant-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698