W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: box-shadow and border-image and dashes

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 19 Feb 2009 10:33:35 +1300
Message-ID: <11e306600902181333y287a6039rd16afbb87f4f4898@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Thu, Feb 19, 2009 at 5:14 AM, Brad Kemper <brad.kemper@gmail.com> wrote:

> I am leaning towards Hyatt's idea of also having a separate "shadow"
> property, that used the alpha of everything in the box (including the
> contents and text, perhaps, if the background was not opaque (maybe a
> keyword to switch content-shadowing on or off?)) to determine where the
> shadow went. Then we could use that for this automatically generated
> image-border shadow too.
>

You can actually do this today in Firefox using our extension that lets SVG
filters apply to HTML --- non-standard so far, but I think it's been viewed
receptively by the SVG WG.

Try this in FF3.1 trunk: http://people.mozilla.org/~roc/textarea-shadow.html

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Wednesday, 18 February 2009 21:34:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT