layout/reftests/bugs/654057-1-ref.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.

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

mercurial