Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / printing / print-media-recalc.html
blobb9817825b4efc89c8d20677a3e5ba914d4efff8a
1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script>
3 <style>
4 @media print {
5 body { font-size: 150px; }
7 </style>
8 A<br>
10 <script>
11 // Check that the 150px font-size for body is applied for printing, causing
12 // room for only one line per page with a page height of 200px.
14 shouldBe("getComputedStyle(document.body, null).fontSize", "'16px'", true);
16 if (window.internals)
17 shouldBe("internals.numberOfPages(800, 200)", "2");
19 shouldBe("getComputedStyle(document.body, null).fontSize", "'16px'");
20 </script>