Re: CSS on invalid HTML

On Thu, 3 Jun 2004, Boris Zbarsky wrote:

> CSS is applied to a DOM.

Is there an authoritative definition that says so? For CSS 1, CSS 2, or
the CSS 2.1 draft, or the CSS 3 drafts?

> So the only "defined" thing is that the CSS
> application should be consistent with the DOM the parser generated out of that
> invalid HTML.

That would mean that no requirements are imposed, since HTML
specifications do not set any requirements on error processing, or on the
generation of a DOM (even for valid documents).

Jukka "Yucca" Korpela,

Received on Thursday, 3 June 2004 11:44:42 UTC