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

Re: [css3-images] Referencing <svg> element directly with element()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 24 Feb 2012 11:25:38 -0800
Message-ID: <CAAWBYDBsSt6WsbkTaj-2bhpNwFrY8KVacYw4nROAYA++idePYA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style@w3.org
On Fri, Feb 24, 2012 at 10:42 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/24/12 1:30 PM, Tab Atkins Jr. wrote:
>> We have an existence proof that it's workable, given that Firefox
>> already implements this behavior:
>> <http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1355>.
>> Just remove the / guarding the 'display' property, and the image will
>> revert back to its paint-source appearance, sans border or size
>> change.
>
> That's using an <img>, for which the bitmap it generates DOES NOT DEPEND ON
> THE STYLES.
>
> What we are discussing is your proposal that for an <svg> element the
> generated bitmap depend on styles, but on some totally different set of
> styles from the ones the element actually has assigned... and that this
> totally different set only be used in situations when the element happens to
> have certain "real" styles.  Is that a fair summary of your proposal?

Yes.

On further thought, though, I have no idea why I thought I needed to
remove the style dependencies in the first place.

~TJ
Received on Friday, 24 February 2012 19:26:25 GMT

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