Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-conditional/container-queries/crashtests/container-query-nested-oof-invalidation-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Container Queries: Crash when nested OOF is closed during layout</title>
<style>
#target {
appearance: textarea;
container-type: size;
offset: auto url();
}
</style>
<table>
<th id="target">
<marquee></marquee>
<dialog id="dialog" open="true">
<textarea id="textarea"></textarea>
</dialog>
</th>
</table>
<script>
requestAnimationFrame(() => {
const callback = window.requestIdleCallback(() => { });
dialog.close();
textarea.cols = callback;
});
</script>