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

Unified Diff: LayoutTests/fast/multicol/dynamic/float-becomes-spanner.html

Issue 1162253006: An object may become a column spanner or cease to be one even if column-span doesn't change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/dynamic/float-becomes-spanner.html
diff --git a/LayoutTests/fast/multicol/dynamic/float-becomes-spanner.html b/LayoutTests/fast/multicol/dynamic/float-becomes-spanner.html
new file mode 100644
index 0000000000000000000000000000000000000000..4ee1698d3d9917b3a8783e8639912a6751d6a1ec
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/float-becomes-spanner.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<p>Turn a float into a column spanner.</p>
+<p>Below there should be a blue <em>square</em>.</p>
+<div style="-webkit-columns:3; column-fill:auto; width:100px; height:100px;">
+ <div id="spanner" style="float:left; width:100%; height:100px; -webkit-column-span:all; background:blue;"></div>
+</div>
+<script>
+ document.body.offsetTop;
+ document.getElementById("spanner").style.cssFloat = "none";
+</script>

Powered by Google App Engine
This is Rietveld 408576698