tor-browser

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

first-letter-005.html (821B)


      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="Jonathan Kew" href="mailto:jkew@mozilla.com">
      7    <link rel="match" href="first-letter-005-ref.html">
      8    <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo">
      9    <meta name="assert" content="Checks that symbols such as currency signs 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 "$", "(&pound;)", "&#x20B9;" and "&copy;" symbols are green.</p>
     21    <div>$1,234.56</div>
     22    <div>(&pound;)78.90</div>
     23    <div>&#x20B9;10,000</div>
     24    <div>&copy;2021</div>
     25 </body>
     26 </html>