WICG / WICG/container-timing

Should elements only report paints once to Container Timing?

Open Beginner friendly
#72 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bikeshed
Stars
72
Forks
10
Avg merge
9d 15h
Merged PRs (30d)
3

Description

In Chromium the behavior is inherited from ElementTiming (and sharing some logic with ICP/LCP). An element will only report one time. For images, it is when the load is complete and we get the paint for that. For text it only reports once for the text aggregator.

LCP defines that explicitely https://www.w3.org/TR/largest-contentful-paint/#sec-report-largest-contentful-paint

ICP has some open questions about what to do here.

As Container Timing is inspired on the idea of LCP, we should likely explicitely state in the specification that the elements will only report once, in the same way LCP does (or refer somehow to that part of LCP specification).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Container Timing specification and compare its reporting behavior with the linked Largest Contentful Paint reporting rule. Clarify in the specification that elements report only once, or add an appropriate reference to the LCP requirement; done means the rule is explicit and consistent with the intended image and text behavior.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.