1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +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:
Andreas Kling 2022-03-09 14:37:48 +01:00
parent fabcee016f
commit acbdb95b0a
9 changed files with 487 additions and 0 deletions

View file

@ -121,6 +121,7 @@ class ShadowRoot;
class StaticNodeList;
class StaticRange;
class Text;
class TreeWalker;
enum class QuirksMode;
struct EventListenerOptions;
struct AddEventListenerOptions;
@ -508,6 +509,7 @@ class TextDecoderWrapper;
class TextEncoderWrapper;
class TextMetricsWrapper;
class TextWrapper;
class TreeWalkerWrapper;
class UIEventWrapper;
class URLConstructor;
class URLPrototype;