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

@ -71,8 +71,8 @@ interface Window : EventTarget {
// https://dom.spec.whatwg.org/#interface-window-extensions
[Replaceable] readonly attribute (Event or undefined) event; // legacy
// https://w3c.github.io/csswg-drafts/cssom/#extensions-to-the-window-interface
[NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional CSSOMString? pseudoElt);
// https://drafts.csswg.org/cssom/#extensions-to-the-window-interface
[NewObject] CSSStyleProperties getComputedStyle(Element elt, optional CSSOMString? pseudoElt);
// https://w3c.github.io/csswg-drafts/cssom-view/#extensions-to-the-window-interface
[NewObject] MediaQueryList matchMedia(CSSOMString query);