W3C home > Mailing lists > Public > www-svg@w3.org > December 2012

Re: SVGTransformList WebIDL

From: David Zbarsky <dzbarsky@gmail.com>
Date: Thu, 20 Dec 2012 16:02:46 -0500
Message-ID: <CAF-RrDvQWXhoi-gPub0ERLhtHzADJXhwbEVMs2BYWMeutwm=eg@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: www-svg@w3.org
The SVGElement WebIDL should have both viewportElement and ownerSVGElement
be nullable.

"The nearest ancestor 'svg'
e<http://www.w3.org/TR/SVG2/struct.html#SVGElement>lement.
Null if the given element is the outermost svg element"
"The element which established the current viewport. Often, the nearest
ancestor 'svg' element. Null if the given element is the outermost svg
element."

On Thu, Dec 20, 2012 at 1:32 AM, Cameron McCormack <cam@mcc.id.au> wrote:

> On 20/12/12 5:10 PM, David Zbarsky wrote:
>
>> Should the following change be made to the WebIDL for SVGTransformList?
>>
>> -  SVGTransform consolidate();
>> +  SVGTransform? consolidate();
>>
>> The spec says consolidate returns "The resulting SVGTransform object
>> which becomes single item in the list. If the list was empty, then a
>> value of null is returned. "
>>
>
> Thanks, fixed.
>
>


-- 
Best Regards,
David Zbarsky
Received on Thursday, 20 December 2012 21:03:55 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:53 GMT