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

Unified Diff: LayoutTests/fast/multicol/dynamic/spanner-becomes-regular-block.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/spanner-becomes-regular-block.html
diff --git a/LayoutTests/fast/multicol/dynamic/spanner-becomes-regular-block.html b/LayoutTests/fast/multicol/dynamic/spanner-becomes-regular-block.html
new file mode 100644
index 0000000000000000000000000000000000000000..962e462ba1097103879328fe537aee9424e452ed
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/spanner-becomes-regular-block.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ document.body.offsetTop; // trigger layout
+ elm.style.webkitColumnSpan = 'none';
+ }
+</script>
+<p>Test changing a spanner inside a block to a regular block.</p>
+<p>Below you should see a blue line above the word "PASS" on a yellow background. Wide letter spacing is expected.</p>
+<div style="-webkit-columns:4; -webkit-column-gap:0; width:4em; max-height:3em; overflow:hidden; background:blue;">
+ <div style="margin-top:0.5em;">
+ <div id="elm" style="-webkit-column-span:all; margin-top:0.2em; background:yellow;">
+ P<br>
+ <div style="height:0.5em; background:blue;"></div>
+ A<br>
+ <div style="height:0.5em; background:blue;"></div>
+ S<br>
+ <div style="height:0.5em; background:blue;"></div>
+ S<br>
+ </div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698