tor-browser

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

background-006a.xht (1066B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Test: Background-image - color visible in transparent parts of image</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties" />
     11 
     12   <meta content="image" name="flags" />
     13   <meta content="A 'background-image' is rendered on top of 'background-color'. Therefore, the background-color (blue in this test) should be visible in the transparent parts of a background-image (orange text)." name="assert" />
     14 
     15   <style type="text/css"><![CDATA[
     16   div
     17   {
     18   background: blue url("support/orange-PASS-300x150.png");
     19   height: 150px;
     20   width: 300px;
     21   }
     22   ]]></style>
     23 
     24  </head>
     25 
     26  <body>
     27 
     28   <p>Test passes if there is the word "PASS" in orange inside a filled blue rectangle.</p>
     29 
     30   <div></div>
     31 
     32  </body>
     33 </html>