Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <title>Testcase, bug 518172</title> |
michael@0 | 3 | <style type="text/css"> |
michael@0 | 4 | |
michael@0 | 5 | @font-face { |
michael@0 | 6 | font-family: "MarkA"; |
michael@0 | 7 | src: url(../fonts/markA.ttf); |
michael@0 | 8 | } |
michael@0 | 9 | |
michael@0 | 10 | html, body { margin: 0; padding: 0; } |
michael@0 | 11 | body { font: 200px/200px MarkA; } |
michael@0 | 12 | div#one { width: 200px; height:200px; padding: 100px; |
michael@0 | 13 | -moz-transform: rotate(90deg); } |
michael@0 | 14 | div#two { color: transparent; } |
michael@0 | 15 | |
michael@0 | 16 | div.box { background: red; position: absolute; } |
michael@0 | 17 | |
michael@0 | 18 | </style> |
michael@0 | 19 | <!-- draw red boxes slightly larger (2px extra) than the area that should |
michael@0 | 20 | be covered by the font --> |
michael@0 | 21 | <div class="box" style="top: 122px; left: 122px; width: 36px; height: 256px;"></div> |
michael@0 | 22 | <div class="box" style="top: 162px; left: 182px; width: 36px; height: 176px;"></div> |
michael@0 | 23 | <div class="box" style="top: 202px; left: 242px; width: 36px; height: 96px;"></div> |
michael@0 | 24 | |
michael@0 | 25 | <div id="one">A</div><div id="two">A</div> |