mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibWeb: Add support for DOM's TreeWalker
This patch adds TreeWalker (created via Document.createTreeWalker()) which allows you to traverse a filtered view of the DOM in all directions.
This commit is contained in:
parent
fabcee016f
commit
acbdb95b0a
9 changed files with 487 additions and 0 deletions
|
@ -100,6 +100,7 @@ set(SOURCES
|
|||
DOM/StaticRange.cpp
|
||||
DOM/Text.cpp
|
||||
DOM/Text.idl
|
||||
DOM/TreeWalker.cpp
|
||||
DOMParsing/InnerHTML.cpp
|
||||
DOMTreeModel.cpp
|
||||
Dump.cpp
|
||||
|
@ -444,6 +445,7 @@ libweb_js_wrapper(DOM/Range)
|
|||
libweb_js_wrapper(DOM/ShadowRoot)
|
||||
libweb_js_wrapper(DOM/StaticRange)
|
||||
libweb_js_wrapper(DOM/Text)
|
||||
libweb_js_wrapper(DOM/TreeWalker)
|
||||
libweb_js_wrapper(Encoding/TextDecoder)
|
||||
libweb_js_wrapper(Encoding/TextEncoder)
|
||||
libweb_js_wrapper(Geometry/DOMRect)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue