Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ A [=browsing context=] |ctx| is <dfn>paint-timing eligible</dfn> when one of the
NOTE: this allows user agents to enable paint-timing only for some of the frames, in addition to the main frame, if they so choose.
For example, a user agent may decide to disable paint-timing for cross-origin iframes, as in some scenarios their paint-timing might reveal information about the main frame.

The {{PaintTimingMixin}} interface {#sec-PaintTimingMixin}
The Paint Timing Mixin
=======================================

<div class=non-normative>
Expand All @@ -200,7 +200,7 @@ The {{PaintTimingMixin}} interface {#sec-PaintTimingMixin}

The {{PaintTimingMixin}} interface exposes timestamps related to the rendering cycle.
It is included in [=platform objects=] that extend {{PerformanceEntry}},
specifically by {{PefrormanceElementTiming}}, {{LargestContentfulPaint}}, {{PerformanceEventTiming}}, {{PerformancePaintTiming}}, and {{PerformanceLongAnimationFrameTiming}}.
specifically by {{PerformanceElementTiming}}, {{LargestContentfulPaint}}, {{PerformanceEventTiming}}, {{PerformancePaintTiming}}, and {{PerformanceLongAnimationFrameTiming}}.

The {{PaintTimingMixin/paintTime}} attribute represent the timestamp at the end of the [=update the rendering=] loop
while the {{PaintTimingMixin/presentationTime}} represents an implementation-specific timestamp marked when the frame is presented to the user.
Expand All @@ -211,6 +211,9 @@ usually return the [=default paint timestamp=] rather than one of the specific t

</div>

The {{PaintTimingMixin}} interface {#sec-PaintTimingMixin}
----------------------------------------------------------

<pre class="idl">
[Exposed=Window]
interface mixin PaintTimingMixin {
Expand Down