tor-browser

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

border-image-outset-002.htm (1820B)


      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>CSS Test: The 'border-image-outset' property set to one value using 'em' units</title>
      5        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6        <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-image-outset" />
      7        <meta name="flags" content="image" />
      8        <meta name="assert" content="This test checks that if the outset values of right, bottom and left sides are not explicitly individually specified, the single value is then used for all four sides." />
      9        <style type="text/css">
     10            #test
     11            {
     12                background-color: blue;
     13                border: 1em double red;
     14                border-image-outset: 3em;
     15                border-image-slice: 10;
     16                border-image-source: url("support/green_color.png");
     17                border-image-width: 1;
     18                height: 6em;
     19                margin: 4em;
     20                width: 6em;
     21            }
     22            #reference1
     23            {
     24                background-color: orange;
     25                height: 2em;
     26                margin: -3em;
     27                width: 2em;
     28            }
     29            #reference2
     30            {
     31                background-color: orange;
     32                height: 2em;
     33                margin: 11em 7em;
     34                width: 2em;
     35            }
     36        </style>
     37    </head>
     38    <body>
     39        <p>Test passes if each of two orange rectangles touch green border by two sides and touch blue rectangle with one of the corners.</p>
     40        <div id="test">
     41            <div id="reference1"></div>
     42            <div id="reference2"></div>
     43        </div>
     44    </body>
     45 </html>