This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#radionodelist In step 2 of the specification for getting the "value" attribute, the spec says: If element is null, or if it is an element with no value attribute, return the empty string. However, as specified in section 4.10.5 (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html), input elements of type radio have value mode "default/on", such that their .value is supposed to be "on" if undefined (http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#dom-input-value-default-on). As such, it would make sense to add separate steps 2a and 2b (or whatever): 2a. If element is null, return the empty string. 2b. If the element has no value attribute, return "on". Indeed, some of the tests at https://github.com/w3c/web-platform-tests/blob/master/html/infrastructure/common-dom-interfaces/collections/radionodelist.html currently fail on Chrome (and in my proposed Gecko patch, for https://bugzilla.mozilla.org/show_bug.cgi?id=779723) due to this issue. I submitted a pull request for the test: https://github.com/w3c/web-platform-tests/pull/1108.
Seems reasonable.
21:15 djc Hixie: so, for https://www.w3.org/Bugs/Public/show_bug.cgi?id=26353, what's next? 21:15 Hixie i fix the bug 21:16 Hixie might take a while, i'm rebuilding my publication pipeline and have quite a baclog 21:16 Hixie backlog 21:16 Hixie but you can assume the spec will be adjusted accordingly
There's a link to the bug in the test: <https://github.com/w3c/web-platform-tests/commit/9f8243aebe785e2c2ddce1ca6a2cd1d36b29bf6f>. Please poke me when you fix the bug so I can remove it.
I also fixed the setter to do the corresponding magic.
Checked in as WHATWG revision r8744. Check-in comment: Make RadioNodeList's radio button logic support the magical 'on' value. http://html5.org/tools/web-apps-tracker?from=8743&to=8744
Thanks: https://github.com/w3c/web-platform-tests/pull/1231