[Webkit-unassigned] [Bug 246803] New: max-height not applied when `min-height: min-content` is applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 20 07:27:36 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246803

            Bug ID: 246803
           Summary: max-height not applied when `min-height: min-content`
                    is applied
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matthewbidewell at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

The following style rules when applied to an img tag generate different outputs depending on the browser.

In Chromium and Firefox browsers the img is displayed at 150px by 150px.
In Webkit based browsers its displayed at 800px by 800px.

```
img {
    max-height: 150px;
    min-height: min-content;
}
```

Tested versions;
Versions and OS:

OS: macOS Monterey
Safari: Version 16.0 (17614.1.25.9.10, 17614)


For a code repo example see - https://github.com/MattBidewell/min-content-max-content-bug

-- 
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/20221020/43be74ce/attachment-0001.htm>


More information about the webkit-unassigned mailing list