tor-browser

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

first-letter-exclude-inline-marker.html (1025B)


      1 <!DOCTYPE HTML>
      2 <title>CSS Test: The element's own ::marker should be skipped when finding the ::first-letter content</title>
      3 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
      4 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#application-in-css">
      5 <link rel="match" href="first-letter-exclude-inline-marker-ref.html">
      6 <style>
      7 body { margin-left: 5em; }
      8 ibi::first-letter, ibo::first-letter { color: green }
      9 li:first-child > * { list-style-type: lower-alpha; list-style-type: 'marker ' }
     10 li:last-child > ::marker { content: 'marker ' }
     11 ibi { display:inline flow-root list-item; list-style-position: inside; }
     12 ibo { display:inline flow-root list-item; list-style-position: outside; }
     13 </style>
     14 <ol>
     15  <li><ibi>item</ibi>after</li>
     16  <li><ibi>item</ibi>after</li>
     17 </ol>
     18 <ul>
     19  <li><ibi>item</ibi>after</li>
     20  <li><ibi>item</ibi>after</li>
     21 </ul>
     22 <ol>
     23  <li><ibo>item</ibo>after</li>
     24  <li><ibo>item</ibo>after</li>
     25 </ol>
     26 <ul>
     27  <li><ibo>item</ibo>after</li>
     28  <li><ibo>item</ibo>after</li>
     29 </ul>