tor-browser

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

background-size-007.html (1166B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Backgrounds and Borders Test: background-size - one &lt;length&gt; value at minimum</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 and 2020-03-13 -->
      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/ref-nothing-below.xht">
     10    <meta name="flags" content="image">
     11    <meta name="assert" content="Check if 'background-size' is '0px', minimum width of the positioning area in length, then such value is the width of the corresponding image and therefore the background image is not to be displayed.">
     12    <style>
     13        div {
     14            background-image: url(/css/support/60x60-red.png);
     15            background-size: 0px;
     16            height: 100px;
     17            width: 100px;
     18        }
     19    </style>
     20  </head>
     21  <body>
     22    <p>Test passes if there is nothing below.
     23    <div></div>
     24  </body>
     25 </html>