[meta] Largest Contentful Paint (LCP) implementation
Categories
(Core :: Performance, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: bdekoz, Assigned: sefeng)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Keywords: meta)
Attachments
(7 files, 6 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
The Largest Contentful Paint (aka LCP) metric is one of three core metrics in Google's web vitals suite of analytic tools for web performance.
More information can be found here: https://web.dev/lcp/
This bug tracks the status and implementation of this metric in Gecko.
Dependencies include the W3C Element Timing API, and the specification can be found in the Largest Contentful Paint API ((https://wicg.github.io/largest-contentful-paint/)
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
So that it can be reused.
Assignee | ||
Comment 2•2 years ago
|
||
This patch mainly just adds hide_test_state: true
to
LargestContentfulPaint related tests because the intermittent
test status can be considered as painted elements, which
may interfere the test results.
Plus a few minor tweaks.
Depends on D151073
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D151074
Assignee | ||
Comment 4•2 years ago
|
||
With the implementation many tests start to pass, so we adjust
the ini files accordingly.
Depends on D151075
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D151076
Assignee | ||
Comment 6•2 years ago
|
||
According to
https://fetch.spec.whatwg.org/#serializing-a-request-origin,
the algorithm should return "null" if the request has a
redirected-tainted origin.
Depends on D151077
Assignee | ||
Comment 7•2 years ago
|
||
Spec: https://w3c.github.io/largest-contentful-paint
Depends on D151078
Assignee | ||
Comment 8•2 years ago
|
||
So that it can be reused.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Comment on attachment 9284231 [details]
Bug 1722322 - Refactor get-an-element algorithm to a static method r=emilio
Revision D151081 was moved to bug 1778345. Setting attachment 9284231 [details] to obsolete.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years ago
|
||
Assignee | ||
Comment 11•2 years ago
|
||
We have tests that use content
to generate text, however it looks like
we miss the one for images.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Comment on attachment 9284222 [details]
Bug 1722322 - Add some minor tweaks to LargestContentfulPaint WPTs r=emilio
Revision D151074 was moved to bug 1829388. Setting attachment 9284222 [details] to obsolete.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 14•2 years ago
|
||
Comment on attachment 9284226 [details]
Bug 1722322 - Rename some contentful paint related variables/functions to make it clear they are based on FirstContentfulPaint r=emilio
Revision D151077 was moved to bug 1830778. Setting attachment 9284226 [details] to obsolete.
Comment 15•2 years ago
|
||
Comment on attachment 9314038 [details]
Bug 1722322 - Add the WebIDL support for LargestContentfulPaint r=emilio
Revision D167816 was moved to bug 1830794. Setting attachment 9314038 [details] to obsolete.
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 16•1 year ago
|
||
- added one to ensure elements rendered by MathML are observable
- added one to ensure elements created in different namespaces are observable
Assignee | ||
Comment 17•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 18•1 year ago
|
||
The meta tags for width and height are needed to make sure the
calculation for the image position uses device sizes
rather than virtual sizes.
minimum-scale
is used to ensure the overflow:hidden
content
is not scrollable on Firefox Android, so that the LCP size can
be computed correctly.
Comment 19•1 year ago
|
||
Comment 21•1 year ago
|
||
Backed out for causing bp-nu bustages
Backout link: https://hg.mozilla.org/integration/autoland/rev/e90489c6f69d4b0ddfa6d953958c4ffd9db36cf9
Assignee | ||
Updated•1 year ago
|
Comment 23•1 year ago
|
||
Comment 24•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/db558fea2a7c
https://hg.mozilla.org/mozilla-central/rev/a3ad0e6a7e2e
https://hg.mozilla.org/mozilla-central/rev/ad5e97f0e18a
https://hg.mozilla.org/mozilla-central/rev/9e951b5150b8
https://hg.mozilla.org/mozilla-central/rev/1b569e5741f1
https://hg.mozilla.org/mozilla-central/rev/1adce8bfea68
https://hg.mozilla.org/mozilla-central/rev/19a29adcc44d
Comment 26•1 year ago
|
||
Please add a relnote nomination for this when you get a chance.
Assignee | ||
Comment 27•1 year ago
|
||
Relnote nomination is added in bug 1866266.
Description
•