XUL: can't set radio value

UNCONFIRMED
Unassigned

Status

()

--
major
UNCONFIRMED
11 years ago
10 years ago

People

(Reporter: dan_500, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
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.
(Reporter)

Comment 1

11 years ago
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>
(Reporter)

Updated

11 years ago
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

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.