W3C home > Mailing lists > Public > www-style@w3.org > May 2002

Re: canvas <html> <body>

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 01 May 2002 12:13:36 +0100
Message-ID: <3CCFCDE0.1070606@hixie.ch>
To: Sigurd Lerstad <sigler@bredband.no>
CC: www-style@w3.org
Sigurd Lerstad wrote:
 > But I thought that XHTML was supposed to be just like any other XML format
 > that defines a set of tags, but how those tags are rendered is only
 > determined with a CSS stylesheet,

There are some aspects of XHTML (such as form controls) that can't currently be
described in CSS, but the eventual aim is basically as you describe, yes.

 > If one wants to make a generic XML viewer with CSS capabilities, should one
 > then start displaying from the root (for example <html> in XHTML) element,
 > and set in the style sheet that <head> is display:none, same for script etc.

That is correct. For an example of such a browser, look at Netscape 6.x.

However, this does not preclude browsers from having default stylesheets, for
example Netscape 6.x ships with a default stylesheet for XHTML. This "user 
agent" stylesheet is then cascaded with the author's stylesheet and the user's 
stylesheet (if any) and the result is what is used to style the document.

Ian Hickson
``The inability of a user agent to implement part of this specification due to
the limitations of a particular device (e.g., non interactive user agents will
probably not implement dynamic pseudo-classes because they make no sense
without interactivity) does not imply non-conformance.'' -- Selectors, Sec13
Received on Wednesday, 1 May 2002 07:13:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:01 UTC