summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/textarea/appearance-background-change.html
blob: d1c7730513c0565898e3822a5ae26203bda6409d (plain)
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<textarea>FOO BAR</textarea><br>
<input value="FOO BAR">
<script>
onload = function() {
  for (let e of document.querySelectorAll("input, textarea")) {
    e.getBoundingClientRect().top;
    e.style.background = "transparent";
  }
}
</script>