-
Notifications
You must be signed in to change notification settings - Fork 39
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
base: master
Are you sure you want to change the base?
Conversation
@@ -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')); |
There was a problem hiding this comment.
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')); |
There was a problem hiding this comment.
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
@dperini feel free to close this, if the regression rather expected to be fixed. |
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