tor-browser

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

background-size-002.html (1463B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Backgrounds and Borders Test: background-size - initial value</title>
      6    <link rel="author" title="Intel" href="http://www.intel.com">
      7    <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-11-09 -->
      8    <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-size" title="3.9. Sizing Images: the 'background-size' property">
      9    <link rel="match" href="reference/background-size-002-ref.html">
     10    <meta name="flags" content="image">
     11    <meta name="assert" content="Check if 'background-size' with initial value implies to the intrinsic width and height of the image are to be used. Therefore the used width and height of the background-size in this test should be 60px and 60px.">
     12    <style>
     13        #ref-overlapped-red {
     14            background-color: red;
     15            height: 60px;
     16            width: 60px;
     17        }
     18        #test-overlapping-green {
     19            background-image: url(support/60x60-green.png);
     20            background-repeat: no-repeat;
     21            bottom: 60px;
     22            height: 100px;
     23            position: relative;
     24            width: 100px;
     25        }
     26    </style>
     27  </head>
     28  <body>
     29    <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     30    <div id="ref-overlapped-red"></div>
     31    <div id="test-overlapping-green"></div>
     32  </body>
     33 </html>