Open Bug 1797169 Opened 3 years ago Updated 1 year ago

CSS contain: size does not enforce aspect-ratio

Categories

(Core :: Layout, defect)

Firefox 108
defect

Tracking

()

People

(Reporter: sime.vidas, Unassigned)

Details

Attachments

(1 file)

Attached file test-case.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

Open the attached HTML document.

Actual results:

The pink element is as tall as its text contents.

Expected results:

The pink element should have an aspect ratio of 16:9, and the text should overflow on the bottom.

Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Component: CSS Parsing and Computation → Layout
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: