1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

LibWeb: Add API for finding NavigableContainer by content navigable

This is only needed because currently spec doesn't explicitly define
that navigable should have a pointer to associated container and when
this pointer should be set.
This commit is contained in:
Aliaksandr Kalenik 2023-04-23 17:50:08 +03:00 committed by Andreas Kling
parent 85a3a1c085
commit d85bdd3ac5
4 changed files with 17 additions and 8 deletions

View file

@ -60,7 +60,6 @@ public:
String target_name() const;
JS::GCPtr<NavigableContainer> container() const;
void set_container(JS::GCPtr<NavigableContainer>);
JS::GCPtr<TraversableNavigable> traversable_navigable() const;
JS::GCPtr<TraversableNavigable> top_level_traversable();