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

Side by Side Diff: third_party/WebKit/LayoutTests/printing/pageProperty-with-multicol.html

Issue 1510353002: PrintContext::pageProperty() shouldn't use 0 as page height. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No need to call updateLayout() manually. PrintContext::begin() does it for us. 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/pageProperty-with-multicol-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script>
3 <style>
4 @page { margin:0 77px; }
5 </style>
6 <div style="-webkit-columns:3;">
7 <br>
8 <br>
9 </div>
10 <script>
11 description("Test that special layout for pageProperty() doesn't crash or ca use trouble when the document contains multicol.");
12 if (window.internals) {
13 shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "77");
14 } else {
15 testFailed("This test can be run only with window.internals enabled");
16 }
17 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/pageProperty-with-multicol-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698