Chromium Code Reviews

Unified Diff: LayoutTests/fast/multicol/span/spanner-nested-dynamic.html

Issue 296413007: [New Multicolumn] Add support for column-span:all (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@359976
Patch Set: code review Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/fast/multicol/span/spanner-nested-dynamic.html
diff --git a/LayoutTests/fast/multicol/span/spanner-nested-dynamic.html b/LayoutTests/fast/multicol/span/spanner-nested-dynamic.html
new file mode 100644
index 0000000000000000000000000000000000000000..44e261623f6506a8d8b154812ef4c7ea1e3c0689
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/spanner-nested-dynamic.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.WebkitColumns = '6';
+ elm.style.columns = '6';
+ }
+</script>
+<p>There should be nothing below.</p>
+<div id="elm" style="-webkit-column-gap:0; column-gap:0; width:4em; overflow:hidden;">
+ <div style="-webkit-column-span:all; column-span:all; padding-left:4em;">
+ <div style="-webkit-column-span:all; column-span:all;">
+ FAIL
+ </div>
+ </div>
+</div>

Powered by Google App Engine