Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | <title>Testcase, bug 643781</title> |
michael@0 | 2 | <style> |
michael@0 | 3 | html { background: white; } |
michael@0 | 4 | @font-face { |
michael@0 | 5 | font-family: "MarkA-lineheight1500"; |
michael@0 | 6 | src: url(../fonts/markA-lineheight1500.ttf); |
michael@0 | 7 | } |
michael@0 | 8 | body { |
michael@0 | 9 | padding: 1px; |
michael@0 | 10 | background: blue; |
michael@0 | 11 | width: 100px; |
michael@0 | 12 | height: 33px; |
michael@0 | 13 | font-size: 0px; /* remove the effect of the strut ascent and descent */ |
michael@0 | 14 | } |
michael@0 | 15 | div { |
michael@0 | 16 | background: aqua; |
michael@0 | 17 | } |
michael@0 | 18 | /* |
michael@0 | 19 | MarkA-lineheight1500 at 22 pixel em-size has a line height that is an -- |
michael@0 | 20 | integer number of pixels but the components (ascent/descent/leading) are not |
michael@0 | 21 | integer. This test checks that the line-height remains accurate. |
michael@0 | 22 | */ |
michael@0 | 23 | span { |
michael@0 | 24 | color: transparent; |
michael@0 | 25 | font-family: MarkA-lineheight1500; |
michael@0 | 26 | font-size: 22px; |
michael@0 | 27 | } |
michael@0 | 28 | </style> |
michael@0 | 29 | <body> |
michael@0 | 30 | <div><span>A</span></div> |
michael@0 | 31 | </body> |