tor-browser

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

first-line-000.xht (902B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Test: Selectors: The :first-line pseudo-element</title>
      6   <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
      8   <link rel="match" href="first-line-000-ref.html"/>
      9   <meta name="assert" content="Browsers should apply the rule only to the first line of a block-level element"/>
     10 <style type="text/css">
     11 p, div {color: silver}
     12 p:first-line, div span {color: fuchsia}
     13 
     14 </style>
     15  </head>
     16  <body>
     17 <p>The first line of this paragraph should be fuchsia (same as in the next block).<br />Filler text.</p>
     18 <div><span>Lorem ipsum dolor.</span><br />Filler text.</div>
     19 
     20 
     21  </body>
     22 </html>