Bug 1942415: Revert changes for GC_GLEAN_SLOW_PHASE and GC_GLEAN_SLOW_TASK probes...
[gecko.git] / layout / reftests / text / lineheight-metrics-1.html
blob76f448241248fd842b20d4909ce3fe5d137b22aa
1 <title>Testcase, bug 643781</title>
2 <style>
3 html { background: white; }
4 @font-face {
5 font-family: "MarkA-lineheight1500";
6 src: url(../fonts/markA-lineheight1500.ttf);
8 body {
9 padding: 1px;
10 background: blue;
11 width: 100px;
12 height: 33px;
13 font-size: 0px; /* remove the effect of the strut ascent and descent */
15 div {
16 background: aqua;
19 MarkA-lineheight1500 at 22 pixel em-size has a line height that is an --
20 integer number of pixels but the components (ascent/descent/leading) are not
21 integer. This test checks that the line-height remains accurate.
23 span {
24 color: transparent;
25 font-family: MarkA-lineheight1500;
26 font-size: 22px;
28 </style>
29 <body>
30 <div><span>A</span></div>
31 </body>