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

editorial: Adapt to Page Visibility spec integration into HTML #332

Merged

Conversation

rakuco
Copy link
Member

@rakuco rakuco commented Dec 5, 2021

The Page Visibility spec has been merged into the HTML spec itself. This
merge got rid of some terms and changed a few others, so adjust things
accordingly here:

  • Instead of calling the "determine the visibility state", access a
    Document's "visibility state" directly.
  • The "external now hidden algorithm" no longer exists; now there are "page
    visibility change steps" called with a Document and a visibility state.
    (The HTML spec itself says specs should have the HTML spec call these
    steps so that the order of calls is defined in the spec, which we might
    need to do later).

Fixes #331


Preview | Diff

The Page Visibility spec has been merged into the HTML spec itself. This
merge got rid of some terms and changed a few others, so adjust things
accordingly here:

* Instead of calling the "determine the visibility state", access a
  Document's "visibility state" directly.
* The "external now hidden algorithm" no longer exists; now there are "page
  visibility change steps" called with a Document and a visibility state.
  (The HTML spec itself says specs should have the HTML spec call these
  steps so that the order of calls is defined in the spec, which we might
  need to do later).

Fixes w3c#331
@marcoscaceres
Copy link
Member

This looks great! Thanks @rakuco.

@marcoscaceres
Copy link
Member

CC'ing @noamr... as another spec that might need further integration into HTML down the road.

Maybe we should have a meta issue being linked to from the HTML spec?

@marcoscaceres
Copy link
Member

Filed whatwg/html#7396

@noamr
Copy link

noamr commented Dec 7, 2021

CC'ing @noamr... as another spec that might need further integration into HTML down the road.

Maybe we should have a meta issue being linked to from the HTML spec?

Good idea, thanks for opening the meta-issue.

@rakuco rakuco merged commit dc2008b into w3c:gh-pages Dec 7, 2021
@rakuco rakuco deleted the editorial/adapt-to-page-visibility-in-html branch December 7, 2021 08:32
rakuco added a commit to rakuco/wake-lock that referenced this pull request Dec 7, 2021
Follow-up to w3c#332. The Page Visibility spec was merged into the HTML spec
itself, so we do not need to explicitly reference it from `xref` anymore.
rakuco added a commit that referenced this pull request Dec 7, 2021
Follow-up to #332. The Page Visibility spec was merged into the HTML spec
itself, so we do not need to explicitly reference it from `xref` anymore.
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.

Visibility dependencies are broken
3 participants