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 13:50:16 -0800
Message-ID: <CAAWBYDC1FJBgRR-3F0VXf73BhbUWNJusSAZZHe8HSCB3WjGDZQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style@w3.org
On Fri, Feb 24, 2012 at 1:32 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/24/12 4:04 PM, Tab Atkins Jr. wrote:
>> Hm, why do you say that?  Inheritance is well-defined even if it's not
>> in the document
>
> But rule application is not.
>
> Specifically, if you have a disconnected document fragment, which rules
> should be applying to the elements in it?  Should inline styles be applying?
>  None of that stuff is really defined anywhere.
>
> getComputedStyle sort of makes up something, but it involves applying
> applying rules across documents and whatnot.  It's also not really all that
> workable in the face of dynamic changes.
>
>
>> Rendering an SVG paint server shouldn't require any information gained
>> from being in a displayed document, either.
>
>
> SVG assumes that styles can be computed in a sane way for all elements.
>
> Other specs don't define such sane ways of computing styles, yet.
>
> Maybe they should....  There are a lot of details to work out, though
> (scoped stylesheets in disconnected fragments; how should those work?).

Ah, gotcha.  Yeah, rule application's a bit hard.  Man, poking around
in previously-unspecified areas of the platform is annoying.

~TJ
Received on Friday, 24 February 2012 21:51:03 GMT

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