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

Unified Diff: LayoutTests/fast/multicol/dynamic/change-spanner-display.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/change-spanner-display.html
diff --git a/LayoutTests/fast/multicol/dynamic/change-spanner-display.html b/LayoutTests/fast/multicol/dynamic/change-spanner-display.html
new file mode 100644
index 0000000000000000000000000000000000000000..1130ea84a11e84d98beb881705119f7534173f75
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/change-spanner-display.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ document.body.offsetTop; // trigger layout
+ elm.style.display = 'list-item';
+ }
+</script>
+<body style="margin:5em;">
+ <p>Test that changing display type on a spanner (to another valid display type for spanners) works.</p>
+ <p>You should see three lines with the word "PASS" below, all with a bullet in front. Letter
+ spacing is expected to vary.</p>
+ <div style="-webkit-columns:4; -webkit-column-gap:0; width:4em;">
+ <div style="display:list-item;">P<br>A<br>S<br>S
+ <div id="elm" style="-webkit-column-span:all;">
+ PASS
+ </div>
+ </div>
+ <div style="display:list-item;">P<br>A<br>S<br>S</div>
+ </div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698