Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: LayoutTests/fast/multicol/dynamic/add-spanner-inside-overflow-hidden.html

Issue 1271513004: Disallow relayout roots inside multicol. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Code review - more tests - put everything in fast/multicol/dynamic/ Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/dynamic/add-spanner-inside-overflow-hidden-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/dynamic/add-spanner-inside-overflow-hidden.html
diff --git a/LayoutTests/fast/multicol/dynamic/add-spanner-inside-overflow-hidden.html b/LayoutTests/fast/multicol/dynamic/add-spanner-inside-overflow-hidden.html
new file mode 100644
index 0000000000000000000000000000000000000000..b4ec2ae09970e37157dcbf1808fe9b75983a7c3b
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/add-spanner-inside-overflow-hidden.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<p>Add a spanner inside a fixed-size clipped block inside a multicol container. It should not be
+ affected by the clipping, since the containing block of a spanner is the multicol
+ container. 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, and nothing else (no red, no "FAIL").</p>
+<div style="-webkit-columns:2; width:20em; height:10em; line-height:2em; overflow:hidden;">
+ <div style="width:5em; height:2em; overflow:hidden;">
+ &nbsp;
+ <div id="spanner" style="-webkit-column-span:all; display:none;">PASS</div>
+ <span style="background:red;">FAIL</span>
+ </div>
+</div>
+<script>
+ document.body.offsetTop;
+ document.getElementById("spanner").style.display = "block";
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/dynamic/add-spanner-inside-overflow-hidden-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698