[imps] </form> in "in body" insertion mode (8.2.5)

Henri Sivonen hsivonen at iki.fi
Wed Jan 14 03:07:44 PST 2009


On Jan 12, 2009, at 19:15, Kartikaya Gupta wrote:

> When receiving a </form> in the "in body" insertion mode, the spec  
> says (step 3) to "Remove node from the stack of open elements". My  
> assumption was that this removes the form element, but leaves  
> anything above the form element still on the stack. The validator.nu  
> parser (htmlparser-1.1.1.jar) however pops everything off until it  
> reaches the form element. Is this a bug in the spec/bug in the  
> reference parser/something that changed recently? I couldn't find it  
> in the known bug list of the validator.nu parser, and my search  
> through the HTML5 tracker history also didn't turn up much.

The Validator.nu parser and the html5lib test cases were out of sync  
with the spec, since the spec change was relatively recent. Both are  
now fixed in svn.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the Implementors mailing list