Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb: Make Element::is_document_element() slightly nicer
By following the spec more closely, we can actually make this function a bit more efficient (by comparing the parent against the document instead of looking for the first element child of the document).
- Loading branch information