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
Cleanup typos and references (before larger spec change).
w3c/event-timing@f224aec
Add one more small fix that makes lychee unhappy
w3c/event-timing@f21c115
Fix broken links for Event types.
w3c/event-timing@af8a610
(和訳には織り込み済み)
+編集(削除漏れ( "If event’s type attribute value is not keydown nor pointerdown..."
First, requiring event listeners precludes measuring event latency very early in the page load because listeners will likely not be registered yet at that point in time.\
754
+
First, requiring event listeners precludes measuring event latency very early in the page load because listeners might not be registered yet.\
Second, developers that are only interested in the input delay might be forced to add new listeners to events that originally did not have one. This adds unnecessary performance overhead to the event latency calculation.\
763
+
Second, developers who are only interested in input delay might be forced to add new listeners to events that originally did not have them. This adds unnecessary performance overhead to the event latency calculation.\
The Event Timing API exposes a duration value, which is meant to be the time from when the physical user input occurs (estimated via the Event’s timeStamp) to the next time the rendering of the Event’s relevant global object’s associated Document’s is updated. This value is provided with 8 millisecond granularity.
1125
+
The Event Timing API exposes a duration value, which is meant to be the time from when the physical user input occurs (estimated via the Event’s timeStamp) to the next time the rendering of the Event’s relevant global object’s associated Document is updated. This value is provided with 8 millisecond granularity.
The interactionId attribute’s getter returns the ID that uniquely identifies the user interaction which triggered the associated event. This attribute is 0 unless the associated event’s type attribute value is one of:
1514
+
The interactionId attribute’s getter returns a number that uniquely identifies the user Interaction which triggered the associated event. This attribute is 0 unless the associated event’s type attribute value is one of:
@@ -1723,7 +1720,7 @@ <h3 title="Modifications to the HTML specification">3.2. ~HTML仕様に対する
1723
1720
当の~page内で生じたヤリトリの回数
1724
1721
]用の真実を成す~sourceとして利用しなくなると見込まれる。
1725
1722
◎
1726
-
Note: the user interaction value is set to a random integer instead of 0 so that developers do not rely on it to count the number of interactions in the page. By starting at a random value, developers are less likely to use it as the source of truth for the number of interactions that have occurred in the page.
1723
+
Note: The user interaction value is set to a random integer instead of 0 so that developers do not rely on it to count the number of interactions in the page. By starting at a random value, developers are less likely to use it as the source of truth for the number of interactions that have occurred in the page.
For each pendingPointerDownEntry in the values from window’s pending pointer downs:
2836
-
• Set event timing entry duration passing pendingDown, window, and renderingTimestamp.
2824
+
• Set event timing entry duration passing pendingPointerDownEntry, window, and renderingTimestamp.
2837
2825
</li>
2838
2826
<li>
2839
2827
%~window の`処理待ちな~keydown~map$wの`値~群$mapを成す
@@ -3043,7 +3031,7 @@ <h2 title="Security & privacy considerations">4. ~security/~privacyの考
3043
3031
~web開発者には可用でなかった新たな情報
3044
3032
— ~eventが処理された後に画素を描くまでの時間 —
3045
3033
を導入する。
3046
-
時刻印を公開することに対する[
3034
+
時刻印を公開することに関する[
3047
3035
~security/~privacy
3048
3036
]の懸念は
3049
3037
— とりわけ,この粒度の下では —
@@ -3053,7 +3041,7 @@ <h2 title="Security & privacy considerations">4. ~security/~privacyの考
3053
3041
これは、
3054
3042
120Hz ~displayにおいても,それなりに精確な計時を許容する。
3055
3043
◎
3056
-
The duration has an 8 millisecond granularity (it is computed as such by performing rounding). Thus, a high resolution timer cannot be produced from this timestamps. However, it does introduce new information that is not readily available to web developers: the time pixels draw after an event has been processed. We do not find security or privacy concerns on exposing the timestamp, especially given its granularity. In an effort to expose the minimal amount of new information that is useful, we decided to pick 8 milliseconds as the granularity. This allows relatively precise timing even for 120Hz displays.
3044
+
The duration has an 8 millisecond granularity (it is computed as such by performing rounding). Thus, a high resolution timer cannot be produced from these timestamps. However, it does introduce new information that is not readily available to web developers: the time pixels draw after an event has been processed. We do not find security or privacy concerns with exposing the timestamp, especially given its granularity. In an effort to expose the minimal amount of new information that is useful, we decided to pick 8 milliseconds as the granularity. This allows relatively precise timing even for 120Hz displays.
0 commit comments