[Webkit-unassigned] [Bug 61675] <input> size attribute does not return default when attribute outofrange
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 29 10:52:38 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61675
--- Comment #2 from Aryeh Gregor <Simetrical+webkit at gmail.com> 2011-05-29 10:52:38 PST ---
Getting input.size has the wrong value when the content attribute is missing/negative/out-of-range. That's bug 44886, and also seems to be what comment #0 is talking about (comment #0 does not provide any test-case I can use to check). The only further bug I see in input.size is that it should throw when set to 0, per spec, but doesn't in Chrome 13 dev. My reflection tests cover this:
http://dvcs.w3.org/hg/html/raw-file/e24159ebba83/tests/submission/AryehGregor/reflection/reflection-original.html
The following test shows that IE9 and Firefox 5.0a2 throw when you set input.size to 0, Chrome 13 dev and Opera 11.10 don't:
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!doctype%20html%3E%0A%3Cscript%3E%0Atry%20%7B%0Adocument.createElement(%22input%22).size%20%3D%200%3B%0Aw(%22No%20exception%22)%3B%0A%7D%20catch(e)%20%7B%20w(e)%20%7D%0A%3C%2Fscript%3E
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list