[imps] optgroup in option

Ryan King ryan at theryanking.com
Tue Oct 14 12:35:59 PDT 2008

On Oct 13, 2008, at 6:21 PM, Ian Hickson wrote:
> 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>:
>   http://html5.org/tools/web-apps-tracker?from=2127&to=2128

Thanks. I've updated the test to reflect this change.


More information about the Implementors mailing list