[html5] r8814 - [giow] (3) getSVGDocument() can return null (IDL fix). Fixing https://www.w3.org [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 24 13:14:25 PDT 2014


Author: ianh
Date: 2014-09-24 13:14:21 -0700 (Wed, 24 Sep 2014)
New Revision: 8814

Modified:
   complete.html
   index
   source
Log:
[giow] (3) getSVGDocument() can return null (IDL fix).
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25940
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2014-09-24 20:03:38 UTC (rev 8813)
+++ complete.html	2014-09-24 20:14:21 UTC (rev 8814)
@@ -19894,7 +19894,7 @@
   attribute DOMString <a href=#dom-dim-height id=the-iframe-element:dom-dim-height>height</a>;
   readonly attribute <a href=#document id=the-iframe-element:document>Document</a>? <a href=#dom-iframe-contentdocument id=the-iframe-element:dom-iframe-contentdocument>contentDocument</a>;
   readonly attribute <a href=#windowproxy id=the-iframe-element:windowproxy>WindowProxy</a>? <a href=#dom-iframe-contentwindow id=the-iframe-element:dom-iframe-contentwindow>contentWindow</a>;
-  <a href=#document id=the-iframe-element:document-2>Document</a> <a href=#dom-media-getsvgdocument id=the-iframe-element:dom-media-getsvgdocument>getSVGDocument</a>();
+  <a href=#document id=the-iframe-element:document-2>Document</a>? <a href=#dom-media-getsvgdocument id=the-iframe-element:dom-media-getsvgdocument>getSVGDocument</a>();
 
   // <a href="#HTMLIFrameElement-partial">also has obsolete members</a>
 };</pre>
@@ -20491,7 +20491,7 @@
   attribute DOMString <a href=#dom-embed-type id=the-embed-element:dom-embed-type>type</a>;
   attribute DOMString <a href=#dom-dim-width id=the-embed-element:dom-dim-width>width</a>;
   attribute DOMString <a href=#dom-dim-height id=the-embed-element:dom-dim-height>height</a>;
-  <a href=#document id=the-embed-element:document>Document</a> <a href=#dom-media-getsvgdocument id=the-embed-element:dom-media-getsvgdocument>getSVGDocument</a>();
+  <a href=#document id=the-embed-element:document>Document</a>? <a href=#dom-media-getsvgdocument id=the-embed-element:dom-media-getsvgdocument>getSVGDocument</a>();
   <a href=#dom-embed-caller id=the-embed-element:dom-embed-caller>legacycaller</a> any (any... arguments);
 
   // <a href="#HTMLEmbedElement-partial">also has obsolete members</a>
@@ -20753,7 +20753,7 @@
   attribute DOMString <a href=#dom-dim-height id=the-object-element:dom-dim-height>height</a>;
   readonly attribute <a href=#document id=the-object-element:document>Document</a>? <a href=#dom-object-contentdocument id=the-object-element:dom-object-contentdocument>contentDocument</a>;
   readonly attribute <a href=#windowproxy id=the-object-element:windowproxy>WindowProxy</a>? <a href=#dom-object-contentwindow id=the-object-element:dom-object-contentwindow>contentWindow</a>;
-  <a href=#document id=the-object-element:document-2>Document</a> <a href=#dom-media-getsvgdocument id=the-object-element:dom-media-getsvgdocument>getSVGDocument</a>();
+  <a href=#document id=the-object-element:document-2>Document</a>? <a href=#dom-media-getsvgdocument id=the-object-element:dom-media-getsvgdocument>getSVGDocument</a>();
 
   readonly attribute boolean <a href=#dom-cva-willvalidate id=the-object-element:dom-cva-willvalidate>willValidate</a>;
   readonly attribute <a href=#validitystate id=the-object-element:validitystate>ValidityState</a> <a href=#dom-cva-validity id=the-object-element:dom-cva-validity>validity</a>;

Modified: index
===================================================================
--- index	2014-09-24 20:03:38 UTC (rev 8813)
+++ index	2014-09-24 20:14:21 UTC (rev 8814)
@@ -19894,7 +19894,7 @@
   attribute DOMString <a href=#dom-dim-height id=the-iframe-element:dom-dim-height>height</a>;
   readonly attribute <a href=#document id=the-iframe-element:document>Document</a>? <a href=#dom-iframe-contentdocument id=the-iframe-element:dom-iframe-contentdocument>contentDocument</a>;
   readonly attribute <a href=#windowproxy id=the-iframe-element:windowproxy>WindowProxy</a>? <a href=#dom-iframe-contentwindow id=the-iframe-element:dom-iframe-contentwindow>contentWindow</a>;
-  <a href=#document id=the-iframe-element:document-2>Document</a> <a href=#dom-media-getsvgdocument id=the-iframe-element:dom-media-getsvgdocument>getSVGDocument</a>();
+  <a href=#document id=the-iframe-element:document-2>Document</a>? <a href=#dom-media-getsvgdocument id=the-iframe-element:dom-media-getsvgdocument>getSVGDocument</a>();
 
   // <a href="#HTMLIFrameElement-partial">also has obsolete members</a>
 };</pre>
@@ -20491,7 +20491,7 @@
   attribute DOMString <a href=#dom-embed-type id=the-embed-element:dom-embed-type>type</a>;
   attribute DOMString <a href=#dom-dim-width id=the-embed-element:dom-dim-width>width</a>;
   attribute DOMString <a href=#dom-dim-height id=the-embed-element:dom-dim-height>height</a>;
-  <a href=#document id=the-embed-element:document>Document</a> <a href=#dom-media-getsvgdocument id=the-embed-element:dom-media-getsvgdocument>getSVGDocument</a>();
+  <a href=#document id=the-embed-element:document>Document</a>? <a href=#dom-media-getsvgdocument id=the-embed-element:dom-media-getsvgdocument>getSVGDocument</a>();
   <a href=#dom-embed-caller id=the-embed-element:dom-embed-caller>legacycaller</a> any (any... arguments);
 
   // <a href="#HTMLEmbedElement-partial">also has obsolete members</a>
@@ -20753,7 +20753,7 @@
   attribute DOMString <a href=#dom-dim-height id=the-object-element:dom-dim-height>height</a>;
   readonly attribute <a href=#document id=the-object-element:document>Document</a>? <a href=#dom-object-contentdocument id=the-object-element:dom-object-contentdocument>contentDocument</a>;
   readonly attribute <a href=#windowproxy id=the-object-element:windowproxy>WindowProxy</a>? <a href=#dom-object-contentwindow id=the-object-element:dom-object-contentwindow>contentWindow</a>;
-  <a href=#document id=the-object-element:document-2>Document</a> <a href=#dom-media-getsvgdocument id=the-object-element:dom-media-getsvgdocument>getSVGDocument</a>();
+  <a href=#document id=the-object-element:document-2>Document</a>? <a href=#dom-media-getsvgdocument id=the-object-element:dom-media-getsvgdocument>getSVGDocument</a>();
 
   readonly attribute boolean <a href=#dom-cva-willvalidate id=the-object-element:dom-cva-willvalidate>willValidate</a>;
   readonly attribute <a href=#validitystate id=the-object-element:validitystate>ValidityState</a> <a href=#dom-cva-validity id=the-object-element:dom-cva-validity>validity</a>;

Modified: source
===================================================================
--- source	2014-09-24 20:03:38 UTC (rev 8813)
+++ source	2014-09-24 20:14:21 UTC (rev 8814)
@@ -24824,7 +24824,7 @@
   attribute DOMString <span data-x="dom-dim-height">height</span>;
   readonly attribute <span>Document</span>? <span data-x="dom-iframe-contentDocument">contentDocument</span>;
   readonly attribute <span>WindowProxy</span>? <span data-x="dom-iframe-contentWindow">contentWindow</span>;
-  <span>Document</span> <span data-x="dom-media-getSVGDocument">getSVGDocument</span>();
+  <span>Document</span>? <span data-x="dom-media-getSVGDocument">getSVGDocument</span>();
 };</pre>
    </dd>
   </dl><!--TOPIC:HTML-->
@@ -25585,7 +25585,7 @@
   attribute DOMString <span data-x="dom-embed-type">type</span>;
   attribute DOMString <span data-x="dom-dim-width">width</span>;
   attribute DOMString <span data-x="dom-dim-height">height</span>;
-  <span>Document</span> <span data-x="dom-media-getSVGDocument">getSVGDocument</span>();
+  <span>Document</span>? <span data-x="dom-media-getSVGDocument">getSVGDocument</span>();
   <span data-x="dom-embed-caller">legacycaller</span> any (any... arguments);
 };</pre>
     <div w-nodev>
@@ -25962,7 +25962,7 @@
   attribute DOMString <span data-x="dom-dim-height">height</span>;
   readonly attribute <span>Document</span>? <span data-x="dom-object-contentDocument">contentDocument</span>;
   readonly attribute <span>WindowProxy</span>? <span data-x="dom-object-contentWindow">contentWindow</span>;
-  <span>Document</span> <span data-x="dom-media-getSVGDocument">getSVGDocument</span>();
+  <span>Document</span>? <span data-x="dom-media-getSVGDocument">getSVGDocument</span>();
 
   readonly attribute boolean <span data-x="dom-cva-willValidate">willValidate</span>;
   readonly attribute <span>ValidityState</span> <span data-x="dom-cva-validity">validity</span>;



More information about the Commit-Watchers mailing list