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

Unified Diff: LayoutTests/fast/multicol/newmulticol/leading-margin.html

Issue 209863003: [New Multicolumn] balancer confused by content with top margins. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test failures in debug mode. 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
Index: LayoutTests/fast/multicol/newmulticol/leading-margin.html
diff --git a/LayoutTests/fast/multicol/newmulticol/leading-margin.html b/LayoutTests/fast/multicol/newmulticol/leading-margin.html
new file mode 100644
index 0000000000000000000000000000000000000000..db87644e9618254917e5c7eceaa46ce7171c8bec
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/leading-margin.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Leading margins</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
+ <style>
+ .test { margin-top:100px; border:2px solid transparent; }
+ </style>
+ </head>
+ <body>
+ <p>There should be no scrollbars.</p>
+ <div style="-webkit-column-count:2; column-count:2;">
+ <div class="test"></div>
+ <div class="test"></div>
+ <div class="test"></div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698