Skip to main content

Coverage / dom / Attr

Attr

Interface defined in DOM (spec). Inherits from Node → EventTarget; inherited members are listed on those pages.

Attr per engine
EngineInterfaceMembers present
warpdom0.1.6maintainer's enginePresent100% (7 of 7)None missing.
happy-dom21.0.3Present100% (7 of 7)None missing.
jsdom30.1.3Present100% (7 of 7)None missing.
linkedom0.18.13Present14% (1 of 7)Missing: namespaceURI, prefix, localName, name, ownerElement, specified

An interface can be present while some of its members are missing; the table lists them per engine. Existence only: “present” means the name is defined where Web IDL puts it (the prototype, the interface object for constants and static members, or the window itself for Window), not that it behaves as the standard says.

DOM7 members
Attr members from DOM
Memberwarpdommaintainer's enginehappy-domjsdomlinkedom
namespaceURIattributewarpdom: yeshappy-dom: yesjsdom: yeslinkedom: no
prefixattributewarpdom: yeshappy-dom: yesjsdom: yeslinkedom: no
localNameattributewarpdom: yeshappy-dom: yesjsdom: yeslinkedom: no
nameattributewarpdom: yeshappy-dom: yesjsdom: yeslinkedom: no
valueattributewarpdom: yeshappy-dom: yesjsdom: yeslinkedom: yes
ownerElementattributewarpdom: yeshappy-dom: yesjsdom: yeslinkedom: no
specifiedattributewarpdom: yeshappy-dom: yesjsdom: yeslinkedom: no

Report a wrong result