tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test-synthetic-bold.html (1342B)


      1 <!DOCTYPE html>
      2 <html>
      3     <head>
      4        <title>CSS Test: Test for synthetic bold rendering</title>
      5        <link rel="author" title="Mozilla" href="http://www.mozilla.com/" />
      6        <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-weight" />
      7        <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" />
      8        <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop" />
      9        <link rel="mismatch" href="test-synthetic-bold-notref.html" />
     10        <meta name="assert" content="Synthetic bold text should render differently than normal text" />
     11        <style type="text/css">
     12            div { font-size: 36px; }
     13            span#verify { font-family: "CSSTest Verify"; }
     14            div#test1 {
     15                font-family: CSSTest Verify;
     16            }
     17            div#test2 {
     18                font-family: CSSTest Verify;
     19                font-weight: bold;
     20            }
     21        </style>
     22    </head>
     23    <body>
     24        <div><a href="http://www.w3.org/Style/CSS/Test/Fonts/">Test fonts</a> must be installed for this test: <span id="verify">FAIL</span></div>
     25        <p>Browser supports synthetic bolding if PASS appears on both lines and the second line appears bolder:</p>
     26        <div id="test1">FAIL</div>
     27        <div id="test2">FAIL</div>
     28    </body>
     29 </html>