Make HTMLSelectElement behave as per the specification:
In particular, it should be unsigned and be in the range [0; 2147483647].
Also update several unsigned long attributes in our HTML implementation to use parseHTMLNonNegativeInteger() to parse the unsigned integer as per the HTML specification, instead of calling String::toUint().
Created attachment 271871 [details]
Comment on attachment 271871 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=271871&action=review
> + attribute unsigned long size;
> attribute long size;
Since the non-unsigned thing is only there for backward compatibility, I would prefer it if that side was the one that listed languages (Objective-C, GObject bindings).
> + * fast/forms/select-size.html:
> + * platform/mac/fast/forms/select-size-expected.png:
> + * platform/mac/fast/forms/select-size-expected.txt:
Can we change this into a reference test? It seems like a natural for that.
Created attachment 271902 [details]
Comment on attachment 271902 [details]
Clearing flags on attachment: 271902
Committed r196893: <http://trac.webkit.org/changeset/196893>
All reviewed patches have been landed. Closing bug.