LibWeb: Move get_elements_by_name implementation to ParentNode

Previously, we had two implementations of the same function in
`Document` and `Element`, which had inadvertantly diverged.
This commit is contained in:
Tim Ledbetter 2024-07-22 20:38:36 +01:00 committed by Andreas Kling
commit faf64bfb41
Notes: github-actions[bot] 2024-07-23 06:59:24 +00:00
6 changed files with 18 additions and 33 deletions

View file

@ -249,7 +249,6 @@ public:
void schedule_layout_update();
JS::NonnullGCPtr<HTMLCollection> get_elements_by_name(FlyString const&);
JS::NonnullGCPtr<HTMLCollection> get_elements_by_class_name(StringView);
JS::NonnullGCPtr<HTMLCollection> applets();
JS::NonnullGCPtr<HTMLCollection> anchors();