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
parent 870915b594
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

@ -1272,8 +1272,8 @@ Variant<GC::Root<DOM::Event>, Empty> Window::event() const
return Empty {};
}
// https://w3c.github.io/csswg-drafts/cssom/#dom-window-getcomputedstyle
GC::Ref<CSS::CSSStyleDeclaration> Window::get_computed_style(DOM::Element& element, Optional<String> const& pseudo_element) const
// https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle
GC::Ref<CSS::CSSStyleProperties> Window::get_computed_style(DOM::Element& element, Optional<String> const& pseudo_element) const
{
// 1. Let doc be elts node document.