PerformanceContainerTiming Class

The paints of the subtree of a container root, an element with a containertiming attribute (https://w3c.github.io/container-timing/): reported to the container performance observers of its window by each rendering update that paints new content in the subtree.

public sealed class PerformanceContainerTiming : PerformanceEntry
Inheritance
PerformanceEntry PerformanceContainerTiming

Properties

NameDescription
FirstRenderTimeGets the time of the first paint in the container root.
IdentifierGets the value of the containertiming attribute of the container root.
IntersectionRectGets the bounding rectangle of the region painted so far in the container root, in the coordinates of the viewport.
LastPaintedElementGets the largest element (by the area of its own paint) that painted new content in the container root during the rendering update, or null when it is not an HTML element or it is no longer exposed for paint timing.
PaintTimeGets the time of the end of the rendering update that painted the content.
PresentationTimeGets the time the frame was presented to the user: null, the presentation time is not supported.
RootElementGets the container root, or null when it is no longer exposed for paint timing (it was removed from its document).
SizeGets the area of the region painted so far in the container root, in CSS pixels squared (the overlapping paints are counted once).

FirstRenderTime

ContainerTiming.cs

Gets the time of the first paint in the container root.

public double FirstRenderTime { get; }

Gets the value of the containertiming attribute of the container root.

public string Identifier { get; }

IntersectionRect

ContainerTiming.cs

Gets the bounding rectangle of the region painted so far in the container root, in the coordinates of the viewport.

public DomRectReadOnly IntersectionRect { get; }

LastPaintedElement

ContainerTiming.cs

Gets the largest element (by the area of its own paint) that painted new content in the container root during the rendering update, or null when it is not an HTML element or it is no longer exposed for paint timing.

public HtmlElement? LastPaintedElement { get; }

Gets the time of the end of the rendering update that painted the content.

public double PaintTime { get; }

PresentationTime

ContainerTiming.cs

Gets the time the frame was presented to the user: null, the presentation time is not supported.

public double? PresentationTime { get; }

Gets the container root, or null when it is no longer exposed for paint timing (it was removed from its document).

public HtmlElement? RootElement { get; }

Gets the area of the region painted so far in the container root, in CSS pixels squared (the overlapping paints are counted once).

public ulong Size { get; }