[Webkit-unassigned] [Bug 130910] New: width: fit-content fails to adjust for height resizing of content that keeps aspect ratio
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 28 12:31:34 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=130910
Summary: width: fit-content fails to adjust for height resizing
of content that keeps aspect ratio
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bugmenot at mailinator.com
Created an attachment (id=228078)
--> (https://bugs.webkit.org/attachment.cgi?id=228078&action=review)
testcase - red must not be visible to pass the test
When the aspect ratio of content such as an image is preserved and the height is changed via CSS animations, transitions or drag resizing, -webkit-fit-content on the parent element doesn't update to widen or narrow the width of the parent to match the new content width.
In the attached testcase the red background becomes visible in the top circle with preserved aspect ratio. The bottom circle without aspect ratio kept behaves as expected.
I've run the testcase in Gecko browsers and both circles behave correctly.
I tested width: intrinsic instead but that also failed in webkit similarly to fit-content
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list