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

Unified Diff: LayoutTests/fast/multicol/dynamic/block-becomes-spanner.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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/dynamic/block-becomes-spanner-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html
diff --git a/LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html b/LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html
new file mode 100644
index 0000000000000000000000000000000000000000..fe564ebfd1b05c929504df758abd369cd8ba967d
--- /dev/null
+++ b/LayoutTests/fast/multicol/dynamic/block-becomes-spanner.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ document.body.offsetTop; // trigger layout
+ elm.style.webkitColumnSpan = 'all';
+ }
+</script>
+<p>Test that a regular block can become a spanner.</p>
+<p>Below there should be a blue box, then a yellow box, then a blue box again.</p>
+<div style="-webkit-columns:2; -webkit-column-gap:0; line-height:2em; background:blue;">
+ <div id="elm" style="margin:4em 0; background:yellow;"><br><br></div>
+</div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/dynamic/block-becomes-spanner-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698