Index: LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before.html |
diff --git a/LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before.html b/LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..31ded12475435267abf6153c7b378c8f62923c1c |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script> |
+ onload = function() { |
+ document.body.offsetTop; // trigger layout |
+ document.getElementById('elm').className = "x"; |
+ } |
+</script> |
+<style> |
+ .x::before { display:block; -webkit-column-span:all; background:yellow; content:".........."; } |
+</style> |
+<p>Test adding a ::before pseudo element.</p> |
+<p>There should be two rectangles with identical sizes below. The first one should be yellow |
+ with some dots inside. The second one should be blue with nothing inside.</p> |
+<div style="-webkit-columns:4; line-height:100px; background:blue;"> |
+ <span id="elm"> </span> |
+</div> |