PTAL:
I've removed first-letter-background for now, because:
1) I'm no longer convinced the original test works as intended.
2) The test when ported in a naive way has problems because the dom is modified from within the test logic, as opposed to the click handler. And therefore, it may not generate an LCP entry as originally designed / intended.
3) The test is a bit messy so it's difficult to debug / get it to pass, which defeats some of its purpose.
Instead, I've sent a test regarding a raf loop that we discussed (crrev.com/c/6651298).
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
// Now change the div content to proceed to the second part of the test.
beforeLoad = performance.now();
const div = document.createElement("div");
div.id = "target2";
div.innerHTML = "long text will now be LCP";
document.body.appendChild(div);
observedFirstLetter = true;
Johannes HenkelPerhaps the reason why this isn't observed as LCP candidate is that it's not caused by the click, so we're now (past crrev.com/c/6638389) ignoring it based on task attribution.
Acknowledged
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[soft navs] LCP WPT -> LCP SoftNav WPT 4-6 (alphabetically)
4) cross-origin-image
5) element-only-when-fully-active
6) expanded image
Patch set 1 is the copy from the largest-contentful-paint directory for
diffing.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/53181
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |