1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +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

@ -27,6 +27,7 @@ set(SOURCES
DOM/CharacterData.idl
DOM/Comment.cpp
DOM/Document.cpp
DOM/DocumentFragment.cpp
DOM/DocumentType.cpp
DOM/Element.cpp
DOM/ElementFactory.cpp
@ -210,7 +211,9 @@ function(libweb_js_wrapper class)
endfunction()
libweb_js_wrapper(DOM/CharacterData)
libweb_js_wrapper(DOM/Comment)
libweb_js_wrapper(DOM/Document)
libweb_js_wrapper(DOM/DocumentFragment)
libweb_js_wrapper(DOM/DocumentType)
libweb_js_wrapper(DOM/Element)
libweb_js_wrapper(DOM/Event)