Closed
Bug 1667281
Opened 4 years ago
Closed 4 years ago
Replaced element's content ratio is affected by aspect-ratio property, resulting broken "object-fit: contain"
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 1660122
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox81 | --- | wontfix |
firefox82 | --- | wontfix |
firefox83 | --- | fixed |
People
(Reporter: TYLin, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
973 bytes,
text/html
|
Details |
By looking at the aIntrinsicRatio
argument passing to nsLayoutUtils::ComputeObjectDestRect
, which is influenced by aspect-ratio
, I think nsImageFrame
, nsHTMLCanvasFrame
, and nsSubDocumentFrame
might be affected.
Reporter | ||
Comment 1•4 years ago
|
||
A testcase for <canvas>
with object-fit: contain
.
Reporter | ||
Comment 2•4 years ago
|
||
Update the testcase.
Attachment #9177788 -
Attachment is obsolete: true
Comment 3•4 years ago
|
||
Set release status flags based on info from the regressing bug 1639963
status-firefox81:
--- → affected
status-firefox82:
--- → affected
status-firefox83:
--- → affected
status-firefox-esr78:
--- → unaffected
Updated•4 years ago
|
Updated•4 years ago
|
Keywords: regression
Reporter | ||
Comment 4•4 years ago
|
||
This is going to be fixed by bug 1660122 Part 7 (https://phabricator.services.mozilla.com/D91229), so I'll close this as duplicate of bug 1660122.
Severity: -- → S3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•