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

Unified Diff: LayoutTests/fast/multicol/static-child-becomes-fixedpos.html

Issue 1148173003: Changing out-of-flow-ness on a multicol child may affect the need for column sets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/static-child-becomes-fixedpos.html
diff --git a/LayoutTests/fast/multicol/static-child-becomes-fixedpos.html b/LayoutTests/fast/multicol/static-child-becomes-fixedpos.html
new file mode 100644
index 0000000000000000000000000000000000000000..a19b49681b4797cb9196bf31c2584d7fba266d77
--- /dev/null
+++ b/LayoutTests/fast/multicol/static-child-becomes-fixedpos.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<p>Change a static positioned child of an otherwise empty multicol container to fixed positioned.</p>
+<p>There should be a blue <em>square</em> below.</p>
+<div style="-webkit-columns:2; width:100px; background:blue;">
+ <div style="-webkit-column-span:all; margin-bottom:100px;"></div>
+ <div id="elm">
+ <br>
+ </div>
+ <div style="-webkit-column-span:all; margin-top:100px;"></div>
+</div>
+<script>
+ document.body.offsetTop;
+ document.getElementById("elm").style.position = "absolute";
+</script>

Powered by Google App Engine
This is Rietveld 408576698