Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>Dynamic placeholder attribute changes after addition shouldn't crash</title>
<input type="text">
<script>
let input = document.querySelector("input");
input.getBoundingClientRect();
input.placeholder = "Foo";
input.placeholder = "Bar";
</script>