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

Unified Diff: LayoutTests/fast/multicol/newmulticol/leading-and-trailing-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-and-trailing-margin.html
diff --git a/LayoutTests/fast/multicol/newmulticol/leading-and-trailing-margin.html b/LayoutTests/fast/multicol/newmulticol/leading-and-trailing-margin.html
new file mode 100644
index 0000000000000000000000000000000000000000..dc1a8e4da796bd8077393b3d846c1ac80a6f60ca
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/leading-and-trailing-margin.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Leading and trailing margin</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
+ </head>
+ <body>
+ <p>There should be no scrollbars.</p>
+ <div style="-webkit-columns:3; columns:3;">
+ <div style="margin-top:1em; margin-bottom:10em;">&nbsp;</div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698