Closed Bug 1621333 Opened 4 years ago Closed 4 years ago

<img loading=lazy> doesn't infer aspect ratio because of bug 1602047

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla76
Tracking Status
firefox-esr68 --- unaffected
firefox74 --- disabled
firefox75 --- verified
firefox76 --- verified

People

(Reporter: emilio, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

There's no request, so we don't use the inferred aspect ratio... :(

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09e9434cb03d
Ensure aspect-ratio applies to lazy-loaded images. r=hiro
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/22170 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Regressions: 1621511
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Upstream PR merged by moz-wptsync-bot

Comment on attachment 9132312 [details]
Bug 1621333 - Ensure aspect-ratio applies to lazy-loaded images. r=hiro,dholbert

Beta/Release Uplift Approval Request

  • User impact if declined: Image lazy loading ships with 75, and this would cause jumpiness in pages using it unnecessarily.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Open https://www.tunetheweb.com/experiments/test_image_ratios.html and ensure that the second image doesn't jump.
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Simple change specific to the lazy-loading case.
  • String changes made/needed: none
Attachment #9132312 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Verified - Fixed in latest Nightly 76.0a1 (Build id: 20200316154314) using Windows 10 and Ubuntu 18.04.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+

(In reply to Emilio Cobos Álvarez (:emilio) from comment #7)

  • List of other uplifts needed: none

What about bug 1621511?

Flags: needinfo?(emilio)

Well maybe, though it's a test-only change, and it doesn't seem to have helped all that much unfortunately looking at the latest comments...

Flags: needinfo?(emilio)

Comment on attachment 9132312 [details]
Bug 1621333 - Ensure aspect-ratio applies to lazy-loaded images. r=hiro,dholbert

fix an issue with lazy loading before we enable it; approved for 75.0b6

Attachment #9132312 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+

Verified - Fixed in latest Beta 75.0b6 (Build id: 20200319224147) using Windows 10 and Ubuntu 18.04.

Flags: qe-verify+
Regressions: 1708795
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: