Re: The .style IDL attribute

On Jun 7, 2013, at 5:38 PM, Simon Pieters <simonp@opera.com> wrote:

> 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.

Awesome. Can you please file a bug on the W3C bug tracker so that we don't miss the change? There should be a category for SVG2. I would vote for remove .style from SVG but would like to see CSSOM in a more stable state first.

Greetings,
Dirk

> 
>> 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 10:28:11 UTC