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

Re: [css3-content] CSS3 content property cannot specify the replaced-element with its attribute value?

From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
Date: Tue, 20 Apr 2004 21:03:54 +0200
Message-ID: <4085741A.4000001@annevankesteren.nl>
To: Masayuki Nakano <masayuki@toybox.jpn.org>
Cc: www-style@w3.org

> In CSS3 G & R contnet module, content property has contents.
> However, it cannot spcify replaced-element with its attribute value;
> In the case of HTML, OBJECT element is try the uri of "data"
> attribue value and if the try failed, its content is rendered.
> This behavior is not determined by CSS, it is determined in spec
> of source document spec.

One of the goals of css3-content is that it _can_ be described using CSS 
only, especially the IMG and OBJECT elements.

> Because CSS3 content property cannot specify them.
> In other words, an element in the XML document that is not known
> by UA cannot be specified by CSS.

Why can't it be described using CSS?


Works perfectly. (Note that this uses a proposal that has not made it 
into the draft, namely, that 'contents' should be somehow the "final 

> I think best choice of this issue is that adding to uriofattr function.
> So, OBJECT elements will be following rules:
>     content: uriofattr(data), contents;
> }

I think I understand the confusion, you are not aware of the 'attr()' 
value "specified" in css3-values [1]?

[1] <http://www.w3.org/TR/2001/WD-css3-values-20010713/#attribute>

  Anne van Kesteren
Received on Tuesday, 20 April 2004 15:04:24 UTC

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