tor-browser

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

marker-font-properties.html (825B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Test: ::marker formatting with font properties</title>
      6 <link rel="author" title="Daniel Bates" href="mailto:dbates@webkit.org">
      7 <link rel="match" href="marker-font-properties-ref.html">
      8 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
      9 <meta name="assert" content="Tests ::marker rendering with font properties">
     10 <style>
     11 ol {
     12    line-height: 30px;
     13 }
     14 
     15 li {
     16    list-style-type: lower-alpha;
     17 }
     18 
     19 li::marker, span {
     20    font-family: sans-serif;
     21    font-size: 24px;
     22    font-style: italic;
     23    font-variant: small-caps;
     24    font-weight: bold;
     25 }
     26 </style>
     27 </head>
     28 <body>
     29 <ol>
     30    <li><span><!-- FIXME: Needed to ensure consistent baseline position with expected result in Chromium and WebKit (why?). --></span></li>
     31 </ol>
     32 </body>
     33 </html>