Fieldsets count as form fields

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

Explorer Windows and Mac, Mozilla and Opera see <fieldset>s as form fields, even though the spec doesn't mention them in the list of control types.

Mozilla and Opera allow change events on <fieldset>s, even though they don't make sense.

Test page. Workaround is not included.
Reported by ppk.

Explorer 5-6 Windows, Explorer 7 beta 2, Explorer Mac, Mozilla, Opera | Reported on 25 November 2005.

Comments

(Add your own)

Posted by Nick Fitzsimons on 29 November 2005

1

I was caught by this one a few years ago. For what it's worth, the DOM Level 1 spec hints that fieldsets are in some sense controls, as they have a form attribute which "Returns the FORM element containing this control." It says the same thing about "legend".

http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-7365882

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes