Index: LayoutTests/fast/multicol/newmulticol/clipping-top-overflow.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/clipping-top-overflow.html b/LayoutTests/fast/multicol/newmulticol/clipping-top-overflow.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..459c6d1f3435628f2464ffaae4bfaec61052cfb3 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/newmulticol/clipping-top-overflow.html |
@@ -0,0 +1,29 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Column and multicol content top overflow 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; |
+ } |
+ </style> |
+ </head> |
+ <body> |
+ <p>There should be a 100x100 blue square below.</p> |
+ <div class="mc"> |
+ <div style="width:100px; height:100px; margin-left:-50px; margin-top:-80px; background:blue;"></div> |
+ </div> |
+ </body> |
+</html> |