Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / descent-clip-in-scaled-page-expected.html
blobf28bfbcd036c64f250449b329f676feb8a363133
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6 font-family: SubpixelPositioning;
8 div {
9 font-family: SubpixelPositioningAhem;
10 border: solid thin blue;
12 ::-webkit-scrollbar {
13 width: 0px;
14 height: 0px;
16 </style>
17 <script>
18 if (window.testRunner && window.testRunner.setTextSubpixelPositioning)
19 window.testRunner.setTextSubpixelPositioning(true);
20 if (window.internals)
21 window.internals.setPageScaleFactor(1.7);
22 </script>
23 </head>
24 <body>
25 Tests if the bottom of the text is truncated when the page is scaled by a fractional factor.
26 If success, the text in the "overflow: hidden" div (the test case) should be displayed
27 the same as in a normal div (the ref html).
28 'p' is the character in ahem font with only the descent part.
29 <br><br>
30 <div style="font-size: 13px">&nbsp;pppp&nbsp;</div>
31 <div style="font-size: 14px">&nbsp;pppp&nbsp;</div>
32 <div style="font-size: 15px">&nbsp;pppp&nbsp;</div>
33 <div style="font-size: 16px">&nbsp;pppp&nbsp;</div>
34 <div style="font-size: 17px">&nbsp;pppp&nbsp;</div>
35 <div style="font-size: 18px">&nbsp;pppp&nbsp;</div>
36 </body>
37 </html>