Skip to content

Commit

Permalink
for getElementById, clarify result when multiple elements have the sa…
Browse files Browse the repository at this point in the history
…me id. Related to #182.
  • Loading branch information
nikosandronikos committed Jul 4, 2016
1 parent b842fc3 commit 0d66a10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions master/struct.html
Expand Up @@ -2545,6 +2545,9 @@ <h3 id="InterfaceSVGSVGElement">Interface SVGSVGElement</h3>
<p>The <b id="__svg__SVGSVGElement__getElementById">getElementById</b> method
searches the descendant elements of the <a>'svg'</a> element that this method is
called on for an element with an <a>'id'</a> attribute equal to <var>elementId</var>.
Which element must be returned, when more than one element within the search
space has an <a>'id'</a> attribute equal to <var>elementId</var>, is not
defined.
This method is deprecated and kept only for compatibility with legacy content.
Authors are encouraged to use alternative methods.</p>
<p>When getElementById(<var>elementId</var>) is called, the following steps
Expand Down

0 comments on commit 0d66a10

Please sign in to comment.