W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2004

[whatwg] [web-apps] Some comments

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 12 Nov 2004 11:42:18 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0411121139180.8631@dhalsim.dreamhost.com>
On Fri, 12 Nov 2004, Jim Ley wrote:
> On Fri, 12 Nov 2004 10:31:34 +0000 (UTC), Ian Hickson <ian at hixie.ch> wrote:
> > On Sun, 29 Aug 2004, Jim Ley wrote:
> > > On Sun, 29 Aug 2004 17:23:27 +0000 (UTC), Ian Hickson <ian at hixie.ch> wrote:
> > > > On Thu, 26 Aug 2004, Anne van Kesteren wrote:
> > > > > Somehow, I feel this is contradicting with your other statement that
> > > > > Javascript may be required because it is an application.
> > > >
> > > > From a purely theoretical basis, JavaScript can be part of the content,
> > > > and CSS can't.
> > >
> > > Could you give a situation where the javascript is part of the content?
> > 
> > Sure. A JS-driven calculator, for instance.
> 
> So why are you claiming CSS is not content (a map with CSS positioned
> points of interest on top is an example of one of those.)

A map with CSS positioned points of interest is semantically meaningless, 
unless the relationship between the map and the points of interest is
given in the markup itself somehow.

The whole point of CSS is that is is cascadable -- that is, optional, 
overridable, not part of the content. If you use CSS to position things to 
convey meaning that otherwise would not be in the content, you are doing 
no better than using <font> instead of <h1>.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 12 November 2004 03:42:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:20 UTC