LibWeb: Move presentation attrs from SVGGraphicsElement to SVGElement

This matches how other browser behave and fixes a bunch of WPT tests.
This commit is contained in:
Andreas Kling 2025-04-24 19:48:58 +02:00 committed by Jelle Raaijmakers
commit 10cff06a95
Notes: github-actions[bot] 2025-04-25 08:19:32 +00:00
11 changed files with 700 additions and 69 deletions

View file

@ -28,6 +28,9 @@ public:
bool should_include_in_accessibility_tree() const;
virtual Optional<ARIA::Role> default_role() const override;
virtual bool is_presentational_hint(FlyString const&) const override;
virtual void apply_presentational_hints(GC::Ref<CSS::CascadedProperties>) const override;
protected:
SVGElement(DOM::Document&, DOM::QualifiedName);