mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/SVG: Skip unwanted transformations on clip-path
This commit is contained in:
parent
3f8d4c2c92
commit
93f9ed72d2
Notes:
github-actions[bot]
2025-02-01 12:39:52 +00:00
Author: https://github.com/Gingeh
Commit: 93f9ed72d2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3178
Reviewed-by: https://github.com/kalenikaliaksandr
5 changed files with 44 additions and 6 deletions
|
@ -67,16 +67,16 @@ public:
|
|||
|
||||
GC::Ptr<Geometry::DOMMatrix> get_screen_ctm();
|
||||
|
||||
protected:
|
||||
SVGGraphicsElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
virtual Gfx::AffineTransform element_transform() const
|
||||
{
|
||||
return m_transform;
|
||||
}
|
||||
|
||||
protected:
|
||||
SVGGraphicsElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
Optional<Painting::PaintStyle> svg_paint_computed_value_to_gfx_paint_style(SVGPaintContext const& paint_context, Optional<CSS::SVGPaint> const& paint_value) const;
|
||||
|
||||
Gfx::AffineTransform m_transform = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue