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

text/html in generated content (was Re: [Fwd: Re: CSS2 "Content"])

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 3 Apr 2003 19:41:01 -0500
To: www-style@w3.org
Message-ID: <20030404004101.GA19699@pool-151-197-29-35.phil.east.verizon.net>

On Thursday 2003-04-03 16:18 -0800, Yung-Fong Tang wrote:
> Simon Montagu wrote:
> >Yung-Fong Tang wrote:
> >>the questoin is
> >>
> >>in the :before or :after
> >> the URI point to a ".html" file instead of an image file. I don't 
> >>think netscape7 will INSERT that html fragement into the before/after 
> >>position, right?

:before and :after are for *stylistic* generated content.  I find it
highly unlikely that a file of type text/html would be stylistic, and
thus I think the specification should explicitly state that, for visual
media, the uri() values for generated content should only be used if the
resource at the URI is an image.  This helps to enforce separation of
content and presentation and makes it clear that a feature that would
add significant complexity to implementations of 'content' is not
required.

If CSS3 has a value for the content property that uses a URI that comes
from an attribute in the source document rather than from the
stylesheet, it might make sense to relax this restriction for such
values.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
Received on Thursday, 3 April 2003 19:42:38 GMT

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