Created attachment 8583247 [details] testcase 1 STR: Load attached testcase. EXPECTED RESULTS: Image renders, scaled down naturally to a (small) wider-than-tall rectangular area. ACTUAL RESULTS: Image renders, squashed, to a taller-than-wide rectangular area. NOTES: * The image's native resolution is 400px wide & 200px tall. * The image's width is horizontally constrained via "max-width: 150px". * The image's height isn't directly constrained. Chrome & Opera 12.16 (Presto) give EXPECTED RESULTS. Firefox Nightly gives ACTUAL RESULTS. I'm filing this for a bug that was emailed to me - I'm not 100% sure what the spec requires of this scenario yet, but I'm pretty sure our rendering is wrong.
Summary: Flex item with aspect ratio & shrunken width still renders with native height → Flex item with aspect ratio & "max-width" still renders with native height
Attachment #8583247 - Attachment description: test-flex.html → testcase 1
Pretty sure this is a dupe of bug 1030952, actually. A quick check in GDB shows that the problem described in bug 1030952 comment 2 is still happening here.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1030952
I verified that this bug's testcase produces EXPECTED RESULTS in latest Nightly 49.0a1 (2016-05-02) (which has the duplicate-target bug's fix). --> Verified duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.