WICG / WICG/container-timing

Non HTML elements should be able to contribute to container timing

Open
#71 1 comment 0 reactions 1 assignee View on GitHub

@jasonwilliams is already working on this.

Since Aug 14, 2026.

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

Description

We probably were a little enthusiastic in https://github.com/WICG/container-timing/issues/63

https://github.com/WICG/container-timing/pull/69/changes/64f5e121e47f43d3496b72de509bc4aa547c6727 made the lastPaintedElement an HTML element as well. This I believe is overzealous, I do think non-HTML elements can contribute to painting and should be reported.

I.e. I think in https://wicg.github.io/container-timing/#contributes-to-container-timing we should revert HTMLElement to Element, as well as in the WebIDL.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.