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

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

Issue 792803002: [New Multicolumn] Layout support for column-span:all. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@347325-placeholder
Patch Set: Code review. If there are no sets, return early. 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/multicol-with-spanner-becomes-regular-block.html
diff --git a/LayoutTests/fast/multicol/span/multicol-with-spanner-becomes-regular-block.html b/LayoutTests/fast/multicol/span/multicol-with-spanner-becomes-regular-block.html
new file mode 100644
index 0000000000000000000000000000000000000000..b84946a8815107a2f04cd96e5369a89c2c92c113
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/multicol-with-spanner-becomes-regular-block.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.WebkitColumns = 'auto';
+ elm.style.columns = 'auto';
+ }
+</script>
+<p>There should be a blue <em>square</em> below.</p>
+<div id="elm" style="-webkit-columns:4; orphans:1; widows:1; width:17em; line-height:4em;">
+ <div style="margin-top:100px; margin-left:1em;">
+ <div style="-webkit-column-span:all; background:blue;">&nbsp;</div>
+ </div>
+ <div style="margin-left:1em; background:blue;">
+ <br>
+ <br>
+ <br>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698