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

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.
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.

And from same reason, the alternate content may not be 'contents',
the alternate content may be called replaced-content.
This issue influence that generating ::before/::after pseudo-element.

I think best choice of this issue is that adding to uriofattr function.
So, OBJECT elements will be following rules:

OBJECT{
    content: uriofattr(data), contents;
}

I think this is smart and flexible.
# But, does this idea conflict with BASE element of HTML?

-- 
Masayuki Nakano(Mozilla-gumi)
<masayuki@toybox.jpn.org>

Received on Tuesday, 20 April 2004 13:34:03 UTC