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

Unified Diff: LayoutTests/fast/multicol/span/change-spanner-margins.html

Issue 855413002: [New Multicolumn] Support for block direction margins on spanners. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: code review - add descriptions to tests. 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/change-spanner-margins.html
diff --git a/LayoutTests/fast/multicol/span/change-spanner-margins.html b/LayoutTests/fast/multicol/span/change-spanner-margins.html
new file mode 100644
index 0000000000000000000000000000000000000000..5c18a0d63d5e4cfadaf11cde5a12057bfee49d9a
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/change-spanner-margins.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<p>Test that changing spanner margins dynamically works.</p>
+<p>Below there should be a blue square with a thick black border, and no visible FAIL.</p>
+<div style="-webkit-columns:3; width:20em; line-height:2em; background:black;">
+ FAIL<br>
+ <div id="target" style="-webkit-column-span:all; height:14em; margin:-3em 0; background:blue;"></div>
+ FAIL<br>
+</div>
+<script>
+ onload = function() {
+ var target = document.getElementById('target');
+ target.style.margin = '1em 15% 5% 3em';
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698