mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 10:15:08 +00:00

Reading the property has a few warts (see FIXMEs in the included tests), but with this the timestamps on http://45.33.8.238/ get localized :^) Since the Date() constructor currently ignores all arguments, they don't get localized correctly but are all set to the current time, but hey, it's still progress from a certain point of view.
19 lines
571 B
Text
19 lines
571 B
Text
interface Element : Node {
|
|
|
|
readonly attribute DOMString tagName;
|
|
|
|
DOMString? getAttribute(DOMString qualifiedName);
|
|
void setAttribute(DOMString qualifiedName, DOMString value);
|
|
|
|
Element? querySelector(DOMString selectors);
|
|
ArrayFromVector querySelectorAll(DOMString selectors);
|
|
|
|
attribute DOMString innerHTML;
|
|
attribute DOMString innerText;
|
|
[Reflect] attribute DOMString id;
|
|
[Reflect=class] attribute DOMString className;
|
|
|
|
readonly attribute Element? nextElementSibling;
|
|
readonly attribute Element? previousElementSibling;
|
|
}
|
|
|