Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Interface Node: Make Attr inherit from Node again #58

Closed
2 tasks
kkdomono opened this issue Jan 9, 2017 · 6 comments
Closed
2 tasks

Interface Node: Make Attr inherit from Node again #58

kkdomono opened this issue Jan 9, 2017 · 6 comments
Assignees
Milestone

Comments

@kkdomono
Copy link

kkdomono commented Jan 9, 2017

  • whatwg@625a074 Make Attr inherit from Node again
  • whatwg@f64b0c8 Put Attr.prototype.ownerElement back; give Attr.prototype.value a setter and an alias named textContent
@kkdomono
Copy link
Author

There are already 2 issues about Attr Node, for reference:
#4
#5

@wucongdonglai
Copy link

please take care of whatwg@2b76ab8

@yongsheng
Copy link
Collaborator

yongsheng commented Feb 14, 2017

tried in chrome and firefox, below 2 statements return 'true':
document.children[0].attributes[0] instanceof Node
document.children[0].attributes[0] instanceof Attr

will add it in DOM4.1 soon.

@yongsheng
Copy link
Collaborator

@linzhiping maybe I can fix this issue since #29 depends on it?

@yongsheng yongsheng self-assigned this Feb 14, 2017
@yongsheng yongsheng added this to the m3 milestone Feb 16, 2017
@yongsheng
Copy link
Collaborator

@wucongdonglai Attr.nodeValue is deprecated. see https://dom.spec.whatwg.org/#interface-attr.

@yongsheng
Copy link
Collaborator

related to #77

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants