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

Unified Diff: LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before-following-content.html

Issue 869583002: [New Multicolumn] Support dynamic insertion and removal of multicol content. (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/dynamic/insert-spanner-pseudo-before-following-content.html
diff --git a/LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before-following-content.html b/LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before-following-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..fb37c4057899ee518e7656e339a038f1596c3524
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-before-following-content.html
@@ -0,0 +1,18 @@
+<!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. The DOM element is preceded by content.</p>
+<p>There should be three rectangles with identical sizes below. The first and third one
+ should be blue with nothing inside. The second one should be yellow with some dots
+ inside.</p>
+<div style="-webkit-columns:4; line-height:100px; background:blue;">
+ <span>&nbsp;</span>
+ <span id="elm">&nbsp;</span>
+</div>

Powered by Google App Engine
This is Rietveld 408576698