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
commit 8b807e65d7
Notes: sideshowbarker 2024-07-19 03:28:17 +09:00
17 changed files with 223 additions and 54 deletions

View file

@ -33,6 +33,8 @@ namespace Web::DOM {
class Comment final : public CharacterData {
public:
using WrapperType = Bindings::CommentWrapper;
explicit Comment(Document&, const String&);
virtual ~Comment() override;