mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb/SVG: Use adjust_computed_style() to change <symbol> display
...Instead of misusing the presentational hint mechanism.
This commit is contained in:
parent
88e19ebc11
commit
d61791e6e8
Notes:
github-actions[bot]
2025-11-14 09:56:54 +00:00
Author: https://github.com/AtkinsSJ
Commit: d61791e6e8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6811
Reviewed-by: https://github.com/lpas
2 changed files with 3 additions and 20 deletions
|
|
@ -19,8 +19,7 @@ class SVGSymbolElement final : public SVGGraphicsElement
|
|||
public:
|
||||
virtual ~SVGSymbolElement() override = default;
|
||||
|
||||
virtual bool is_presentational_hint(FlyString const&) const override;
|
||||
virtual void apply_presentational_hints(GC::Ref<CSS::CascadedProperties>) const override;
|
||||
virtual void adjust_computed_style(CSS::ComputedProperties&) override;
|
||||
|
||||
private:
|
||||
virtual bool is_svg_symbol_element() const final { return true; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue