- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 8 May 2013 10:13:59 -0700
- To: Axel Dahmen <brille1@hotmail.com>
- Cc: www-style list <www-style@w3.org>
On Wed, May 8, 2013 at 10:09 AM, Axel Dahmen <brille1@hotmail.com> wrote:
> The following:
>
> <style type="text/css">
> .someElement:after
> {
> content: url("image.png");
> height: 1em;
> }
> </style>
>
> Doesn't resize the downloaded image.
>
> Hence, I'd like to suggest to provide a solution for styling generated
> content created by external resources, too.
This is a more specific problem than your wording suggests. It's a
result of the fact that anything in 'content' is forced into being an
anonymous inline box. What we want is the ability to say that the
pseudo-element becomes a replaced element, using the content at the
given url. This has been suggested before: last suggestion was to
allow you to specify something like "content: replaced url(foo);".
~TJ
Received on Wednesday, 8 May 2013 17:14:46 UTC