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

LibWeb: Add a bunch of missing CEReactions

This is almost guaranteed not to be all CEReactions we need to add, but
this puts us in a much better situation.
This commit is contained in:
Luke Wilde 2023-03-01 01:45:18 +00:00 committed by Andreas Kling
parent 034aaf3f51
commit 32e27bc7fa
61 changed files with 256 additions and 253 deletions

View file

@ -74,8 +74,8 @@ interface Document : Node {
// FIXME: Should return an HTMLAllCollection
readonly attribute HTMLCollection all;
Element createElement(DOMString tagName, optional (DOMString or ElementCreationOptions) options = {});
Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (DOMString or ElementCreationOptions) options = {});
[CEReactions, NewObject] Element createElement(DOMString tagName, optional (DOMString or ElementCreationOptions) options = {});
[CEReactions, NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (DOMString or ElementCreationOptions) options = {});
DocumentFragment createDocumentFragment();
Text createTextNode(DOMString data);
Comment createComment(DOMString data);
@ -96,13 +96,13 @@ interface Document : Node {
readonly attribute DocumentType? doctype;
readonly attribute Element? documentElement;
attribute HTMLElement? body;
[CEReactions] attribute HTMLElement? body;
readonly attribute HTMLHeadElement? head;
readonly attribute HTMLScriptElement? currentScript;
readonly attribute DOMString readyState;
attribute DOMString title;
[CEReactions] attribute DOMString title;
boolean queryCommandSupported(DOMString commandId);
readonly boolean hidden;