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]