Re: Error recovery spec

Why does script have a PP of html?

On Wed, Dec 19, 2012 at 2:01 AM, John Cowan <cowan@mercury.ccil.org> wrote:

> Henry S. Thompson scripsit:
>
> > For HTML (4, as then was),  out of 77 elements, 52 had a preferred
> > parent in the schema I used, for 51 of which it was 'div', (the 52nd
> > was div itself, whose preferred parent was 'body').
>
> Here's TagSoup's current view:
>
> html does not have a PreferredParent.
>
> body, frameset, head, noframes, script have a PP of html.
>
> base, isindex, link, meta, style, title, bgsound have a PP of head.
>
> frame has a PP of frameset.
>
> dd, dt have a PP of dl.
>
> button, fieldset, input, label, select, textarea have a PP of form.
>
> legend has a PP of fieldset.
>
> optgroup, option have a PP of select.
>
> area has a PP of map.
>
> param has a PP of object.
>
> caption, col, colgroup, tbody, tfoot, thead have a PP of table.
>
> tr has a PP of tbody.
>
> td, th have a PP of tr.
>
> li has a PP of ul.
>
> All other known elements have a PP of body.
>
> --
> John Cowan   cowan@ccil.org    http://ccil.org/~cowan
> The known is finite, the unknown infinite; intellectually we stand
> on an islet in the midst of an illimitable ocean of inexplicability.
> Our business in every generation is to reclaim a little more land,
> to add something to the extent and the solidity of our possessions.
>         --Thomas Henry Huxley
>

Received on Tuesday, 18 December 2012 19:08:10 UTC