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

Unified Diff: LayoutTests/fast/multicol/span/margin-on-multicol.html

Issue 864333002: Rewrote fast/multicol/span/anonymous-style-inheritance.html to a check-layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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/span/margin-on-multicol.html
diff --git a/LayoutTests/fast/multicol/span/margin-on-multicol.html b/LayoutTests/fast/multicol/span/margin-on-multicol.html
new file mode 100644
index 0000000000000000000000000000000000000000..c0bed46eaae7beca028830935bd79e3c9c437e5d
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/margin-on-multicol.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script src="../../../resources/check-layout.js"></script>
+<script>
+ onload = function() { checkLayout('#container'); }
+</script>
+<p>Test that margins on a multicol container don't collapse with spanners' margins.</p>
+<p>There should be a blue <em>square</em> below.</p>
+<div id="container" style="overflow:hidden; width:100px; background:blue;" data-expected-height="100">
+ <div style="-webkit-columns:3; margin:20px 0;">
+ <div style="-webkit-column-span:all; margin:20px 0; height:20px;"></div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698