Newer
Older
minerva / Userland / Libraries / LibWeb / DOM / Attr.idl
@minerva minerva on 13 Jul 481 bytes Initial commit
#import <DOM/Node.idl>
#import <DOM/Element.idl>

// https://dom.spec.whatwg.org/#interface-attr
[Exposed=Window]
interface Attr : Node {
    readonly attribute DOMString? namespaceURI;
    readonly attribute DOMString? prefix;
    readonly attribute DOMString localName;
    readonly attribute DOMString name;
    [CEReactions] attribute DOMString value;

    readonly attribute Element? ownerElement;

    readonly attribute boolean specified; // useless; always returns true
};