[svgwg] The IDL of SVGSVGElement.getElementById does not allow null (#923)

saschanaz has just created a new issue for https://github.com/w3c/svgwg:

== The IDL of SVGSVGElement.getElementById does not allow null ==
Per https://svgwg.org/svg-next/struct.html#__svg__SVGSVGElement__getElementById:

>The getElementById method, must return the first element in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), within the ‘[svg](https://svgwg.org/svg-next/struct.html#SVGElement)’ element's descendants, whose ID is elementId, or null if there is no such element.

But the corresponding IDL is `[Element](https://dom.spec.whatwg.org/#interface-element) [getElementById](https://svgwg.org/svg-next/struct.html#__svg__SVGSVGElement__getElementById)(DOMString elementId);` which does not allow null.

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/923 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 21 October 2023 11:24:16 UTC