[Webkit-unassigned] [Bug 240278] New: Issue with a Grid container with aspect-ratio without a fixed width
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 10 07:42:05 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=240278
Bug ID: 240278
Summary: Issue with a Grid container with aspect-ratio without
a fixed width
Product: WebKit
Version: Safari 15
Hardware: All
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kevin at kevinpowell.co
Created attachment 459118
--> https://bugs.webkit.org/attachment.cgi?id=459118&action=review
screenshot of the bug and examples of how it should behave
This behaviour is only in Safari 15.4. Everything works as expected in 15.3 and earlier.
A grid container with an `aspect-ratio` and a width of `auto` or a percentage will not allow its children to use the available space.
If the width is a fixed value (with `px`, `rem`, etc.) or if it is set in viewport units, it behaves as expected.
In the attached screenshot, all three should look the same.
The element with the text has an `align-self: end` which should move it to the bottom of the parent. It does for the examples using `px` and `vw` widths, but not the one using `%`.
You can also see a live example of this here: https://cdpn.io/pen/debug/MWQyMOV
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220510/ec154fbb/attachment.htm>
More information about the webkit-unassigned
mailing list