6 font-family: SubpixelPositioning;
9 font-family: SubpixelPositioningAhem;
10 border: solid thin blue;
18 if (window
.testRunner
&& window
.testRunner
.setTextSubpixelPositioning
)
19 window
.testRunner
.setTextSubpixelPositioning(true);
21 window
.internals
.setPageScaleFactor(1.7);
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.
30 <div style=
"font-size: 13px"> pppp
</div>
31 <div style=
"font-size: 14px"> pppp
</div>
32 <div style=
"font-size: 15px"> pppp
</div>
33 <div style=
"font-size: 16px"> pppp
</div>
34 <div style=
"font-size: 17px"> pppp
</div>
35 <div style=
"font-size: 18px"> pppp
</div>