whatwg/dom

"Attr? setAttributeNode(Attr attr);"

Open

#205 opened on Apr 6, 2016

 (5 comments) (0 reactions) (0 assignees)HTML (338 forks)batch import
good first issue

Repository metrics

Stars
 (1,728 stars)
PR merge metrics
 (Avg merge 56d 18h) (6 merged PRs in 30d)

Description

https://dom.spec.whatwg.org/#dom-element-getattributenodens-namespace-localname-localname

Attr? setAttributeNode(Attr attr); and all the other methods like ...AttributeNode() are we now encouraged to use again? or should we prefer attributes.setNamedItem or Element.setAttribue?

Contributor guide