Re: The .style IDL attribute

On Fri, 26 Apr 2013 14:54:57 +0200, Simon Pieters <simonp@opera.com> wrote:

> Hi
>
> Please remove the definition of SVGElement#style and replace it with  
> something like:
>
> [[
> If the user agent supports styling with CSS, the following IDL applies:
>
> SVGElement implements ElementCSSInlineStyle;
> ]]

I've now put this in CSSOM instead, as suggested by Hixie (for HTML).

https://dvcs.w3.org/hg/csswg/rev/ca20cc414744

When you want to integrate with CSSOM, just remove the style IDL attribute  
and reference CSSOM.

> and reference CSSOM.
>
> This should make .style in SVG be the same as .style in HTML, defined in  
> one place. The suggested wording would make the attribute absent if CSS  
> is not supported.
>
> Also see
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=21848
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=21849
>
> cheers


-- 
Simon Pieters
Opera Software

Received on Friday, 7 June 2013 08:38:15 UTC