Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The IDL of SVGSVGElement.getElementById does not allow null #923

Open
saschanaz opened this issue Oct 21, 2023 · 0 comments · May be fixed by #924
Open

The IDL of SVGSVGElement.getElementById does not allow null #923

saschanaz opened this issue Oct 21, 2023 · 0 comments · May be fixed by #924

Comments

@saschanaz
Copy link
Member

saschanaz commented Oct 21, 2023

Per https://svgwg.org/svg-next/struct.html#__svg__SVGSVGElement__getElementById:

The getElementById method, must return the first element in tree order, within the ‘svg’ element's descendants, whose ID is elementId, or null if there is no such element.

But the corresponding IDL is Element getElementById(DOMString elementId); which does not allow null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant