tor-browser

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

background-clip-009.html (1233B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>CSS Background and Borders Test: background-clip: border-box with background-color</title>
      6  <link rel="author" title="Julien Chaffraix" href="mailto:jchaffraix@webkit.org">
      7  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
      8  <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-09 -->
      9  <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-clip" title="3.7. Painting Area: the 'background-clip' property">
     10  <meta content="When 'background-clip' is set to 'border-box', then the background painting area is clipped at the edges of the borders of the element. In this test, the border box is 96px tall and 96px wide and is made from only the borders." name="assert">
     11  <link rel="match" href="reference/ref-filled-black-96px-square.xht">
     12  <style>
     13   div
     14   {
     15    background-clip: border-box;
     16    background-color: black;
     17    border: transparent solid 48px;
     18    height: auto;
     19    width: 0px;
     20   }
     21  </style>
     22 </head>
     23 <body>
     24  <p>Test passes if there is a filled black square.</p>
     25   <div></div>
     26 </body>
     27 </html>