Index: LayoutTests/fast/multicol/span/spanner-pseudo-before-after4.html |
diff --git a/LayoutTests/fast/multicol/span/spanner-pseudo-before-after4.html b/LayoutTests/fast/multicol/span/spanner-pseudo-before-after4.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3337661a594c517fb76118558097fde762cc8071 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/span/spanner-pseudo-before-after4.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<script> |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ onload = function() { |
+ document.body.offsetTop; // trigger layout |
+ document.getElementById('elm').className = "x"; |
+ } |
+</script> |
+<style> |
+ .x::before, .x::after { display:block; -webkit-column-span:all; column-span:all; background:yellow; content:".........."; } |
+</style> |
+<p>There should be five rectangles with identical sizes below. The first, third and fifth |
+ one should be blue with nothing inside. The second and fourth 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"> </span> |
+ |
+</div> |