summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/345267-1c.html
blob: 1e78bec0dc3be5b6e844aa45f927b2c3572230bb (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<html>
<body>
  <input size="20" value="abcde">
  <script>
    document.body.offsetWidth;
    document.getElementsByTagName("input")[0].maxLength = "2";
  </script>
</body>
</html>