mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
11 lines
197 B
HTML
11 lines
197 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<input size="20" value="abcde">
|
|
<script>
|
|
document.body.offsetWidth;
|
|
document.getElementsByTagName("input")[0].maxLength = "2";
|
|
</script>
|
|
</body>
|
|
</html>
|