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

Unified Diff: LayoutTests/fast/multicol/span/block-becomes-spanner.html

Issue 584033002: [New Multicolumn] Add support for column-span:all (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix ref in test. Tables don't do subpixel, and that made a difference on Windows and Mac. Created 6 years, 2 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/block-becomes-spanner.html
diff --git a/LayoutTests/fast/multicol/span/block-becomes-spanner.html b/LayoutTests/fast/multicol/span/block-becomes-spanner.html
new file mode 100644
index 0000000000000000000000000000000000000000..4512f8bca0694d034d1873593de15bc8e725aaac
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/block-becomes-spanner.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ document.body.offsetTop; // trigger layout
+ elm.style.webkitColumnSpan = 'all';
+ elm.style.columnSpan = 'all';
+ }
+</script>
+<p>Below there should be a blue box, then a yellow box, then a blue box again.</p>
+<div style="-webkit-columns:2; columns:2; -webkit-column-gap:0; column-gap:0; orphans:1; widows:1; line-height:2em; background:blue;">
+ <div id="elm" style="margin:4em 0; background:yellow;"><br><br></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698