You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method is defined by CSSOM, not DOM, so I don't think this is the right repo for the issue. Looks like it has come up there previously, though: w3c/csswg-drafts#379. (I don't know the history for why it's like this - FWIW I have mistyped it many times myself, forgetting its quirky placement).
Why is it necessary to write:
window.getComputedStyle(element);
rather than the object-oriented:
element.getComputedStyle();
The text was updated successfully, but these errors were encountered: