tor-browser

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

background-origin-computed.html (882B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Backgrounds and Borders: getComputedStyle().backgroundOrigin</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-origin">
      7 <meta name="assert" content="background-origin computed value is as specified.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/computed-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <div id="target"></div>
     14 <script>
     15 test_computed_value("background-origin", "border-box");
     16 test_computed_value("background-origin", "padding-box");
     17 test_computed_value("background-origin", "content-box");
     18 
     19 // See background-computed.html for a test with multiple background images.
     20 test_computed_value("background-origin", "border-box, padding-box, content-box", "border-box");
     21 </script>
     22 </body>
     23 </html>