- From: <bugzilla@jessica.w3.org>
- Date: Tue, 17 Jan 2012 17:49:29 +0000
- To: public-html@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15596 Summary: option.value IDL attribute should return |text| IDL attribute instead of |textContent| when no value is set Product: HTML WG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: HTML5 spec (editor: Ian Hickson) AssignedTo: ian@hixie.ch ReportedBy: mounir.lamouri@gmail.com QAContact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-wg-issue-tracking@w3.org, public-html@w3.org The difference between |text| and |textContent| being: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#dom-option-text For what I've seen, Gecko, Webkit and Presto doesn't follow the spec and return .text instead of .textContent when requesting option.value. IE9 and IE10PP are returning .textContent when getting .value. However, it seems that .text is submitted instead of .value which is kind of odd. By the way, wouldn't that be easier to simply say that value IDL attribute, when getting, should reflect the |value| of the element as explained here: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#concept-option-value -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Wednesday, 18 January 2012 03:29:03 UTC