mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
LibWeb: Change viewport ownership from BrowsingContext
to Navigable
This commit is contained in:
parent
4356d37b2c
commit
dd7bba66ed
23 changed files with 196 additions and 129 deletions
|
@ -32,8 +32,8 @@ void FrameBox::did_set_content_size()
|
|||
{
|
||||
ReplacedBox::did_set_content_size();
|
||||
|
||||
VERIFY(dom_node().nested_browsing_context());
|
||||
dom_node().nested_browsing_context()->set_size(paintable_box()->content_size());
|
||||
VERIFY(dom_node().content_navigable());
|
||||
dom_node().content_navigable()->set_size(paintable_box()->content_size());
|
||||
}
|
||||
|
||||
JS::GCPtr<Painting::Paintable> FrameBox::create_paintable() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue