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

Unified Diff: LayoutTests/fast/multicol/change-height.html

Issue 225463002: [New Multicolumn] Lay out flow thread again when multicol container height changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/change-height-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/change-height.html
diff --git a/LayoutTests/fast/multicol/change-height.html b/LayoutTests/fast/multicol/change-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..e20c920b2bce4423db4c3d074c6cc43abe0fdcc3
--- /dev/null
+++ b/LayoutTests/fast/multicol/change-height.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ function test() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.height = '14em';
+ }
+ </script>
+ </head>
+ <body onload="test()">
+ <p>Below there should be <em>one</em> column with 7 lines.</p>
+ <div id="elm" style="-webkit-columns:3; columns:3; column-fill:auto; orphans:1; widows:1; height:4em; line-height:2em;">
+ line<br>
+ line<br>
+ line<br>
+ line<br>
+ line<br>
+ line<br>
+ line<br>
+ </div>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/change-height-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698