diff --git a/index.bs b/index.bs index 9b89fb8..e7b987d 100644 --- a/index.bs +++ b/index.bs @@ -99,6 +99,7 @@ urlPrefix: https://w3c.github.io/uievents/; spec: UIEVENTS; type: event; url: #event-type-compositionupdate; text: compositionupdate; type: event; url: #event-type-compositionend; text: compositionend; urlPrefix: https://html.spec.whatwg.org/multipage/; spec: HTML; + type: dfn; url: #event-loop-processing-model; text: event loop processing model; type: event; url: #event-dnd-drag; text: drag; type: event; url: #event-dnd-dragstart; text: dragstart; type: event; url: #event-dnd-dragenter; text: dragenter; @@ -360,7 +361,7 @@ Each {{PerformanceEventTiming}} object reports timing information about an associated event's last {{Event/target}} when such {{/Node}} is not disconnected nor in the shadow DOM.
{{interactionId}}
-
+
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 {{Event/type}} attribute value is one of: * A {{pointerdown}}, {{pointerup}}, or {{click}} belonging to a user tap or drag. Note that {{pointerdown}} that ends in scroll is excluded. * A {{keydown}} or {{keyup}} belonging to a user key press. @@ -453,7 +454,7 @@ Each {{Window}} has the following associated concepts: * interactionCount, an integer which counts the total number of distinct user interactions, for which there was a unique {{interactionId}} computed via computing interactionId.
- In the update the rendering step of the event loop processing model, add a step right after the step that calls mark paint timing: + In the update the rendering step within the event loop processing model, add a step right after the step that calls mark paint timing: 1. For each fully active {{Document}} in docs, invoke the algorithm to dispatch pending Event Timing entries for that {{Document}}.
@@ -479,7 +480,7 @@ when a {{PerformanceEventTiming}} entry needs to be added to the buffer of a {{P or to the performance timeline, as described in the registry. -
+
Given a {{PerformanceEventTiming}} |entry| and a {{PerformanceObserverInit}} |options|, to determine if we should add PerformanceEventTiming, with |entry| and optionally |options| as inputs, run the following steps: