Re: Error recovery spec

James Clark scripsit:

> Why does script have a PP of html?

It's the least restrictive.  Script is a PermittedChild of every element,
but it is not a root; if the first start-tag seen is <script>, we need
to add <html> in front of it.  IIRC, I was seeing invalid HTML in which
script preceded head.

-- 
May the hair on your toes never fall out!       John Cowan
        --Thorin Oakenshield (to Bilbo)         cowan@ccil.org

Received on Tuesday, 18 December 2012 19:18:34 UTC