Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>CSS Container Queries Test: Crash: input inline-size container with placeholder</title>
<link rel="help" href="https://crbug.com/1288692">
<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>