Skip to content

Add soft-navigations and interaction-contentful-paint - #4237

Open
tunetheweb wants to merge 9 commits into
web-platform-dx:mainfrom
tunetheweb:add-soft-navigations-and-interaction-contentful-paint
Open

Add soft-navigations and interaction-contentful-paint#4237
tunetheweb wants to merge 9 commits into
web-platform-dx:mainfrom
tunetheweb:add-soft-navigations-and-interaction-contentful-paint

Conversation

@tunetheweb

@tunetheweb tunetheweb commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Adds the soft-navigations and interaction-contentful-paint features as part of the Soft Navigations and Interaction Contentful Paint spec supported by default in Chrome 151.

There is an argument that these are one feature, instead of two, since they are in the same spec, were released at the same time, and the main use case for interaction-contentful-paint at present is for measuring LCP for soft navigations, however I have decided to split this into two features for a number of reasons:

  • interaction-contentful-paint is likely to be split into it's own spec in the future.
  • interaction-contentful-paint is emitted even when no soft navigation occurs and has use cases beyond soft navs.

Let me know if you disagree.

Depends on w3c/browser-specs#2593 landing first.

Note the BCD data depends on this PR: mdn/browser-compat-data#30195 so is commented out for now.

@github-actions github-actions Bot added the feature definition Creating or defining new features or groups of features. label Aug 11, 2026
Comment thread features/interaction-contentful-paint.yml Outdated
Comment thread features/interaction-contentful-paint.yml Outdated
Comment thread features/soft-navigations.yml Outdated
Comment thread features/soft-navigations.yml Outdated

@captainbrosset captainbrosset left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with 2 suggestions to fully define SPA and stay under the 300 chars limit.

Comment thread features/interaction-contentful-paint.yml Outdated
Comment thread features/soft-navigations.yml Outdated
Co-authored-by: Patrick Brosset <patrickbrosset@gmail.com>
@tunetheweb

Copy link
Copy Markdown
Contributor Author

Thanks @captainbrosset ! I think I still need the web spec change mentioned in the first comment though. Will comment here once that’s merged and released.

@captainbrosset

Copy link
Copy Markdown
Contributor

Thanks @captainbrosset ! I think I still need the web spec change mentioned in the first comment though. Will comment here once that’s merged and released.

Correct, that's why the test CI job is failing with:

error: URL for interaction-contentful-paint not in web-specs: https://wicg.github.io/soft-navigations/#sec-interaction-contentful-paint

and

error: URL for soft-navigations not in web-specs: https://wicg.github.io/soft-navigations/#sec-soft-navs

Comment thread features/soft-navigations.yml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants