LibWeb: Rename Layout::FrameBox => NavigableContainerViewport

This commit is contained in:
Andreas Kling 2024-11-26 12:00:15 +01:00 committed by Andreas Kling
parent eadeec8b8d
commit 443a8539e9
Notes: github-actions[bot] 2024-11-26 17:59:43 +00:00
10 changed files with 61 additions and 61 deletions

View file

@ -15,7 +15,7 @@
#include <LibWeb/HTML/HTMLIFrameElement.h>
#include <LibWeb/HTML/Navigable.h>
#include <LibWeb/HTML/Parser/HTMLParser.h>
#include <LibWeb/Layout/FrameBox.h>
#include <LibWeb/Layout/NavigableContainerViewport.h>
namespace Web::HTML {
@ -36,7 +36,7 @@ void HTMLIFrameElement::initialize(JS::Realm& realm)
GC::Ptr<Layout::Node> HTMLIFrameElement::create_layout_node(CSS::StyleProperties style)
{
return heap().allocate<Layout::FrameBox>(document(), *this, move(style));
return heap().allocate<Layout::NavigableContainerViewport>(document(), *this, move(style));
}
void HTMLIFrameElement::adjust_computed_style(CSS::StyleProperties& style)