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

Unified Diff: third_party/WebKit/LayoutTests/printing/multicol.html

Issue 1492143002: Add support for printing multicol containers, and enable it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review Created 5 years 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: third_party/WebKit/LayoutTests/printing/multicol.html
diff --git a/third_party/WebKit/LayoutTests/printing/multicol.html b/third_party/WebKit/LayoutTests/printing/multicol.html
new file mode 100644
index 0000000000000000000000000000000000000000..711eead532c7e6774d8f430bfa40ec549d0e985b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/printing/multicol.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<script src="../resources/js-test.js"></script>
+<p>To run this test manually, print this document.</p>
+<p>There should be 2 pages in this document.</p>
+<div style="page-break-before:always; -webkit-columns:12; -webkit-column-gap:0; width:12em; text-align:center; line-height:400px;">
+ m<br>
+ u<br>
+ l<br>
+ t<br>
+ i<br>
+ c<br>
+ o<br>
+ l<br>
+ <br>
+ F<br>
+ T<br>
+ W<br>
+</div>
+<script>
+ if (window.internals)
+ shouldBe("internals.numberOfPages(800, 800)", "2");
+</script>

Powered by Google App Engine
This is Rietveld 408576698