This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html Multipage: http://www.whatwg.org/C#parsing-main-inbody Complete: http://www.whatwg.org/c#parsing-main-inbody Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/ Comment: For <menuitem>, "in body" mode redirects to "in head", which will cause an infinite loop. Posted from: 110.142.158.46 User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0
I've got the same problem. After bringing my parser up to date with the relevant changes, I got an infinite loop parsing a <menuitem> start tag. The spec change that caused this is in http://html5.org/r/7640 There are two places where the old <command> element was listed as a start tag to match in a state ("in head", and "in body"). The change renamed it to <menuitem> in the latter, but just removed it from the first. (There was a third list which is commented out.) I think we need <menuitem> added to that list in the "in head" insertion mode.
Woops. I wasn't paying enough attention there. Fixed, I think.
Checked in as WHATWG revision r7871. Check-in comment: <menuitem> parsing bug http://html5.org/tools/web-apps-tracker?from=7870&to=7871