[whatwg/dom] getComputedStyle should also be a method of the element (Issue #1057)

Why is it necessary to write:

```window.getComputedStyle(element);```

rather than the object-oriented:

```element.getComputedStyle();```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1057
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1057@github.com>

Received on Saturday, 12 February 2022 23:39:56 UTC