https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a588436c16db4c8ae8644662124ff1af7e03f0d9 authored by Stephen McGruer on 03 April 2018, 21:32:18 UTC
Web Animations: Add test for Document::getAnimations across iframes
Tip revision: a588436
resize-019.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: resizing constraints</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#resize">
<meta name="flags" content="interact">
<meta name="assert" content="UAs must not place constrains on resizing that would prevent an element from becoming smaller than its original size.">
<style>
#test {
  position: absolute;
  background: orange;
  height: 100px;
  width: 100px;
  overflow: auto;
  resize: both;
}
#ref {
  position: absolute;
  background: green;
  height: 100px;
  width: 100px;
}
</style>

<p>The test passes is you can resize the orange box to be smaller than its initial size.
For reference there is an unresizable green box beneath it.
If you can uncover it, the test passes.</p>

<div id=ref></div>
<div id=test></div>
back to top