Closed Bug 1672793 Opened 4 years ago Closed 4 years ago

[css2][css-images] Zero or infinite intrinsic ratio

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: boris)

References

Details

Attachments

(2 files)

A resolution was made for csswg-drafts/#4572.

[css2][css-images] Zero or infinite intrinsic ratio

  • RESOLVED: treat aspect ratio of 0 or infinity as auto, propagate to the aspect-ratio property behavior as well

Discussion.

Blocks: aspect-ratio

The current implementation treats zero or infinite intrinsic ratio as missing, which matches the resolution in the spec issue, so all we need to do is make sure we handle this well for aspect-ratio property.

Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/17a5efefc11a
Treat 0 or infinity as auto for aspect-ratio on non-replaced elements. r=emilio
https://hg.mozilla.org/integration/autoland/rev/e12f0d16172a
Treat 0 or infinity as auto for aspect-ratio on replaced elements. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26380 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: