Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate paintTime and presentationTime in performance APIs #426

Open
noamr opened this issue Nov 12, 2024 · 2 comments
Open

Consolidate paintTime and presentationTime in performance APIs #426

noamr opened this issue Nov 12, 2024 · 2 comments

Comments

@noamr
Copy link

noamr commented Nov 12, 2024

WebKittens

@achristensen11 @smfr

Title of the proposal

Paint timing

URL to the spec

https://w3c.github.io/paint-timing

URL to the spec's repository

https://github.com/w3c/paint-timing

Issue Tracker URL

No response

Explainer URL

https://github.com/w3c/paint-timing/blob/main/presentation-timestamps.md

TAG Design Review URL

w3ctag/design-reviews#1013

Mozilla standards-positions issue URL

mozilla/standards-positions#1110

WebKit Bugzilla URL

No response

Radar URL

No response

Description

This has been discussed at the WebPerfWG. See w3c/paint-timing#62

@smfr
Copy link

smfr commented Nov 12, 2024

I have a memory that Chrome uses the presentationTime as the values passed to requestAnimationFrame, rather than the now timestamp that the spec says. If so, it would be good to resolve this behavior difference at the same time, as they seem connected.

@noamr
Copy link
Author

noamr commented Nov 12, 2024

I have a memory that Chrome uses the presentationTime as the values passed to requestAnimationFrame, rather than the now timestamp that the spec says. If so, it would be good to resolve this behavior difference at the same time, as they seem connected.

Also Gecko, and the spec was corrected to reflect that a while ago. See https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model:last-render-opportunity-time-4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants