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..f659c8d53b863be0c4eccb45d4c49ac54ac6e6fa |
--- /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;"> |
+ <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> |