tor-browser

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

white-space-processing-014-ref.xht (1097B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>test reference</title>
      5         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      6         <style type="text/css">
      7             div
      8             {
      9                 font: 16px/1em Ahem;
     10                 height: 1em;
     11                 margin-bottom: 3px;
     12             }
     13             #div1
     14             {
     15                 background-color: blue;
     16                 width: 5em;
     17             }
     18             #div2
     19             {
     20                 background-color: orange;
     21                 width: 4em;
     22             }
     23             span
     24             {
     25                 background-color: black;
     26                 white-space: normal;
     27             }
     28         </style>
     29     </head>
     30     <body>
     31         <p>Test passes if the black box below is the same width as either the blue box or the orange box.</p>
     32         <div id="div1"></div>
     33         <div>
     34             <span>XX XX</span>
     35         </div>
     36         <div id="div2"></div>
     37     </body>
     38 </html>