mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Make NavigableContainerViewport always have a NavigableContainer
Let's not limit this to only corresponding to an HTMLIFrameElement.
This commit is contained in:
parent
443a8539e9
commit
11d966f3ba
Notes:
github-actions[bot]
2024-11-26 17:59:36 +00:00
Author: https://github.com/awesomekling
Commit: 11d966f3ba
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2592
2 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ namespace Web::Layout {
|
|||
|
||||
GC_DEFINE_ALLOCATOR(NavigableContainerViewport);
|
||||
|
||||
NavigableContainerViewport::NavigableContainerViewport(DOM::Document& document, DOM::Element& element, CSS::StyleProperties style)
|
||||
NavigableContainerViewport::NavigableContainerViewport(DOM::Document& document, HTML::NavigableContainer& element, CSS::StyleProperties style)
|
||||
: ReplacedBox(document, element, move(style))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue