summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/placeholder-input-dynamic-crash.html
blob: 28ab898a6d906bec3aab6891f1fe333d3ccf23f5 (plain)
1
2
3
4
5
6
7
8
9
10
<!doctype html>
<title>Dynamic placeholder attribute changes after addition shouldn't crash</title>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1662483">
<input type="text">
<script>
  let input = document.querySelector("input");
  input.getBoundingClientRect();
  input.placeholder = "Foo";
  input.placeholder = "Bar";
</script>