- From: Nicholas Atkinson <nik@casawana.com>
- Date: Wed, 1 May 2002 12:53:23 +0100
- To: <www-style@w3.org>
> 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. Is there a CSS property for use with a generic XML document (such as NITF) that means "display as image"? And what about for indicating which attributes are the "image source", "image width" and "image height"? nik ----- Original Message ----- From: "Ian Hickson" <ian@hixie.ch> To: "Sigurd Lerstad" <sigler@bredband.no> Cc: <www-style@w3.org> Sent: 01 May 2002 12:13 Subject: Re: canvas <html> <body> > 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:55:52 UTC