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

RESOLVED FIXED in Firefox 68

Status

()

task
P3
normal
RESOLVED FIXED
3 months ago
Last month

People

(Reporter: emilio, Assigned: emilio)

Tracking

(Blocks 1 bug)

unspecified
mozilla68
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment)

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: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Regressions: 1559094
You need to log in before you can comment on or make changes to this bug.