LibWeb/HTML: Return CSSStyleProperties from getComputedStyle()

Corresponds to 94fdd8ab1e
This commit is contained in:
Sam Atkins 2025-07-15 15:53:10 +01:00 committed by Jelle Raaijmakers
commit 511e282002
Notes: github-actions[bot] 2025-07-16 07:52:14 +00:00
3 changed files with 5 additions and 5 deletions

View file

@ -204,7 +204,7 @@ public:
Variant<GC::Root<DOM::Event>, Empty> event() const;
[[nodiscard]] GC::Ref<CSS::CSSStyleDeclaration> get_computed_style(DOM::Element&, Optional<String> const& pseudo_element) const;
[[nodiscard]] GC::Ref<CSS::CSSStyleProperties> get_computed_style(DOM::Element&, Optional<String> const& pseudo_element) const;
WebIDL::ExceptionOr<GC::Ref<CSS::MediaQueryList>> match_media(String const& query);
[[nodiscard]] GC::Ref<CSS::Screen> screen();