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

Unified Diff: LayoutTests/fast/multicol/remove-all-children.html

Issue 776653003: Don't delete a flow thread just because it becomes childless. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review. Created 6 years 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/remove-all-children-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/remove-all-children.html
diff --git a/LayoutTests/fast/multicol/remove-all-children.html b/LayoutTests/fast/multicol/remove-all-children.html
new file mode 100644
index 0000000000000000000000000000000000000000..1a61e229136489a433d54331a10adbd8cda46917
--- /dev/null
+++ b/LayoutTests/fast/multicol/remove-all-children.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ onload = function() {
+ document.body.offsetTop;
+ document.getElementById('child').style.display = 'none';
+ document.getElementById('mc').style.width = '90%';
+ }
+</script>
+<p>Make a multicol container childless. Then change its width to trigger layout of all children. PASS if no crash.</p>
+<div id="mc" style="-webkit-columns:3;">
+ <div id="child">Test failed!</div>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/remove-all-children-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698