W3C home > Mailing lists > Public > www-style@w3.org > March 2004

Re: [css3-content] Some thoughts on the 'content' property in the WD

From: George Chavchanidze <gch@rmi.acnet.ge>
Date: Thu, 11 Mar 2004 12:10:53 -0400 (GMT)
To: www-style@w3.org
Message-ID: <Pine.GSO.3.96.1040311121012.3544A-100000@rmi-sun.rmi.acnet.ge>

> There are in my opinion three flaws with the 'content' property
> as currently defined. [1]
> 1) What happened to <attr> values?
>    CSS 2.1 allows them and the WD doesn't.
I also wonder why <attr> values are missing in CSS3 GRC.
Another issue is that neither CSS2.1 nor CSS3 does not mention
how to insert <attr> values in generated content if attributes 
have namespace prefix. For instance look at

<root xmlns:how="http://how-to-do-it.org">
<element attribute="attribute-value-1" how:attribute="attribute-value-2"/>

The question is how to retrieve value of prefixed attribute?
CSS says absolutely nothing about it so one may only guess how to handle
element {content:attr(attribute)}
element {content:attr(how:attribute)}
or maybe
@namespace how "http://how-to-do-it.org";
element {content:attr(how|attribute)}
element {content:attr(|attribute)}
element {content:attr(*|attribute)}
Received on Thursday, 11 March 2004 03:04:39 UTC

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