tor-browser

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

resize-003.html (1016B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Basic User Interface Test: resize - inherit - the resize property inherits parent element</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com/">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="8.1. 'resize' property" href="http://www.w3.org/TR/css3-ui/#resize">
      7 <meta name="flags" content="interact">
      8 <meta name="assert" content="Test checks that the resize element inherits parent element">
      9 <style>
     10  #parent {
     11    border: 2px solid blue;
     12    height: 150px;
     13    overflow: auto;
     14    resize: both;
     15    width: 150px;
     16  }
     17  #child {
     18    border: 2px solid green;
     19    height: 75px;
     20    overflow: auto;
     21    resize: inherit;
     22    width: 75px;
     23  }
     24 </style>
     25 <body>
     26  <p>Test passes if both the height and width of the <strong>green</strong> border square inside blue square can be adjusted(for instance by dragging the bottom-right corner).</p>
     27  <div id="parent">
     28    <div id="child"></div>
     29  </div>
     30 </body>