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

Side by Side Diff: LayoutTests/fast/multicol/dynamic/insert-spanner-pseudo-after-then-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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 onload = function() {
4 document.body.offsetTop; // trigger layout
5 document.getElementById('elm').className = "x";
6 }
7 </script>
8 <style>
9 .x::after { display:block; -webkit-column-span:all; background:yellow; conte nt:".........."; }
10 </style>
11 <p>Test adding an ::after pseudo element that's a spanner. The DOM node is follo wed by more content,
12 so we need to split the existing column row into two.</p>
13 <p>There should be three rectangles with identical sizes below. The first and th ird one
14 should be blue with nothing inside. The second one should be yellow with some do ts
15 inside.</p>
16 <div style="-webkit-columns:4; line-height:100px; background:blue;">
17 <span id="elm">&nbsp;</span>
18 &nbsp;
19 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698