Index: LayoutTests/fast/multicol/dynamic/relayout-spanner-parent-inside-overflow-hidden.html |
diff --git a/LayoutTests/fast/multicol/dynamic/relayout-spanner-parent-inside-overflow-hidden.html b/LayoutTests/fast/multicol/dynamic/relayout-spanner-parent-inside-overflow-hidden.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..55ec07a1dfe8b20ceadfe9adbd5dd87d1c72c4b7 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/relayout-spanner-parent-inside-overflow-hidden.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<p>Change the width of the parent of a spanner when inside a fixed-size clipped block. The spanner |
+ should not be affected by this, since the parent isn't the containing block. This also tests |
+ that we don't perform any optimized subtree layout operations incompatible with multicol (which |
+ would typically cause assertion failures).</p> |
+<p>You should see the word "PASS" below, with large letter spacing.</p> |
+<div style="-webkit-columns:2; line-height:2em;"> |
+ <div style="width:5em; height:2em; overflow:hidden;"> |
+ <div id="container"> |
+ <div style="-webkit-column-span:all;">P A S S</div> |
+ </div> |
+ </div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById("container").style.width = "0"; |
+</script> |