mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Rename Layout::FrameBox => NavigableContainerViewport
This commit is contained in:
parent
eadeec8b8d
commit
443a8539e9
Notes:
github-actions[bot]
2024-11-26 17:59:43 +00:00
Author: https://github.com/awesomekling
Commit: 443a8539e9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2592
10 changed files with 61 additions and 61 deletions
|
@ -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)
|
||||
|
|
|
@ -143,7 +143,7 @@ GC::Ptr<Layout::Node> HTMLObjectElement::create_layout_node(CSS::StyleProperties
|
|||
case Representation::Children:
|
||||
return NavigableContainer::create_layout_node(move(style));
|
||||
case Representation::NestedBrowsingContext:
|
||||
// FIXME: Actually paint the nested browsing context's document, similar to how iframes are painted with FrameBox and NestedBrowsingContextPaintable.
|
||||
// FIXME: Actually paint the nested browsing context's document, similar to how iframes are painted with NavigableContainerViewport and NestedBrowsingContextPaintable.
|
||||
return nullptr;
|
||||
case Representation::Image:
|
||||
if (image_data())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue