tor-browser

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

colrv1-07-ref.html (1000B)


      1 <!DOCTYPE html>
      2 <html>
      3 <meta charset=utf-8>
      4 <title>COLRv1 font test: radial gradient with degenerate color line</title>
      5 <style>
      6 p { margin: 0; }
      7 div { height: 100px; position: relative; }
      8 /* Use CSS backgrounds to imitate the expected CAhem glyph rendering.
      9   Antialiasing will differ, but otherwise the results should match. */
     10 span { display: inline-block; height: 40px; position: absolute; overflow: clip; }
     11 span.bg { width: 100px; top: 30px; background: red; }
     12 span.a { background: blue; border-radius: 20px; left: 30px; width: 200px; }
     13 span.b { background: blue; border-radius: 20px; left: 10px; width: 200px; }
     14 span.c { background: blue; border-radius: 20px; left: 50px; width: 200px; }
     15 span.d { background: blue; border-radius: 20px; left: 60px; width: 200px; }
     16 </style>
     17 
     18 <div><span class=bg><span class=a></span></span></div>
     19 <div><span class=bg><span class=b></span></span></div>
     20 <div><span class=bg><span class=c></span></span></div>
     21 <div><span class=bg><span class=d></span></span></div>