Serenity Operating System
at master 21 lines 513 B view raw
1/* 2 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#include <LibWeb/DOM/Element.h> 8#include <LibWeb/Layout/BlockContainer.h> 9#include <LibWeb/Layout/InlineFormattingContext.h> 10#include <LibWeb/Layout/ReplacedBox.h> 11 12namespace Web::Layout { 13 14ReplacedBox::ReplacedBox(DOM::Document& document, DOM::Element& element, NonnullRefPtr<CSS::StyleProperties> style) 15 : Box(document, &element, move(style)) 16{ 17} 18 19ReplacedBox::~ReplacedBox() = default; 20 21}