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

Unified Diff: LayoutTests/fast/multicol/newmulticol/clipping.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
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/newmulticol/clipping-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/newmulticol/clipping.html
diff --git a/LayoutTests/fast/multicol/newmulticol/clipping.html b/LayoutTests/fast/multicol/newmulticol/clipping.html
new file mode 100644
index 0000000000000000000000000000000000000000..c162499849b93e8969750012739f66615c229af4
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/clipping.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Column clipping</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
+ <style>
+ body {
+ width: 450px;
+ color: black;
+ background: white;
+ }
+ #container { margin:0 60px; }
+ .mc {
+ columns: 3;
+ column-gap: 15px;
+ column-fill: auto;
+ -webkit-columns: 3;
+ -webkit-column-gap: 15px;
+ -webkit-column-fill: auto;
+ height: 100px;
+ background: red;
+ }
+ .hoverflow { margin:0 -60px; }
+ .rect {
+ box-sizing:border-box;
+ height:100px;
+ border:10px solid green;
+ background:white;
+ }
+ </style>
+ </head>
+ <body>
+ <p>There should be a rectangle with a solid 10px thick green border below, and no red.</p>
+ <div id="container">
+ <div class="mc">
+ <div class="hoverflow">
+ <div class="rect"></div>
+ </div>
+ <div class="hoverflow">
+ <div class="rect"></div>
+ </div>
+ <div class="hoverflow">
+ <div class="rect"></div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/newmulticol/clipping-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698