mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
parent
950e819ee7
commit
93712b24bf
Notes:
github-actions[bot]
2024-11-10 11:51:52 +00:00
Author: https://github.com/trflynn89
Commit: 93712b24bf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
4547 changed files with 104 additions and 113 deletions
42
Libraries/LibWeb/SVG/SVGForeignObjectElement.h
Normal file
42
Libraries/LibWeb/SVG/SVGForeignObjectElement.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Andreas Kling <andreas@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/SVG/SVGGraphicsElement.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
||||
// https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGForeignObjectElement
|
||||
class SVGForeignObjectElement final : public SVGGraphicsElement {
|
||||
WEB_PLATFORM_OBJECT(SVGForeignObjectElement, SVGGraphicsElement);
|
||||
JS_DECLARE_ALLOCATOR(SVGForeignObjectElement);
|
||||
|
||||
public:
|
||||
virtual ~SVGForeignObjectElement() override;
|
||||
|
||||
virtual JS::GCPtr<Layout::Node> create_layout_node(CSS::StyleProperties) override;
|
||||
|
||||
JS::NonnullGCPtr<SVG::SVGAnimatedLength> x();
|
||||
JS::NonnullGCPtr<SVG::SVGAnimatedLength> y();
|
||||
JS::NonnullGCPtr<SVG::SVGAnimatedLength> width();
|
||||
JS::NonnullGCPtr<SVG::SVGAnimatedLength> height();
|
||||
|
||||
private:
|
||||
SVGForeignObjectElement(DOM::Document& document, DOM::QualifiedName qualified_name);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
|
||||
|
||||
JS::GCPtr<SVG::SVGAnimatedLength> m_x;
|
||||
JS::GCPtr<SVG::SVGAnimatedLength> m_y;
|
||||
JS::GCPtr<SVG::SVGAnimatedLength> m_width;
|
||||
JS::GCPtr<SVG::SVGAnimatedLength> m_height;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue