| <!doctype HTML> |
| <html> |
| <meta charset="utf8"> |
| <title>Display Locking: locked element shifted down (reference)</title> |
| <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> |
| <link rel="help" href="https://github.com/WICG/display-locking"> |
| |
| <style> |
| #container { |
| contain: style layout; |
| width: 150px; |
| height: 150px; |
| } |
| #spacer { |
| width: 100px; |
| height: 100px; |
| background: lightgreen; |
| } |
| #checker { |
| width: 100px; |
| height: 50px; |
| background: green; |
| } |
| </style> |
| |
| <div id="log">PASS</div> |
| <div id="spacer"></div> |
| <div id="container"></div> |
| <div id="checker"></div> |
| </html> |