Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare Document.hidden with a boolean #419

Merged
merged 1 commit into from
Dec 16, 2021
Merged

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Dec 9, 2021

The spec confused the hidden attribute with the visibilityState attribute. The latter is a string that can take the value "hidden". The former is a boolean that is true when visibilityState equals "hidden".

This update fixes that and drops the now useless reference to the Page Visibility spec (now integrated in HTML).

(triggered by @kainino0x's comment in #412 (comment))


Preview | Diff

The spec confused the `hidden` attribute with the `visibilityState` attribute.
The latter is a string that can take the value `"hidden"`. The former is a
boolean that is true when `visibilityState` equals `"hidden"`.

This update fixes that and drops the now useless references to the
Page Visibility spec (now integrated in HTML).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants