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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-content-from-scrollable.html

Issue 1414193004: Once the flow thread needs layout, mark all column sets for layout as well. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-content-from-scrollable-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-content-from-scrollable.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-content-from-scrollable.html b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-content-from-scrollable.html
new file mode 100644
index 0000000000000000000000000000000000000000..15baeb91ed75d2908669b186e1e81e683416da12
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-content-from-scrollable.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../../../resources/check-layout.js"></script>
+<p>Test that overflow is recalculated when multicol contents changes.</p>
+<p>There should be no scrollbars on this page.</p>
+<div id="multicol" style="-webkit-columns:2; column-fill:auto; overflow:auto; width:100px; height:100px;" data-expected-scroll-width="100">
+ <div id="filler" style="height:300px;"></div>
+
+ <!-- Need something more in here, or the column set would get nuked along with #filler when
+ it's removed: -->
+ <div></div>
+</div>
+<script>
+ document.body.offsetTop;
+ document.getElementById("filler").style.display = "none";
+ checkLayout("#multicol");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/dynamic/remove-content-from-scrollable-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698