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

Unified Diff: LayoutTests/fast/multicol/inline-children-crash.html

Issue 236913002: [New Multicolumn] Destroy line box tree when evacuating the flowthread for multicol. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review Created 6 years, 8 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/inline-children-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/inline-children-crash.html
diff --git a/LayoutTests/fast/multicol/inline-children-crash.html b/LayoutTests/fast/multicol/inline-children-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..22ea5d80449436942d21a72fee698e43646e4dcd
--- /dev/null
+++ b/LayoutTests/fast/multicol/inline-children-crash.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ onload = function() {
+ document.getElementById('mc').offsetTop; // trigger layout
+ document.getElementById('mc').style.webkitColumns = 'auto';
+ document.getElementById('mc').style.columns = 'auto';
+ document.getElementById('inline').style.color = 'green';
+ }
+</script>
+<p>This test should not crash.</p>
+<div id="mc" style="-webkit-columns:3; columns:3;">
+ <span id="inline">PASS</span>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/inline-children-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698