style: Disregard the size attribute for input elements other than text

or password fields.

HTML5 § 4.10.5.3.2 doesn't explicitly say to do this, but all other
browser engines seem to do it.

Improves the Google home page.
This commit is contained in:
Patrick Walton 2015-04-24 17:32:05 -07:00
parent 211ee668fa
commit 79336d21b5
5 changed files with 35 additions and 18 deletions

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<input type=submit value=sumbit>
</body>
</html>