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/input-placeholder-inline-size-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Container Queries Test: Crash: input inline-size container with placeholder</title>
<p>Pass if this test does not crash</p>
<input id="input" style="container-type:size">
<script>
document.body.offsetTop;
input.style.position = "absolute";
input.setAttribute("placeholder", "placeholder");
document.body.offsetTop;
</script>