Skip to content

Next steps for container timing post origin trial #78

Open

Description

@jdapena

This ticket is for discussing the explainer I am preparing for several API changes.
https://github.com/jdapena/container-timing/blob/icp-alignment-explainer/docs/contentful-paint-attribution.md

The main ideas are:

  • Aligning with ICP, embedding a LargestContentfulPaint entry in the ContainerTiming events, so the attribution of what happened in an entry is more complete. This would replace lastPaintedElement attribute.
  • Moving to have an accumulated state retrieve method to know the LCP so far, and more accumulated data, without requiring to listen to the PerformanceObserver. This would replace firstRenderTime (that would have a firstContentfulPaint entry being an LCP).

Several of the changes break compatibility with current implementation, though there is the proposal to keep some compatibility maintaining deprecated fields. Though, as the origin trial is finishing, those changes could be done immediatly.

Activity

  1. changed the title [-]Align Container timing with ICP, embedding LCP entries[/-] [+]Next steps for container timing post origin trial[/+] on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions