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 10:30:35 -0800
Message-ID: <CAAWBYDCmMLTO_Qp2pG7+j_TWTOFqqgsQZUCd0Q7VHXfScEzauA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style@w3.org
On Fri, Feb 24, 2012 at 10:07 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/24/12 1:02 PM, Tab Atkins Jr. wrote:
>> This is fine, actually.  Even if the property that caused it to be not
>> rendered is inherited (and switching off the inheritance would return
>> it to being rendered), it's already in the "draw as a paint source"
>> clause.  As a paint source, it uses its intrinsic appearance, which is
>> completely unaffected by layout.
> This is an incredibly huge pain to implement in the face of dynamic chages,
> because to do dynamic changes properly you need a useful concept of the "old
> style", and you're completely breaking that because the "old style" suddenly
> has circular dependencies on itself.
> This approach is not workable as currently written, imo.

We have an existence proof that it's workable, given that Firefox
already implements this behavior:
Just remove the / guarding the 'display' property, and the image will
revert back to its paint-source appearance, sans border or size

Received on Friday, 24 February 2012 18:31:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:56 UTC