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

Unified Diff: LayoutTests/fast/multicol/paged-becomes-multicol-with-spanner.html

Issue 364233005: [New Multicolumn] Support for paged overflow. (By mstensho). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Run fast/pagination in virtual/regionbasedmulticol. Created 6 years, 5 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/paged-becomes-multicol-with-spanner.html
diff --git a/LayoutTests/fast/multicol/paged-becomes-multicol-with-spanner.html b/LayoutTests/fast/multicol/paged-becomes-multicol-with-spanner.html
new file mode 100644
index 0000000000000000000000000000000000000000..5dad7fab8301e71c8ff1ac9141be099f1ed1f621
--- /dev/null
+++ b/LayoutTests/fast/multicol/paged-becomes-multicol-with-spanner.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ function test() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.WebkitColumns = '4';
+ elm.style.columns = '4';
+ elm.style.overflow = 'visible';
+ }
+ </script>
+ </head>
+ <body onload="test()">
+ <p>You should see the word 'PASS' below three times below. Letter spacing may vary.</p>
+ <div style="float:left;">
+ <div id="elm" style="overflow:-webkit-paged-x; -webkit-column-gap:0; column-gap:0; orphans:1; widows:1;">
+ P<br>
+ A<br>
+ S<br>
+ S<br>
+ <div style="-webkit-column-span:all; column-span:all;">PASS</div>
+ P<br>
+ A<br>
+ S<br>
+ S<br>
+ </div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698