mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Create LayoutNodes for each SVG element
This brings the SVG API closer to the rest of LibWeb
This commit is contained in:
parent
f2055bb509
commit
455ce0b9c3
Notes:
sideshowbarker
2024-07-19 01:56:20 +09:00
Author: https://github.com/mattco98
Commit: 455ce0b9c3
Pull-request: https://github.com/SerenityOS/serenity/pull/3730
Reviewed-by: https://github.com/awesomekling
16 changed files with 402 additions and 122 deletions
|
@ -39,11 +39,6 @@ public:
|
|||
|
||||
virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override;
|
||||
|
||||
const RefPtr<Gfx::Bitmap> bitmap() const { return m_bitmap; }
|
||||
bool create_bitmap_as_top_level_svg_element();
|
||||
|
||||
virtual void paint(Gfx::Painter& painter, const SVGPaintingContext& context) override;
|
||||
|
||||
unsigned width() const;
|
||||
unsigned height() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue