W3C home > Mailing lists > Public > www-style@w3.org > September 2003

Re: Selectors+accessibility (the XML threat)

From: Silas S. Brown <ssb22@cam.ac.uk>
Date: Thu, 4 Sep 2003 08:49:00 +0100
Message-ID: <16214.61036.182653.409074@ssb22.joh.cam.ac.uk>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Cc: www-style@w3.org

Hi,

Jukka K. Korpela writes:
> What would be needed is a rule that says (globally or for
> the elements that match a given selector, or set of
> selectors) "if property P has value X, then use the
> initial value for P instead, and set property Q to value
> Y". (This would involve primitive programming, in a sense,
> and would take CSS a little closer to a programming
> language. I don't think this should be an obstacle, but
> others might.)

OK, then why not recommend that the user be able to write
some Javascript (a scripting language that is already common
in most browsers) that manipulates the properties of the
elements before rendering?  Of course, that would mean
standardising some way of allowing the script to access the
CSS data structures (sort of like DOM but different).

Best wishes,           Silas

-- 
Silas S Brown, St John's College Cambridge UK http://www.cus.cam.ac.uk/~ssb22

"A fool will believe anything" - Proverbs 14:15 (TEV)
Received on Thursday, 4 September 2003 03:49:02 GMT

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