Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /css/css-ui/resize-generated-content.html - WPT Dashboard Interop Dashboard
 
 
<!doctype html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: resize - generated content</title>
<meta name="assert" content="The resize property should not apply to generated content, the behavior is undefined">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<style>
  #test::before {
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    overflow: hidden;
    resize: both;
    background: green;
  }
</style>
<p>Test passes if there is a filled green square.</p>
<div id="test"></div>