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
93646
-
rates and other factors such as page performance or whether the page is in the background.
93647
-
Rendering opportunities typically occur at regular intervals.</p>
93705
+
rates and other factors such as page performance or whether the document's
93706
+
<span>visibility state</span> is "<code data-x="">visible</code>". Rendering opportunities
93707
+
typically occur at regular intervals.</p>
93648
93708
93649
93709
<p class="note">This specification does not mandate any particular model for selecting
93650
93710
rendering opportunities. But for example, if the browser is attempting to achieve a 60Hz
@@ -126106,6 +126166,9 @@ INSERT INTERFACES HERE
126106
126166
<dt id="refsDASH">[DASH]</dt>
126107
126167
<dd><cite><a href="https://www.iso.org/standard/65274.html">Dynamic adaptive streaming over HTTP (DASH)</a></cite>. ISO.</dd>
126108
126168
126169
+
<dt id="refsDEVICEPOSTURE">[DEVICEPOSTURE]</dt>
126170
+
<dd>(Non-normative) <cite><a href="https://w3c.github.io/device-posture/">Device Posture API</a></cite>, D. Gonzalez-Zuniga, K. Christiansen. W3C.</dd>
126171
+
126109
126172
<dt id="refsDOM">[DOM]</dt>
126110
126173
<dd><cite><a href="https://dom.spec.whatwg.org/">DOM</a></cite>, A. van Kesteren, A. Gregor, Ms2ger. WHATWG.</dd>
126111
126174
@@ -126499,6 +126562,9 @@ INSERT INTERFACES HERE
126499
126562
<dt id="refsWEBMCG">[WEBMCG]</dt>
126500
126563
<dd><cite><a href="https://www.webmproject.org/docs/container/">WebM Container Guidelines</a></cite>. The WebM Project.</dd>
126501
126564
126565
+
<dt id="refsWEBNFC">[WEBNFC]</dt>
126566
+
<dd>(Non-normative) <cite><a href="https://w3c.github.io/web-nfc/">Web NFC</a></cite>, F. Beaufort, K. Christiansen, Z. Kis. W3C.</dd>
126567
+
126502
126568
<dt id="refsWEBVTT">[WEBVTT]</dt>
126503
126569
<dd><cite><a href="https://w3c.github.io/webvtt/">WebVTT</a></cite>, S. Pieters. W3C.</dd>
0 commit comments