Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/cssom-view/elementFromPoint-ua-shadowroot-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<style>
#container {scale: 1000; }
:read-only { width: max-content; }
</style>
<div id="container">
<input id="user"></input>
</div>
<script>
container.replaceChild(document.elementFromPoint(0, 0), user);
</script>