HTML containertimingignore Global Attribute
The containertimingignore attribute leaves an element and its content out of the paint timing of the container it is in. It is experimental.
Description
The containertimingignore global attribute is a boolean attribute that excludes an element and its descendants from the paint timing of the container it is in. It is used together with containertiming, the attribute that marks an element as a container root for the Container Timing API.
Use it for parts of a measured area that should not affect its timing, for example an advertisement, a decorative animation or a live counter that keeps repainting inside a hero section.
<section containertiming="hero">
<h1>Welcome</h1>
<div containertimingignore>Advertisement</div>
</section>
Syntax
<element containertimingignore>
Values
- containertimingignoreA boolean attribute: its presence excludes the element's subtree from container timing.
Example
Browser Support
The following information will show you the current browser support for the HTML containertimingignore global attribute. Hover over a browser icon to see the version that first introduced support for this HTML global attribute.
Desktop





Tablets & Mobile





