Closed Bug 21638 Opened 25 years ago Closed 24 years ago

Cannot style FIELDSET element outside FORM elements

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: ian, Assigned: rods)

References

()

Details

(Keywords: css1)

A FIELDSET element which is not in a FORM element is unstylable.

For example, the following will not be red:

   <fieldset style="color:red">
      <p>I should be red.</p>
   </fieldset>

See the test case:
   http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/widgets/09.html

If the FIELDSET element is wrapped in a FORM element then styling works fine.
Blocks: html4.01
See also:
   bug 10434 legend.form is always null
   bug 11537 Value of wallet.Server pref is blank until clicked on
   bug 18357 Legend align does not work in Japanese
Assignee: karnaze → kmcclusk
Reassigning to Kevin.
Assignee: kmcclusk → evaughan
Eric, you own field sets these days don't you?
If not, reassign back to me.
QA Contact: ckritzer → chrisd
QA Contact: chrisd → ckritzer
Status: NEW → ASSIGNED
Target Milestone: M15
Keywords: css1
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz}
radars should now be considered deprecated in favour of keywords.
I am *really* sorry about the spam...
Summary: {css1} Cannot style FIELDSET element outside FORM elements → Cannot style FIELDSET element outside FORM elements
Rod I thinking that perhaps gecko should once again own fieldsets. They are no 
longer used in XUL. Let me know if thats a problem.
Assignee: evaughan → rods
Status: ASSIGNED → NEW
tested with today's build. looks ok.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Updating QA contact.
QA Contact: ckritzer → bsharma
Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.