tor-browser

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

marker-inherit-values.html (899B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Test: ::marker inherits values from originating element</title>
      6 <link rel="author" title="Daniel Bates" href="mailto:dbates@webkit.org">
      7 <link rel="match" href="marker-inherit-values-ref.html">
      8 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
      9 <meta name="assert" content="Tests ::marker inherits values from originating element">
     10 <style>
     11 ol {
     12    color: red;
     13 }
     14 
     15 li { /* Originating element */
     16    color: green;
     17    font-family: sans-serif;
     18    font-size: x-large;
     19    font-style: italic;
     20    font-variant: small-caps;
     21    font-weight: bold;
     22    list-style-type: lower-alpha;
     23 }
     24 
     25 li::marker {
     26    color: inherit;
     27    font-family: inherit;
     28    font-size: inherit;
     29    font-style: inherit;
     30    font-variant: inherit;
     31    font-weight: inherit;
     32 }
     33 </style>
     34 </head>
     35 <body>
     36 <ol>
     37    <li></li>
     38 </ol>
     39 </body>
     40 </html>