mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
bc15144972
HTMLElement is the only interface that includes ElementContentEditable in the HTML specification. This makes sense, as Element is also a base class for elements in other specifications such as SVG, which definitely shouldn't be editable. Also adds a test for the attribute based on what Andreas did in the video that added it.
13 lines
318 B
Plaintext
13 lines
318 B
Plaintext
interface Element : Node {
|
|
|
|
readonly attribute DOMString tagName;
|
|
|
|
DOMString? getAttribute(DOMString qualifiedName);
|
|
void setAttribute(DOMString qualifiedName, DOMString value);
|
|
|
|
attribute DOMString innerHTML;
|
|
[Reflect] attribute DOMString id;
|
|
[Reflect=class] attribute DOMString className;
|
|
}
|
|
|