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

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 UTC