svg2: Make viewportElement and ownerSVGElement on SVGElement nullable.

details:   https://svgwg.org/hg/svg2/rev/f3178b053ca8
branches:  
changeset: 407:f3178b053ca8
user:      Cameron McCormack <cam@mcc.id.au>
date:      Fri Dec 21 15:33:20 2012 +1100
description:
Make viewportElement and ownerSVGElement on SVGElement nullable.

diffstat:

 master/types.html |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff --git a/master/types.html b/master/types.html
--- a/master/types.html
+++ b/master/types.html
@@ -1512,18 +1512,18 @@ event listener attributes that are suppo
   readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedString">SVGAnimatedString</a> <a href="types.html#__svg__SVGElement__className">className</a>;
   readonly attribute <a class="idlinterface" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleDeclaration">CSSStyleDeclaration</a> <a href="types.html#__svg__SVGElement__style">style</a>;
 
   <a class="idlinterface" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSValue">CSSValue</a> <a href="types.html#__svg__SVGElement__getPresentationAttribute">getPresentationAttribute</a>(DOMString name);
 
   attribute DOMString <a href="types.html#__svg__SVGElement__xmllang">xmllang</a>;
   attribute DOMString <a href="types.html#__svg__SVGElement__xmlspace">xmlspace</a>;
 
-  readonly attribute <a class="idlinterface" href="struct.html#InterfaceSVGSVGElement">SVGSVGElement</a> <a href="types.html#__svg__SVGElement__ownerSVGElement">ownerSVGElement</a>;
-  readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> <a href="types.html#__svg__SVGElement__viewportElement">viewportElement</a>;
+  readonly attribute <a class="idlinterface" href="struct.html#InterfaceSVGSVGElement">SVGSVGElement</a>? <a href="types.html#__svg__SVGElement__ownerSVGElement">ownerSVGElement</a>;
+  readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>? <a href="types.html#__svg__SVGElement__viewportElement">viewportElement</a>;
 };</pre>
 
 <dl class="interface">
   <dt class="attributes-header">Attributes:</dt>
   <dd>
     <dl class="attributes">
       <dt id="__svg__SVGElement__id" class="attribute first-child"><b>id</b><span class="idl-type-parenthetical"> (DOMString)</span></dt>
       <dd class="attribute">

Received on Friday, 21 December 2012 04:35:20 UTC