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

Unified Diff: LayoutTests/fast/multicol/span/remove-row-content8.html

Issue 584033002: [New Multicolumn] Add support for column-span:all (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix ref in test. Tables don't do subpixel, and that made a difference on Windows and Mac. Created 6 years, 2 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/span/remove-row-content8.html
diff --git a/LayoutTests/fast/multicol/span/remove-row-content8.html b/LayoutTests/fast/multicol/span/remove-row-content8.html
new file mode 100644
index 0000000000000000000000000000000000000000..924a28e4fd18b2f624ac1eeb64135dbd9a6bf9c0
--- /dev/null
+++ b/LayoutTests/fast/multicol/span/remove-row-content8.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ document.body.offsetTop; // trigger layout
+ var elm = document.getElementById('elm');
+ elm.style.display = 'none';
+ document.body.offsetTop; // trigger layout
+ var elm2 = document.getElementById('elm2');
+ elm2.style.display = 'block';
+ }
+</script>
+<style>
+ .spanner { -webkit-column-span:all; column-span:all; }
+</style>
+<p>You should see two lines with the word "PASS" on a lime background below.</p>
+<div style="float:left; overflow:hidden;">
+ <div style="-webkit-columns:4; columns:4; column-gap:0; -webkit-column-gap:0; orphans:1; widows:1; background:lime;"><div id="elm" style="background:red;">F<br>A<br>I<br>L</div><div id="elm2" style="display:none;">P<br>A<br>S<br>S</div><div class="spanner">PASS</div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698