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

Unified Diff: LayoutTests/fast/multicol/dynamic/insert-spanner-before-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-before-content.html
diff --git a/LayoutTests/fast/multicol/dynamic/insert-spanner-before-content.html b/LayoutTests/fast/multicol/dynamic/insert-spanner-before-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..236ad4178f71c188483a5f09397d25469945d53d
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/insert-spanner-before-content.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ document.body.offsetTop; // trigger layout
+ elm.style.display = 'block';
+ }
+</script>
+<p>Test insertion of a spanner before column content.</p>
+<p>There should be two lines below with the word "PASS". Letter spacing is expected to
+vary. The first word should be in <span style="color:blue;">blue</span>. The second one
+in <span style="color:olive;">olive</span>.</p>
+<div style="-webkit-columns:5; -webkit-column-gap:0; width:5em; color:olive;">
+ <div id="elm" style="display:none; -webkit-column-span:all; color:blue;">PASS</div>
+ P<br>A<br>S<br>S
+</div>

Powered by Google App Engine
This is Rietveld 408576698