Skip to content

Commit

Permalink
Fix backward README statement about document.hidden
Browse files Browse the repository at this point in the history
Closes #2205.
  • Loading branch information
domenic committed Apr 29, 2018
1 parent 0b22ce2 commit 9b25ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -112,7 +112,7 @@ jsdom does not have the capability to render visual content, and will act like a

When the `pretendToBeVisual` option is set to `true`, jsdom will pretend that it is rendering and displaying content. It does this by:

* Changing `document.hidden` to return `true` instead of `false`
* Changing `document.hidden` to return `false` instead of `true`
* Changing `document.visibilityState` to return `"visible"` instead of `"prerender"`
* Enabling `window.requestAnimationFrame()` and `window.cancelAnimationFrame()` methods, which otherwise do not exist

Expand Down

0 comments on commit 9b25ba5

Please sign in to comment.