NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 461 - Optgroup element doesn't accept standard attributes
Optgroup element doesn't accept standard attributes
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://databathing.com/tests/OPTGROUP...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-27 20:09 CET by gyrobo
Modified: 2009-03-30 16:09 CEST (History)
1 user (show)

See Also:


Attachments
Test Case from URL (442 bytes, text/html)
2009-03-27 20:10 CET, gyrobo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gyrobo 2009-03-27 20:09:48 CET
The Validator.nu HTML Parser reports an error when it encounters an optgroup element containing a standard attribute like ID, CLASS, LANG, etc.

These attributes should be valid for all elements.
Comment 1 gyrobo 2009-03-27 20:10:42 CET
Created attachment 65 [details]
Test Case from URL
Comment 2 Michael[tm] Smith 2009-03-30 09:51:10 CEST
Thanks for catching this. The cause was just an oversight -- I suspect probably a regression due to some patch I submitted that changed the optgroup attribute model.

Anyway, it's fixed now in the source repository:
http://svn8.cvsdude.com/vvc/whattf/syntax?view=revision&revision=391

It may be a few days before that fix actually gets deployed on validator.nu

Comment 3 Michael[tm] Smith 2009-03-30 16:09:25 CEST
tested with latest v.nu deployment, and test case passes, so moving this to resolved/fixed