Chromium Code Reviews| Index: LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html |
| diff --git a/LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html b/LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6b39f8e8d3bb66bf19f3e1766d113f60fff57a36 |
| --- /dev/null |
| +++ b/LayoutTests/fast/dynamic/transform-removed-from-absolute-with-fixed-children.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
| +<p>The word "PASS" should be seen in the bottom left corner of the viewport, and there should be no crash or assertion failure.</p> |
| +<div style="position:relative; background:lime;"> |
|
mstensho (USE GERRIT)
2015/06/16 14:22:36
No need for the background color.
kojii
2015/06/16 18:56:20
Done.
|
| + <div id="elm" style="transform:rotate(3deg); position:absolute;"> |
| + <div id="child" style="position:fixed; bottom:0;">PASS</div> |
| + </div> |
| +</div> |
| +<script> |
| + document.body.offsetTop; |
| + document.getElementById("elm").style.transform = "none"; |
| + document.body.offsetTop; |
| + document.getElementById("child").style.width = "50%"; |
| +</script> |