Skip to content

getAttribute() doesn't return null for not existing attributes #46

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

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions