- From: Patrick Andries <pandries@iti.qc.ca>
- Date: Fri, 12 Jul 2002 05:57:19 -0700
- To: "Ian Hickson" <ian@hixie.ch>, "Rowland Shaw" <Rowland.Shaw@crystaldecisions.com>
- Cc: <www-style@w3.org>
----- Message d'origine ----- De: "Ian Hickson" <ian@hixie.ch> > Rowland Shaw wrote: > > > > I also happen to agree with Ian Hickson; XML is not really suited to CSS as > > it is today, due to it's non treelike structure. > > > > For the record, I'd refine his example to: > > <rule> > > <selector> <!-- I guess there's nothing to stop you using Xpath queries > > instead --> > > *:test > test:* > > </selector> > > <declaration> > > <property>color</property> > > <value> > > <rgba red="25%" green="100%" blue="0%" alpha="0.5" /> > > </value> > > </declaration> > > </rule> > > But I still prefer (if only for it's conciseness): > > *|test > test|* { color: rgba( 25%, 100%, 0%, 0.5); } > > That still leaves the selector in its original CSS form, What is wrong -- as it has been mentioned several times -- with XPath[-like] selectors ? >and the four rgba values still unparsed. It also dropped all the comments, which is a big loss. A smiley was obviously missing here. Comments are available in XML... P. Andries
Received on Friday, 12 July 2002 08:58:23 UTC