tor-browser

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

first-letter-punctuation-and-space.html (840B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4    <meta charset="utf-8">
      5    <title>CSS Test: ::first-letter formatting</title>
      6    <link rel="author" title="Johannes Odland" href="mailto:johannes.odland@gmail.com">
      7    <link rel="match" href="first-letter-punctuation-and-space-ref.html">
      8    <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo">
      9    <meta name="assert" content="Test checks that punctuation, intervening space separators and letters still have proper ::first-letter styling.">
     10    <style>
     11        div {
     12            font-size: 36px;
     13        }
     14        div::first-letter {
     15            color: green;
     16        }
     17    </style>
     18 </head>
     19 <body>
     20    <p>Test passes if the "T"s and preceding punctuation below are green.</p>
     21    <div>– Test</div>
     22    <div>« Test</div>
     23    <div>&#xab;&nbsp;Test</div>
     24 </body>
     25 </html>