tor-browser

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

border-image-012.html (1365B)


      1 <!DOCTYPE html>
      2 
      3  <meta charset="UTF-8">
      4 
      5  <title>CSS Backgrounds and Borders Test: border-image-outset property does not trigger scrolling</title>
      6 
      7  <link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net">
      8  <link rel="help" href="http://www.w3.org/TR/css3-background/#border-image-outset">
      9  <link rel="match" href="reference/border-image-012-ref.html">
     10 
     11  <meta name="flags" content="scroll">
     12 
     13  <!--
     14 
     15  This is a follow-up to
     16  Pull Request 8788: Update css-backgrounds/border-image tests
     17  https://github.com/web-platform-tests/wpt/pull/8788
     18 
     19  Credit should go to Chris Nardi for trying to fix
     20  16 border-image tests with 2 relevant commits
     21 
     22  -->
     23 
     24  <style>
     25  div#red-overlapped-ref
     26    {
     27      background-color: red;
     28      width: 100px;
     29      height: 100px;
     30      overflow: auto;
     31    }
     32 
     33  div#green-overlapping-test
     34    {
     35      background-color: green;
     36      border: 1px solid red;
     37      width: 98px;
     38      height: 98px;
     39      /* border-box is therefore 100px by 100px */
     40 
     41      border-image-source: url("support/60x60-green.png");
     42      border-image-slice: 10;
     43      border-image-width: 10px;
     44      border-image-outset: 9px;
     45    }
     46  </style>
     47 
     48  <p>Test passes if there is a filled green square and if it has <strong>no scrollbar</strong>.
     49 
     50  <div id="red-overlapped-ref">
     51    <div id="green-overlapping-test"></div>
     52  </div>