Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-position/sticky/position-sticky-details-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<details>
<div id="target" style="position: sticky; top: 0px;"></div>
</details>
<script>
document.execCommand('selectAll');
document.getElementById('target').remove();
document.body.style.height = '100%';
</script>