[imps] optgroup in option

Ian Hickson ian at hixie.ch
Mon Oct 13 18:21:53 PDT 2008

On Mon, 13 Oct 2008, Ryan King wrote:
> I'm working on updating the ruby part of html5lib to the latest spec and 
> test suite, but ran into what I think is an inconsistency between the 
> two.
> We have a test that where an <optgroup> is nested inside an <option>[1].
> From my reading of the spec, the <optgroup> token should generate an 
> implied </option>[2]. Unless I'm wrong, and we shouldn't be in the 'in 
> body' mode at this point.
> Henri's implementation appears to follow the test suite[3], so I assume 
> that I'm missing something. Any pointers would be appreciated.

The spec changed this recently (r2128, 2008-08-29), as part of the WF2 
changes, to handle <datalist>:


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the Implementors mailing list