Closed Bug 1547792 Opened 5 years ago Closed 5 years ago

intrinsic ratio should be represented by a single ratio, not a size.

Categories

(Core :: Layout, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

An aspect ratio is a number, not a size, and should be represented as such.

This simplifies potential implementation of an aspect-ratio CSS property, and also ensures that an empty aspect-ratio is always treated as such, even if one of its dimensions is non-empty, which also matches other browsers reading their usage of aspect ratio (they represent the aspect ratio with a size, but always check whether it's not empty before using it).

Type: defect → task
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/451701e88d92
AspectRatio should be a single ratio, not a size. r=dholbert
Blocks: 1548768
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Regressions: 1559094
Regressions: 1633434
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: