[Webkit-unassigned] [Bug 259812] New: min/max expressions are ignored in sizes attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 3 18:57:57 PDT 2023


            Bug ID: 259812
           Summary: min/max expressions are ignored in sizes attribute
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mic.gallego at gmail.com


"min" or "max" expressions are completely ignored by sizes in Safari, while they are properly honored in both Chrome and Firefox. We had a few min() based calculation, which caused Safari desktop to only pickup the biggest size. You can find a minimal reproduction case here: https://codepen.io/bakura10/pen/PodgbzN

Chrome and Firefox both show the low-resolution image due to the min clause, while Safari ignores it and uses the bigger image.


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/20230804/53accf7c/attachment.htm>

More information about the webkit-unassigned mailing list