DescriptionStricter parsing for size attribute on HTMLInputElement
According to the latest spec "the size attribute, if specified, must
have a value that is a valid non-negative integer greater than zero.
If the attribute is present, then its value must be parsed using the
rules for parsing non-negative integers."
With this patch parsing is more strict and above rules are honored.
This was showing as failures here, fixed with this patch:
http://w3c-test.org/html/dom/reflection-forms.html
Behavior matches Firefox.
Spec reference:
https://html.spec.whatwg.org/multipage/forms.html#attr-input-size
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187006
Patch Set 1 #Patch Set 2 : Add some subtests #Patch Set 3 : Fix compile problem #Patch Set 4 : Add some subtests that actually make a difference #
Messages
Total messages: 19 (8 generated)
|