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
PerformanceEntryPerformanceContainerTiming
Properties
| Name | Description |
|---|---|
| FirstRenderTime | Gets the time of the first paint in the container root. |
| Identifier | Gets the value of the containertiming attribute of the container root. |
| IntersectionRect | Gets the bounding rectangle of the region painted so far in the container root, in the coordinates of the viewport. |
| LastPaintedElement | 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. |
| PaintTime | Gets the time of the end of the rendering update that painted the content. |
| PresentationTime | Gets the time the frame was presented to the user: null, the presentation time is not supported. |
| RootElement | Gets the container root, or null when it is no longer exposed for paint timing (it was removed from its document). |
| Size | Gets the area of the region painted so far in the container root, in CSS pixels squared (the overlapping paints are counted once). |
FirstRenderTime
ContainerTiming.csGets the time of the first paint in the container root.
public double FirstRenderTime { get; }Identifier
ContainerTiming.csGets the value of the containertiming attribute of the container root.
public string Identifier { get; }Property value
See also
IntersectionRect
ContainerTiming.csGets 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.csGets 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; }PaintTime
ContainerTiming.csGets the time of the end of the rendering update that painted the content.
public double PaintTime { get; }PresentationTime
ContainerTiming.csGets the time the frame was presented to the user: null, the presentation time is not supported.
public double? PresentationTime { get; }Property value
See also
RootElement
ContainerTiming.csGets 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; }