Closed Bug 1640036 Opened 1 year ago Closed 1 year ago

Fix the syntax of aspect-ratio to "auto || <ratio>"

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: boris, Assigned: boris)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed)

Attachments

(2 files)

There is an update of the syntax from auto | <ratio> to auto || <ratio>. Sorry I didn't notice this update before landing patches.

Keywords: dev-doc-needed

BTW, this is the spec issue Emilio mentioned: Mapping HTML’s IMG aspect-ratio behavior into CSS.

Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/57d600ab3652
Update aspec-ratio syntax for HTML IMG mapped ratio. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23811 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Blocks: 1641432
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/23006aacf563
Drop the guard of aUseMappedRatio for non-auto aspect-ratio case. r=emilio
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.