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