You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
opportunities</span> are determined based on hardware constraints such as display refresh
93643
-
rates and other factors such as page performance or whether the page is in the background.
93644
-
Rendering opportunities typically occur at regular intervals.</p>
93702
+
rates and other factors such as page performance or whether the document's
93703
+
<span>visibility state</span> is "<code data-x="">visible</code>". Rendering opportunities
93704
+
typically occur at regular intervals.</p>
93645
93705
93646
93706
<p class="note">This specification does not mandate any particular model for selecting
93647
93707
rendering opportunities. But for example, if the browser is attempting to achieve a 60Hz
@@ -126095,6 +126155,9 @@ INSERT INTERFACES HERE
126095
126155
<dt id="refsDASH">[DASH]</dt>
126096
126156
<dd><cite><a href="https://www.iso.org/standard/65274.html">Dynamic adaptive streaming over HTTP (DASH)</a></cite>. ISO.</dd>
126097
126157
126158
+
<dt id="refsDEVICEPOSTURE">[DEVICEPOSTURE]</dt>
126159
+
<dd>(Non-normative) <cite><a href="https://w3c.github.io/device-posture/">Device Posture API</a></cite>, D. Gonzalez-Zuniga, K. Christiansen. W3C.</dd>
126160
+
126098
126161
<dt id="refsDOM">[DOM]</dt>
126099
126162
<dd><cite><a href="https://dom.spec.whatwg.org/">DOM</a></cite>, A. van Kesteren, A. Gregor, Ms2ger. WHATWG.</dd>
126100
126163
@@ -126488,6 +126551,9 @@ INSERT INTERFACES HERE
126488
126551
<dt id="refsWEBMCG">[WEBMCG]</dt>
126489
126552
<dd><cite><a href="https://www.webmproject.org/docs/container/">WebM Container Guidelines</a></cite>. The WebM Project.</dd>
126490
126553
126554
+
<dt id="refsWEBNFC">[WEBNFC]</dt>
126555
+
<dd>(Non-normative) <cite><a href="https://w3c.github.io/web-nfc/">Web NFC</a></cite>, F. Beaufort, K. Christiansen, Z. Kis. W3C.</dd>
126556
+
126491
126557
<dt id="refsWEBVTT">[WEBVTT]</dt>
126492
126558
<dd><cite><a href="https://w3c.github.io/webvtt/">WebVTT</a></cite>, S. Pieters. W3C.</dd>
0 commit comments