Skip to content

Commit

Permalink
Fix getComputedStyle() not-implemented message
Browse files Browse the repository at this point in the history
It mentioned window.computedStyle, which does not exist.
  • Loading branch information
davidmyersdev committed May 26, 2024
1 parent f5f2468 commit 7dc7ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsdom/browser/Window.js
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ function Window(options) {
throw new TypeError("Tried to get the computed style of a Shadow DOM pseudo-element.");
}

notImplemented("window.computedStyle(elt, pseudoElt)", this);
notImplemented("window.getComputedStyle(elt, pseudoElt)", this);
}

const declaration = new CSSStyleDeclaration();
Expand Down

0 comments on commit 7dc7ab9

Please sign in to comment.