open.spotify.com - Flickering on mouseover
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
(Keywords: perf-alert)
Attachments
(5 files)
This needs a login to repro, will attach a screencast shortly. Isn't a regression on our side, at least as far as I could test.
I took a look and it seems like they're replacing the whole DOM for the component when moving the mouse around (this happens on Chrome too), but since we decode images async we can see some visible flickering.
I think they could use <img decoding="sync"> to prevent the flickering (or ideally not re-create the DOM so frequently?).
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
https://html.spec.whatwg.org/#updating-the-image-data says to check the cache before delaying the load for loading="lazy". So I guess this is technically a Gecko bug.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
These don't have the same value, and is a bit confusing.
Updated•5 years ago
|
| Assignee | ||
Comment 4•5 years ago
|
||
As per https://html.spec.whatwg.org/#updating-the-image-data step 6.
Depends on D114352
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 7•5 years ago
|
||
My previous patch still causes one WPT regression (invalid-src.html),
because we stopped firing error event for src="". However that test
times out because it doesn't correctly handle the invalid URI case. This
patch fixes it and cleans up the code a bit.
This fixes bug 1466138 too, and matches Chrome.
Comment 11•5 years ago
|
||
Backed out for causing wpt failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/1dee84afd395dad15cd36aa5a90203b5f1e40045
Updated•5 years ago
|
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Backed out 2 changesets (bug 1709577) for WPT Failures in /html/semantics/embedded-content/the-img-element/image-loading-lazy-base-url.html. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer?job_id=339071196&repo=autoland&lineNumber=9059
Backout:
https://hg.mozilla.org/integration/autoland/rev/3d547f7fc1c43f7d44ea0ffd224eb74bf4a5c99a
| Assignee | ||
Updated•5 years ago
|
Comment 17•5 years ago
|
||
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 20•5 years ago
|
||
== Change summary for alert #30039 (as of Tue, 11 May 2021 06:28:24 GMT) ==
Improvements:
| Ratio | Suite | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|---|
| 46% | imdb | ContentfulSpeedIndex | android-hw-g5-7-0-arm7-api-16-shippable-qr | warm webrender | 3,526.83 -> 1,897.42 |
| 21% | imdb | SpeedIndex | android-hw-g5-7-0-arm7-api-16-shippable-qr | warm webrender | 3,289.79 -> 2,584.25 |
| 21% | imdb | SpeedIndex | android-hw-g5-7-0-arm7-api-16-shippable-qr | warm webrender | 3,260.33 -> 2,585.50 |
| 2% | imdb | PerceptualSpeedIndex | android-hw-g5-7-0-arm7-api-16-shippable-qr | warm webrender | 4,339.75 -> 4,231.58 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=30039
Description
•