-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Misc LargestContentfulPaint updates #28658
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
Merged
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -144,7 +144,14 @@ | |||||||||
| "spec_url": "https://w3c.github.io/paint-timing/#dom-painttimingmixin-painttime", | ||||||||||
| "support": { | ||||||||||
| "chrome": { | ||||||||||
| "version_added": false | ||||||||||
| "version_added": "134", | ||||||||||
| "flags": [ | ||||||||||
| { | ||||||||||
| "type": "preference", | ||||||||||
| "name": "enable-experimental-web-platform-features", | ||||||||||
| "value_to_set": "enabled" | ||||||||||
| } | ||||||||||
| ] | ||||||||||
| }, | ||||||||||
| "chrome_android": "mirror", | ||||||||||
| "edge": "mirror", | ||||||||||
|
|
@@ -175,19 +182,26 @@ | |||||||||
| "spec_url": "https://w3c.github.io/paint-timing/#dom-painttimingmixin-presentationtime", | ||||||||||
| "support": { | ||||||||||
| "chrome": { | ||||||||||
| "version_added": false | ||||||||||
| "version_added": "134", | ||||||||||
| "flags": [ | ||||||||||
| { | ||||||||||
| "type": "preference", | ||||||||||
| "name": "enable-experimental-web-platform-features", | ||||||||||
| "value_to_set": "enabled" | ||||||||||
| } | ||||||||||
| ] | ||||||||||
| }, | ||||||||||
| "chrome_android": "mirror", | ||||||||||
| "edge": "mirror", | ||||||||||
| "firefox": { | ||||||||||
| "version_added": "140" | ||||||||||
| "version_added": false | ||||||||||
| }, | ||||||||||
| "firefox_android": "mirror", | ||||||||||
| "oculus": "mirror", | ||||||||||
| "opera": "mirror", | ||||||||||
| "opera_android": "mirror", | ||||||||||
| "safari": { | ||||||||||
| "version_added": "26.2" | ||||||||||
| "version_added": false | ||||||||||
|
||||||||||
| "version_added": false | |
| "version_added": "26.2", | |
| "partial_implementation": true, | |
| "notes": "This property is exposed, but always returns `null`." |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The collector detected support and it seems it is exposed. The null behavior seems to be per spec also? Maybe we should mark it as partial? (this is always weird for feature detection but oh well).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is effectively allowed per spec not to support this I agree, so it is an optional feature. But this is where it's even more important for MDN to document this IMHO.
Also I agree the fact it's there (but always
null) could be interpreted as having "partial support". But to me, since it's always null, it's equivalent to "no support" rather than partial.WDYT @canova from an Firefox side? And @smfr from a Safari size? Do you think it's fair to say you have not implemented
presentationTimeat this time for LCP? Note Interop and Baseline definitions do not include this key, and I'm keen to keep that this way, since these are optional, so you would still be marked as supporting LCP in those.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, let's go with partial support for now, to unblock this, since there are other updates in this PR I'd like to have sooner rather than later and
partialis certainly better than the current reading of them having full support. But curious to hear @canova and @smfr's opinion and can follow up with another PR if necessary.