| <!doctype HTML> |
| <html class="reftest-wait"> |
| <meta charset="utf8"> |
| <title>activated element removes size containment</title> |
| <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> |
| <link rel="help" href="https://github.com/WICG/display-locking"> |
| <link rel="match" href="activated-removes-size-containment-ref.html"> |
| <meta name="assert" content="activated render-subtree removes size containment."> |
| <script src="/common/reftest-wait.js"></script> |
| |
| <style> |
| .locked { |
| render-subtree: invisible; |
| |
| border: 1px solid black; |
| } |
| </style> |
| |
| <div class=locked> |
| Test passes if there is a border around this text. |
| </div> |
| |
| <script> |
| |
| window.onload = requestAnimationFrame(() => { |
| requestAnimationFrame(() => { |
| requestAnimationFrame(() => { |
| takeScreenshot(); |
| }); |
| }); |
| }); |
| |
| </script> |
| </html> |
| |
| |