Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Spec got folded into HTML #74

Closed
noamr opened this issue Oct 16, 2021 · 11 comments
Closed

Spec got folded into HTML #74

noamr opened this issue Oct 16, 2021 · 11 comments
Assignees

Comments

@noamr
Copy link

noamr commented Oct 16, 2021

Most of the details of the spec are already part of the HTML spec (the visibilitychange event). If we can move visiblityState and hidden properties to HTML, and add some prose on how browsers can decide that a doc is becoming visible/invisble in other ways (e.g switch tab, mobile app switcher etc), there won't be much left for this spec... maybe it's past its incubation? :)

@yoavweiss
Copy link
Contributor

Let's discuss at TPAC

noamr pushed a commit to noamr/html that referenced this issue Oct 18, 2021
- Expose the necessary attributes in the document WebIDL
- Define "system visibility state" and document "visibility state"
  to represent the algorithms for updating the visibility
- Update current reference of "page is in the background" to refer
  to the new definitions.

To fully integrate specs referring to the Page Visibility spec
with the changes in the HTML spec, i.e. defining the visibilitychange
event, the different specs need to be called explicitly when the
visibility of the page changes.

For that, the visibilityState of the document needs to be properly
defined within HTML.

See w3c/page-visibility#74
and w3c/page-visibility#73
@noamr
Copy link
Author

noamr commented Oct 29, 2021

Let's discuss at TPAC

Discussed at TPAC, consensus was that this is OK... OK To close?

@yoavweiss
Copy link
Contributor

This is indeed OK to fold into HTML, per the WG discussion.
@caribouW3 - What should we do with this document? Publish as a note for historical purposes? Is the WG decision at TPAC enough or should we send a CFC?

@caribouW3
Copy link
Member

@yoavweiss It's not time-critical so I'd say that a CfC would be nice, with a decision to end work and publish as a Discontinued Draft: https://www.w3.org/2021/Process-20211102/#abandon-draft

domenic pushed a commit to noamr/html that referenced this issue Nov 3, 2021
Defines the document.hidden and document.visibilityState APIs in the HTML Standard, while improving their definitions to be more rigorous. This is similar to 3285b98 which did the same for the visibilitychange event.

Also updates the discussion of "page is in the background" to refer to the new definitions.

See w3c/page-visibility#74 and w3c/page-visibility#73 for more background.
domenic pushed a commit to noamr/html that referenced this issue Nov 3, 2021
Defines the document.hidden and document.visibilityState APIs in the HTML Standard, while improving their definitions to be more rigorous. This is similar to 3285b98 which did the same for the visibilitychange event.

Also updates the discussion of "page is in the background" to refer to the new definitions.

See w3c/page-visibility#74 and w3c/page-visibility#73 for more background.
domenic pushed a commit to whatwg/html that referenced this issue Nov 3, 2021
Defines the document.hidden and document.visibilityState APIs in the HTML Standard, while improving their definitions to be more rigorous. This is similar to 3285b98 which did the same for the visibilitychange event.

Also updates the discussion of "page is in the background" to refer to the new definitions.

See w3c/page-visibility#74 and w3c/page-visibility#73 for more background.
@marcoscaceres
Copy link
Member

Just +1 from me as editor.

tidoust added a commit to w3c/browser-specs that referenced this issue Nov 8, 2021
Spec got folded into HTML, see:
w3c/page-visibility#74
tidoust added a commit to w3c/browser-specs that referenced this issue Nov 8, 2021
Spec got folded into HTML, see:
w3c/page-visibility#74
@caribouW3
Copy link
Member

@plehegar I suppose it's OK to proceed?

dandclark pushed a commit to dandclark/html that referenced this issue Dec 4, 2021
Defines the document.hidden and document.visibilityState APIs in the HTML Standard, while improving their definitions to be more rigorous. This is similar to 3285b98 which did the same for the visibilitychange event.

Also updates the discussion of "page is in the background" to refer to the new definitions.

See w3c/page-visibility#74 and w3c/page-visibility#73 for more background.
@marcoscaceres marcoscaceres changed the title Maybe we should fold this spec into HTML? Spec got folded into HTML May 18, 2022
@marcoscaceres
Copy link
Member

marcoscaceres commented May 18, 2022

We should update TR as this spec text is now obsolete. The README needs to be updated and the repo should be archived.

@plehegar
Copy link
Member

SGTM. See also w3c/whatwg-coord#16 .

@yoavweiss
Copy link
Contributor

Sent a (belated) CFC

mfreed7 pushed a commit to mfreed7/html that referenced this issue Jun 3, 2022
Defines the document.hidden and document.visibilityState APIs in the HTML Standard, while improving their definitions to be more rigorous. This is similar to 3285b98 which did the same for the visibilitychange event.

Also updates the discussion of "page is in the background" to refer to the new definitions.

See w3c/page-visibility#74 and w3c/page-visibility#73 for more background.
@yoavweiss
Copy link
Contributor

CFC passed. @caribouW3 can we publish as Discontinued? Thanks! :)

@caribouW3
Copy link
Member

Published: https://www.w3.org/TR/2022/DISC-page-visibility-2-20220623/

I'll archive this repository tomorrow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants