tor-browser

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

marker-and-other-pseudo-elements.html (850B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Test: ::marker interaction with ::before, ::after, and ::first-letter pseudo elements</title>
      6 <link rel="author" title="Daniel Bates" href="mailto:dbates@webkit.org">
      7 <link rel="match" href="marker-and-other-pseudo-elements-ref.html">
      8 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
      9 <meta name="assert" content="Tests ::marker interaction with ::before, ::after, and ::first-letter pseudo elements">
     10 <style>
     11 li {
     12    color: red;
     13    font-size: 20px;
     14 }
     15 
     16 li::before {
     17    color: green;
     18    content: "PA";
     19 }
     20 
     21 li::after {
     22    color: green;
     23    content: "SSED if the list marker is green.";
     24 }
     25 
     26 li::marker {
     27    color: green;
     28 }
     29 
     30 li::first-letter {
     31    color: white;
     32    background-color: green;
     33 }
     34 </style>
     35 </head>
     36 <body>
     37 <ol>
     38    <li></li>
     39 </ol>
     40 </body>
     41 </html>