mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
Specification: https://dom.spec.whatwg.org/#concept-event-dispatch This also introduces shadow roots due to it being a requirement of the event dispatcher. However, it does not introduce the full shadow DOM, that can be left for future work. This changes some event dispatches which require certain attributes to be initialised to a value.
17 lines
608 B
Text
17 lines
608 B
Text
interface Element : Node {
|
|
readonly attribute DOMString? namespaceURI;
|
|
readonly attribute DOMString tagName;
|
|
|
|
DOMString? getAttribute(DOMString qualifiedName);
|
|
void setAttribute(DOMString qualifiedName, DOMString value);
|
|
|
|
Element? querySelector(DOMString selectors);
|
|
ArrayFromVector querySelectorAll(DOMString selectors);
|
|
|
|
[LegacyNullToEmptyString] attribute DOMString innerHTML;
|
|
[Reflect] attribute DOMString id;
|
|
[Reflect=class] attribute DOMString className;
|
|
|
|
readonly attribute Element? nextElementSibling;
|
|
readonly attribute Element? previousElementSibling;
|
|
}
|