Re: [cssom-view] extending CSSStyleDeclaration with the CSS properties defined in SVG 1.1

On Fri, 19 Apr 2013 17:24:57 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 4/19/13 8:32 AM, Erik Dahlstrom wrote:
>> On Tue, 16 Apr 2013 17:05:06 +0200, Simon Pieters <simonp@opera.com>  
>> wrote:
>>
>> ...
>>> I've made the spec expose all CSS properties supported by the user  
>>> agent.
>>>
>>> https://dvcs.w3.org/hg/csswg/rev/360713dc452f
>>
>> For completeness might be nice if step 3.2 in "CSS property to IDL
>> attribute" mentioned the applicable ASCII range too, like in the "IDL
>> attribute to CSS property" steps.
>
> Sorry, I missed the original mail here somehow...
>
> I believe these properties need to be [TreatNullAs=EmptyString].  See  
> https://bugzilla.mozilla.org/show_bug.cgi?id=786105

Fixed in https://dvcs.w3.org/hg/csswg/rev/f2b03be2c8d5

On Fri, 19 Apr 2013 17:48:55 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 4/19/13 11:24 AM, Boris Zbarsky wrote:
>> I believe these properties need to be [TreatNullAs=EmptyString].  See
>> https://bugzilla.mozilla.org/show_bug.cgi?id=786105
>
> Oh, and some other issues, while I'm here:
>
> 1)  The 'float' property needs to become the 'cssFloat' IDL
>      attribute.  I believe this is the only weird case like that.

Also fixed in the above commit.

> 2)  It's not clear to me that removeProperty as currently defined does
>      the right thing for shorthands, because it's talking about
>      declarations but there is no declaration for the shorthand so
>      much; it's expanded out into its subproperties, right?

Can you please file a bug about this one? Thanks.

-- 
Simon Pieters
Opera Software

Received on Monday, 22 April 2013 10:13:23 UTC