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

Unified Diff: LayoutTests/fast/multicol/span/spanner-pseudo-before-after3.html

Issue 584033002: [New Multicolumn] Add support for column-span:all (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix ref in test. Tables don't do subpixel, and that made a difference on Windows and Mac. Created 6 years, 2 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/spanner-pseudo-before-after3.html
diff --git a/LayoutTests/fast/multicol/span/spanner-pseudo-before-after3.html b/LayoutTests/fast/multicol/span/spanner-pseudo-before-after3.html
new file mode 100644
index 0000000000000000000000000000000000000000..f65906362a10e5b6a23b517f42628f0faa0c9436
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/spanner-pseudo-before-after3.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script>
+ 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 three rectangles with identical sizes below. The first and third one
+ should be yellow with some dots inside. The second one should be blue with nothing
+ 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
This is Rietveld 408576698