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

update broken svg-test #102

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

Conversation

Manvel
Copy link

@Manvel Manvel commented Feb 13, 2024

As mentioned in #101 (comment) the test/xml/svg-test.html seem to be broken. Current PR updates the test. The tests seem to have been regressed since: 87fbfa9

@@ -19,8 +19,7 @@
console.log(el);

// EXTRAS: API for getting namespaced attribute values
console.log(NW.Dom.hasAttributeNS(el[0], 'xlink:href'));
console.log(NW.Dom.getAttributeNS(el[0], 'xlink:href'));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getAttributeNS doesn't seem to be implemented, sounds like a regression?

@@ -19,8 +19,7 @@
console.log(el);

// EXTRAS: API for getting namespaced attribute values
console.log(NW.Dom.hasAttributeNS(el[0], 'xlink:href'));
console.log(NW.Dom.getAttributeNS(el[0], 'xlink:href'));
console.log(NW.Dom.Snapshot.hasAttributeNS(el[0], 'xlink:href'));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hasAttributeNS is not available in Dom, but is available in Snapshot. Is that expected? This used to pass prior to 87fbfa9

@Manvel
Copy link
Author

Manvel commented Feb 13, 2024

@dperini feel free to close this, if the regression rather expected to be fixed.

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.

1 participant