Chromium Code Reviews| 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. |