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

LibWeb: Add Comment and DocumentFragment bindings, move querySelector...

...{All} to ParentNode. Exposes createDocumentFragment and
createComment on Document. Stubs out the document.body setter. 

Also adds ParentNode back :^).
This commit is contained in:
Luke 2020-08-17 19:14:30 +01:00 committed by Andreas Kling
parent 7b755e6a58
commit 8b807e65d7
17 changed files with 223 additions and 54 deletions

View file

@ -35,7 +35,10 @@ class StyleSheet;
}
namespace Web::DOM {
class CharacterData;
class Comment;
class Document;
class DocumentFragment;
class DocumentType;
class Element;
class Event;
@ -155,6 +158,7 @@ namespace Web::Bindings {
class CanvasRenderingContext2DWrapper;
class CharacterDataWrapper;
class CommentWrapper;
class DocumentTypeWrapper;
class DocumentWrapper;
class ElementWrapper;