[whatwg] HTML5 is broken: <menuitem> causes infinite loop
mikeday at yeslogic.com
Wed May 8 22:47:08 PDT 2013
Hilarious spec bug of the week: HTML5 requires implementations to loop
indefinitely if they see a <menuitem> start tag.
184.108.40.206.7 "in body" insertion mode
=> see a <menuitem> start tag, process using rules for "in head"
220.127.116.11.4 "in head" insertion mode
=> see <menuitem>, act as if </head> and reprocess
18.104.22.168.6 "after head" insertion mode
=> see <menuitem>, act as if <body> and reprocess
...and we're back at "in body" insertion mode, and will continue to
bounce around with the <menuitem> start tag token making absolutely no
What is the <menuitem> tag supposed to be, anyway? A test to ensure that
implementers are awake, like the </sarcasm> close tag?
More information about the whatwg