The web includes a number of features and heuristics (such as content-visibility, containment and others) that allow the User Agent to skip rendering work for elements and contents of elements. However, there are situations where this neglects the site's intent of showing skipped content later. The `renderpriority` attribute is an HTML attribute that informs the User Agent to keep the element's rendering state updated with a specified priority.

Motivation

The web includes a number of features and heuristics (such as content-visibility, containment and others) that allow the User Agent to skip rendering work for elements and contents of elements. This is done with the intent to allow other content, animations and interactions to remain smooth and get as much CPU time as possible. However, there are situations where this neglects the site's intent of showing skipped content later. In other words, if the website intends to show an element whose contents are currently skipped, then skipping work may cause jank when the contents are ultimately presented. The renderpriority attribute is an HTML attribute that informs the User Agent to keep the element's rendering state updated with a specified priority.

Status in Chromium

Blink>Paint


No active development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signals

Owner

Intent to Prototype url

Intent to Prototype thread

Last updated on 2021-09-23