1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

LibWeb: Use [Reflect] for Element.id and Element.className :^)

This commit is contained in:
Andreas Kling 2020-07-24 13:25:42 +02:00
parent 8f31331e68
commit d1fdc1a2cf
2 changed files with 2 additions and 8 deletions

View file

@ -6,8 +6,8 @@ interface Element : Node {
void setAttribute(DOMString qualifiedName, DOMString value);
attribute DOMString innerHTML;
attribute DOMString id;
attribute DOMString className;
[Reflect] attribute DOMString id;
[Reflect=class] attribute DOMString className;
}