Chromium Code Reviews

Unified Diff: LayoutTests/fast/multicol/span/spanner-pseudo-after3.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-pseudo-after3.html
diff --git a/LayoutTests/fast/multicol/span/spanner-pseudo-after3.html b/LayoutTests/fast/multicol/span/spanner-pseudo-after3.html
new file mode 100644
index 0000000000000000000000000000000000000000..0b06a4b931170014996c038e25e35665cd98f2cb
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/spanner-pseudo-after3.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ document.body.offsetTop; // trigger layout
+ document.getElementById('elm').className = "x";
+ }
+</script>
+<style>
+ .x::after { display:block; -webkit-column-span:all; column-span:all; background:yellow; content:".........."; }
+</style>
+<p>There should be two rectangles with identical sizes below. The first one should be blue
+ with nothing inside. The second one should be yellow with some dots inside.</p>
+<div style="-webkit-columns:4; columns:4; orphans:1; widows:1; line-height:100px; background:blue;">
+ <span id="elm">&nbsp;</span>
+</div>

Powered by Google App Engine