8000 getAttribute() doesn't return null for not existing attributes · Issue #46 · xmldom/xmldom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
getAttribute() doesn't return null for not existing attributes #46
Closed
@domekomi

Description

@domekomi

getAttribute() and related methods don't return null for not existing attributes.
Methods below should be fixed to return null.

  • NamedNodeMap.prototype.getNamedItem()
  • Element.prototype.getAttribute()
  • Element.prototype.getAttributeNode()
  • Element.prototype.getAttributeNS()

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeSome thing that requires a version bump due to breaking changesbugSomething isn't workingspec:DOM-Level-2https://www.w3.org/TR/DOM-Level-2-Core/

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0