From 5ac8c257b153f767fed7fe74b16d8dd5bf3959e1 Mon Sep 17 00:00:00 2001 From: Alexis Menard Date: Mon, 11 Mar 2024 14:17:51 -0400 Subject: [PATCH] Fix Document references. (#125) Closes #77 --- index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index c27b186..af57b0f 100644 --- a/index.html +++ b/index.html @@ -262,7 +262,7 @@

Due to the nature of hardware innovation, it also includes devices with dual, foldable, rollable or curved screens, as long as they - are in a posture where the document is expected to be displayed + are in a posture where the {{Document}} is expected to be displayed with a flat layout.

@@ -359,13 +359,13 @@

Every instance of {{Document}} has an internal slot {{Document/[[CurrentPosture]]}}, which should be initialized when the - document is created, otherwise they MUST be initialized the + {{Document}} is created, otherwise they MUST be initialized the first time they are accessed and before their value is read. The user agent MUST run the device posture change steps with - the document and true to initialize it. + the {{Document}} and true to initialize it.

- For a given document, the current posture is derived from + For a given {{Document}}, the current posture is derived from the current hinge angle and the current screen orientation, and potentially other implementation-specific signals.

@@ -581,9 +581,9 @@

Focused Area

- Posture value readings are only available for active documents + Posture value readings are only available for each [=navigable/active document=] whose origin is the same origin-domain with the currently focused - area document. + area {{Document}}.

This is done in order to mitigate the risk of a skimming attack @@ -597,7 +597,7 @@

Visibility State

- Posture value change events are only fired for active documents + Posture value change events are only fired for each [=navigable/active document=] whose [=Document/visibility state=] is "visible", and polling the value while that is not the case, will return a stale value as the value is only updated while the visibility state is "visible" or