Closed Bug 1585637 Opened 6 months ago Closed 6 months ago

Ship the mapping of img width and height to aspect-ratio.

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

Keywords: dev-doc-needed
Type: defect → enhancement
Priority: -- → P3
Assignee: nobody → emilio
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e2cfa8ce9915
Turn on layout.css.width-and-height-map-to-aspect-ratio.enabled on late beta and release. r=dholbert
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dc68121e7d8f
Rename a test that's no longer tentative now that there's spec text for it. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/19473 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Upstream PR merged by moz-wptsync-bot

This bug indicates that the aspect-ratio property is already shipped, though it is obviously not available yet for use in websites. From what I get from https://hg.mozilla.org/mozilla-central/rev/e7fd34a8c655, it looks like it's currently only available in the chrome process. Right?

Sebastian

Flags: needinfo?(emilio)

It's not available anywhere, it is used only for attribute mapping, so you can't use it in CSS. The only way to use it is via the <img> width and height attributes.

Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.