| Summary: | REGRESSION (Safari 16.4): images with min-height: 100% stretch the grid to the full height of the viewport | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | mic.gallego | ||||||
| Component: | CSS | Assignee: | Sammy Gill <sgill26> | ||||||
| Status: | RESOLVED DUPLICATE | ||||||||
| Severity: | Major | CC: | karlcow, sgill26, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | All | ||||||||
| OS: | iOS 16 | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=251419 https://github.com/web-platform-tests/wpt/pull/39287 |
||||||||
| Bug Depends on: | 251419 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
mic.gallego
2023-03-28 19:57:55 PDT
Hi Mic, Thanks for the test case. This should help to investigate. Created attachment 465652 [details]
rendering in safari, firefox, chrome
In the case of Safari the content is stretched.
This is the `min-height: 100%` on the image which affects the layout in Safari but doesn't in Firefox and Chrome. deactivating `min-height: 100%` on `.content-over-media img` gives the proper size. Created attachment 465653 [details] testcase After running a regression testing, the commit which is responsible for this regression is: https://github.com/WebKit/WebKit/compare/48fe5d10f6d2a56957f07a669bdb9aa8627c5aff...93e6542aebf91d6a023247a5068e8756eeae53d3 which was to fix another regression Bug 251419 and Bug 252425 which had been caused by 247507 Thanks for bringing this to me attention everyone. After looking into this it seems like the underlying issue was the same as reported in: https://bugs.webkit.org/show_bug.cgi?id=254603 With that patch both issues should be addressed. *** This bug has been marked as a duplicate of bug 254603 *** Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/39287 |