summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Range.h
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-01-31 19:10:12 +0000
committerAndreas Kling <kling@serenityos.org>2022-02-26 12:53:32 +0100
commit386ee5ab17f42863485abef062ebb677c3ca3326 (patch)
tree5d6a81f572cff5a356b194bacb6901a698c772a7 /Userland/Libraries/LibWeb/DOM/Range.h
parent4c08757ff9a732313359039731a53e2271856183 (diff)
downloadserenity-386ee5ab17f42863485abef062ebb677c3ca3326.zip
LibWeb: Implement Range.intersectsNode
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Range.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Range.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Range.h b/Userland/Libraries/LibWeb/DOM/Range.h
index 6b62b1d44c..2d2b986d34 100644
--- a/Userland/Libraries/LibWeb/DOM/Range.h
+++ b/Userland/Libraries/LibWeb/DOM/Range.h
@@ -57,6 +57,8 @@ public:
// Note: Its functionality (disabling a Range object) was removed, but the method itself is preserved for compatibility.
}
+ bool intersects_node(Node const&) const;
+
private:
explicit Range(Document&);