-
Notifications
You must be signed in to change notification settings - Fork 23
Spec got folded into HTML #74
Comments
Let's discuss at TPAC |
- 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
Discussed at TPAC, consensus was that this is OK... OK To close? |
This is indeed OK to fold into HTML, per the WG discussion. |
@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 |
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.
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.
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.
Just +1 from me as editor. |
Spec got folded into HTML, see: w3c/page-visibility#74
Spec got folded into HTML, see: w3c/page-visibility#74
@plehegar I suppose it's OK to proceed? |
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.
We should update TR as this spec text is now obsolete. The README needs to be updated and the repo should be archived. |
SGTM. See also w3c/whatwg-coord#16 . |
Sent a (belated) CFC |
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.
CFC passed. @caribouW3 can we publish as Discontinued? Thanks! :) |
Published: https://www.w3.org/TR/2022/DISC-page-visibility-2-20220623/ I'll archive this repository tomorrow. |
Most of the details of the spec are already part of the HTML spec (the
visibilitychange
event). If we can movevisiblityState
andhidden
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? :)The text was updated successfully, but these errors were encountered: