W3C home > Mailing lists > Public > www-style@w3.org > June 2004

Re: CSS on invalid HTML

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 3 Jun 2004 18:44:40 +0300 (EEST)
To: www-style@w3.org
Message-ID: <Pine.GSO.4.58.0406031842210.21748@korppi.cs.tut.fi>

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, http://www.cs.tut.fi/~jkorpela/
Received on Thursday, 3 June 2004 11:44:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:30 GMT