Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb: Fix checks for elements in XMLDocumentBuilder
Previously, this just checked the tag names. For elements that exist in different namespaces (like HTMLScriptElement vs SVGScriptElement) this could lead to invalid casts, as the namespace was not checked. This switches to using the safer helpers on the DOM::Node.
- Loading branch information