This project is archived and is in readonly mode.
HTML5 forbids the size attribute on input fields
-
Stephen Touset
I should add, more than that, options["size"] is set to options["maxlength"] in to_input_field_tag, and this should be removed as well.
-
Stephen Touset
After a rereading of the spec, this bug is more complicated than I originally thought. The size attribute is not gone entirely, but applies to only specific fields. I will write up a more comprehensive bug report later. Please close this one, as it is invalid.
-
Alexander S.
Was just about to file this bug report, but Stephen was a step ahead. Great that you'll file it.
-
emery
Why is this marked invalid? size should never be used in any input.