Non HTML elements should be able to contribute to container timing
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.