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

Unified Diff: LayoutTests/fast/multicol/newmulticol/clipping-overflow-hidden.html

Issue 22577002: Clip region based columns properly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master Created 7 years, 3 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/clipping-overflow-hidden.html
diff --git a/LayoutTests/fast/multicol/newmulticol/clipping-overflow-hidden.html b/LayoutTests/fast/multicol/newmulticol/clipping-overflow-hidden.html
new file mode 100644
index 0000000000000000000000000000000000000000..750d4ba22c055dbeae3bfb6f2cfec644fa2d7f8a
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/clipping-overflow-hidden.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Multicol edge clipping</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
+ <style>
+ .mc {
+ columns: 3;
+ column-gap: 15px;
+ column-fill: auto;
+ -webkit-columns: 3;
+ -webkit-column-gap: 15px;
+ -webkit-column-fill: auto;
+ width: 600px;
+ height: 100px;
+ margin: 100px;
+ overflow:hidden;
+ }
+ </style>
+ </head>
+ <body>
+ <p>There should be a 100x100 blue square below.</p>
+ <div class="mc">
+ <div style="width:150px; height:200px; margin-left:-50px; margin-top:-100px; background:blue;"></div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698