tor-browser

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

1640401-1.html (579B)


      1 <!DOCTYPE html>
      2 <!-- Test that SimSun, a default TTC font on Win10, is correctly handled by WR.
      3     It may fail to generate a font descriptor and transmit as raw font data.
      4     In some cases, WR did not properly expect to deal with said TTC font and
      5     crashed as a result.
      6 -->
      7 <html><head>
      8 <style>
      9 @font-face {
     10    font-family: "CrashMe";
     11    src: local("SimSun");
     12 }
     13 
     14 body {
     15  font-family: 'CrashMe';
     16 }
     17 
     18 h1 {
     19  font-weight: 500;
     20 }
     21 
     22 input {
     23  font-family: 'CrashMe';
     24 }
     25 
     26 </style>
     27 </head>
     28 <body>
     29 <h1>1</h1>
     30 <input placeholder="2">
     31 </body></html>