1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:07:46 +00:00

IDL: Fix syntax errors

All attributes must have an "attribute" keyword, and "any?" is invalid
(as "any" includes "null" as well).
This commit is contained in:
Matthew Olsson 2023-11-07 19:30:05 -07:00 committed by Andreas Kling
parent 26e6c47d0a
commit 3ff481938e
3 changed files with 4 additions and 4 deletions

View file

@ -106,8 +106,8 @@ interface Document : Node {
[CEReactions] attribute DOMString title;
boolean queryCommandSupported(DOMString commandId);
readonly boolean hidden;
readonly DOMString visibilityState;
readonly attribute boolean hidden;
readonly attribute DOMString visibilityState;
[NewObject] NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
[NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);