layout/reftests/bugs/654057-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <html>
michael@0 2 <head>
michael@0 3 <style type="text/css">
michael@0 4 /* This test is really intended for Segoe UI on Windows7;
michael@0 5 we provide a known fallback font for other platforms where
michael@0 6 the default font might not handle the diacritic (WinXP) */
michael@0 7 @font-face {
michael@0 8 font-family: fallback;
michael@0 9 src: url(../fonts/DejaVuSansMono.woff);
michael@0 10 }
michael@0 11 p.test {
michael@0 12 font-family: "Segoe UI", fallback, sans-serif;
michael@0 13 font-size: 60px;
michael@0 14 }
michael@0 15 span.test {
michael@0 16 background: black;
michael@0 17 }
michael@0 18 </style>
michael@0 19 </head>
michael@0 20 <body>
michael@0 21 <p>Diacritic should be hidden by the black background:</p>
michael@0 22 <p class="test">x<span class="test">x&#x302;</span>x</p>
michael@0 23 </body>
michael@0 24 </html>

mercurial