tor-browser

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

background-repeat-computed.html (1208B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Backgrounds and Borders: getComputedStyle().backgroundRepeat</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-repeat">
      7 <meta name="assert" content="background-attachment repeat 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-repeat", "repeat-x");
     16 test_computed_value("background-repeat", "repeat-y");
     17 test_computed_value("background-repeat", "repeat");
     18 test_computed_value("background-repeat", "space");
     19 test_computed_value("background-repeat", "round");
     20 test_computed_value("background-repeat", "no-repeat");
     21 
     22 test_computed_value("background-repeat", "repeat space");
     23 test_computed_value("background-repeat", "round no-repeat");
     24 test_computed_value("background-repeat", "repeat repeat", "repeat");
     25 
     26 // See background-computed.html for a test with multiple background images.
     27 test_computed_value("background-repeat", "repeat-x, repeat-y, repeat", "repeat-x");
     28 </script>
     29 </body>
     30 </html>