User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 When you want to check the next radio button in a radiogroup, the "checkAdjacentElement" function doesn't work at all. Reproducible: Always Steps to Reproduce: Here is an example that you can try : <hbox > <radiogroup id="myRadiogroup"> <radio value="0" selected="true"/> <radio value="1"/> </radiogroup> <button label="Adjacent" oncommand="document.getElementById ('myRadiogroup').checkAdjacentElement(true)"/> </hbox> Actual Results: Nothing happens. Expected Results: The next radio must be selected.
Created attachment 216405 [details] testcase Confirmed. Additionally, I see a 'children[i] has no properties' error in the console.
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: DOM → XUL Widgets
Ever confirmed: true
OS: Windows XP → All
Product: Core → Toolkit
QA Contact: ian → xul.widgets
Hardware: PC → All
Created attachment 216409 [details] [diff] [review] patch This fixes it for me.
Attachment #216409 - Flags: first-review?(neil)
Comment on attachment 216409 [details] [diff] [review] patch focused != selected
Attachment #216409 - Flags: first-review?(neil) → first-review-
(In reply to comment #3) > (From update of attachment 216409 [details] [diff] [review] ) > focused != selected Yes, I know that, but why is the patch not good?
Assignee: martijn.martijn → nobody
Fixed by bug 371260
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.