[whatwg] On tag inference

Anne van Kesteren fora at annevankesteren.nl
Sun Sep 4 09:46:58 PDT 2005


Quoting Henri Sivonen <hsivonen at iki.fi>:
> What about the interaction of <section> with <head> and <body>?

You said yourself that any element other than a few known ones closes the HEAD
element and implies a BODY element start tag.

So the DOM result for something like |<title>foo</title><section>...| would
always be:

HTML
  - HEAD
  - - TITLE
  - BODY
  - - SECTION

... imho.

Kind regards,

Anne


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list