Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /shadow-dom/shadow-host-child-restyle-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<script>
function main() {
option.dir = "rtl";
window.pageYOffset;
dialog.close();
window.pageYOffset;
host.attachShadow({mode: "open"});
}
</script>
<body onload="main()">
<dialog id="dialog" open="">
<select>
<option id="option" style="display: contents">
<div id="host">
</option>
</select>
</dialog>