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

Unified Diff: LayoutTests/fast/multicol/dynamic/insert-spanner-between-out-of-flow-crash.html

Issue 1163603002: Out-of-flow objects inside multicol may not establish column sets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
Index: LayoutTests/fast/multicol/dynamic/insert-spanner-between-out-of-flow-crash.html
diff --git a/LayoutTests/fast/multicol/dynamic/insert-spanner-between-out-of-flow-crash.html b/LayoutTests/fast/multicol/dynamic/insert-spanner-between-out-of-flow-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..03b4c5fca711e13bbd201fb0b86f08364d82a75e
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/insert-spanner-between-out-of-flow-crash.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+.spanner { -webkit-column-span:all; }
+.none { display:none; }
+</style>
+
+<p>Insert a spanner between two absolutely positioned elements.</p>
+<p>PASS if no crash.</p>
+<div style="-webkit-column-count:2;">
+ <div style="position:fixed;"></div>
+ <div id="becomesSpanner" class="none"></div>
+ <div style="position:fixed;"></div>
+</div>
+
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+onload = function() {
+ document.body.offsetTop;
+ document.getElementById("becomesSpanner").className = "spanner";
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698