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

Fix lookupNamespaceURI / lookupPrefix for Document / Attributes. #214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DrRataplan
Copy link

This fixes #213.

I could not figure out how to run the unit tests, running npm run test only runs one test...
I have added two of them though, testing the changed functions.

This version better aligns with the spec (https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespaceURIAlgo)

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.

Document#lookupNamespaceURI / Document#lookupPrefix are not implemented according to spec
1 participant