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

DOM Inspector: Fallback to .childNodes when .children not present #2242

Merged
merged 1 commit into from
Feb 28, 2017

Conversation

nicole-ashley
Copy link
Contributor

When the browser does not support .children on the svgRoot element (MS Edge, for example), filter childNodes for elements and use that list instead.

Happy to take feedback on the implementation, or location of the helper function to match code style, etc.

When the browser does not support .children on the svgRoot element
(MS Edge, for example), filter childNodes for elements and use that
list instead.
@nicole-ashley
Copy link
Contributor Author

@gorhill, any thoughts on this one?

@gorhill gorhill merged commit a121f22 into gorhill:master Feb 28, 2017
@gorhill
Copy link
Owner

gorhill commented Feb 28, 2017

Sorry, forgot about this. Looks good to me, thanks.

@nicole-ashley
Copy link
Contributor Author

It was over Christmas, I don't blame you. Thanks!

@nicole-ashley nicole-ashley deleted the svg-children-logger-fix branch February 28, 2017 17:50
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 this pull request may close these issues.

2 participants