Closed Bug 410423 Opened 17 years ago Closed 3 years ago

XUL: can't set radio value

Categories

(Core :: XUL, defect)

defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: dan_500, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11

Example:
<label control="color">Please choose a color:</label>
<radiogroup id="color">
  <radio>Red</radio>
  <radio>Blue</radio>
  <radio>Yellow</radio>
</radiogroup>

There you can see the bug. I think <radio value="Red"/> would not be good xml semantics.

Reproducible: Always

Steps to Reproduce:
1. Copy my example
2. See it with Mozilla 1.9
Actual Results:  
The radio-elements are not displayed as radio-elements.

Expected Results:  
The radio-elements should be displayed as radio-elements.

However DOM radio.value should set the value of the radio element.
This should it be, if there are childrens:
<radiogroup id="group1">
  <radio value="A">
    Option A for Group 1
    <radiogroup id="group2">
      <radio value="A">Option A for Group 2</radio>
      <radio value="B">Option B for Group 2</radio>
    </radiogroup>
  </radio>
  <radio value="B">Option B for Group 1</radio>
</radiogroup>
Component: General → XP Toolkit/Widgets: XUL
Product: Firefox → Core
Summary: can't set radio value → XUL: can't set radio value
QA Contact: general → xptoolkit.xul
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets

I can still reproduce this on the latest Firefox versions but it is also reproducible on Chrome, so not sure if there is an actual issue here.
The last activity on this issue was 14 years ago and now it may not be relevant anymore. Closing si as resolved:incomplete but please do re-open it if this is still valid.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.