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

Unified Diff: LayoutTests/fast/multicol/span/relpos-spanner-with-abspos-child.html

Issue 840953006: Add some more tests for column-span:all. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: code review 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/relpos-spanner-with-abspos-child.html
diff --git a/LayoutTests/fast/multicol/span/relpos-spanner-with-abspos-child.html b/LayoutTests/fast/multicol/span/relpos-spanner-with-abspos-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..8cf22e2b2eaab9b9055e619410f0318da1224583
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/relpos-spanner-with-abspos-child.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<p>Test that a relatively positioned spanner acts as a containing block for absolutely positioned
+ descendants.</p>
+<p>Below you should see the word 'PASS' (with large letter spacing). Below the word there should be
+ a green square with a black border.</p>
+<div style="-webkit-columns:1em; -webkit-column-gap:1em; width:13em;">
+ P<br>A<br>S<br>S
+ <div style="-webkit-column-span:all; position:relative; border:1px solid black; padding:10px; width:100px; height:100px; background:red;">
+ <div style="position:absolute; bottom:0; right:0; width:100%; height:100%; background:green;"></div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698