[Webkit-unassigned] [Bug 232816] New: Rendering bug with height: min-content, position: absolute, and box-sizing: border-box
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 8 05:57:04 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=232816
Bug ID: 232816
Summary: Rendering bug with height: min-content, position:
absolute, and box-sizing: border-box
Product: WebKit
Version: Safari 15
Hardware: Mac (Intel)
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: adam.seckel at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 443538
--> https://bugs.webkit.org/attachment.cgi?id=443538&action=review
Screenshot of incorrect webkit rendering
Hello,
There continues to be a rendering bug when `height: min-content`, `position: absolute`, and `box-sizing: border-box` are combined in Safari, and any padding or border is also present on the element. I believe this was supposed to be resolved by https://bugs.webkit.org/show_bug.cgi?id=219944.
The rendering bug is clearly visible in this sandbox, where the height of the element is larger than its contents when a 2px border is added to the element: https://codesandbox.io/s/safari-min-content-19ccb?file=/src/App.js
This is present in version Version 15.1 (17612.2.9.1.20), as well as Safari Technical Preview: Release 134 (Safari 15.4, WebKit 17613.1.6.1). It is not present in other browsers.
Please let me know if any additional info is required!
Best,
Adam
--
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/20211108/c356dea8/attachment.htm>
More information about the webkit-unassigned
mailing list