summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/text/select-overflow-ref.html
blob: f36028b59a097718c4ae8cb8ccfd806a2c2771b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html class="reftest-wait">
<script>
function selectEnd() {
  e = document.getElementById('e');
  // Just get to the end
  e.scrollLeft = e.scrollWidth;
  window.requestAnimationFrame(() => {
    document.documentElement.removeAttribute("class");
  });
}
</script>
<body onload="selectEnd();">
<input
  id="e"
  style="padding: 100px; width: 200px;"
  type="text"
  value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab">