[Webkit-unassigned] [Bug 238704] New: CSS min-aspect-ratio does not take decimals / fractions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 2 13:10:38 PDT 2022


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

            Bug ID: 238704
           Summary: CSS min-aspect-ratio does not take decimals /
                    fractions
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Apple Silicon)
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jay at conton.io

I am trying to style something with an aspect-ratio media query. I can use whole numbers like 16/9, 1/1, 3/1 but I cannot use decimals

@media (min-aspect-ratio: 1.5/1) {} // doesn't work in Safari 15 or Technology Preview
@media (min-aspect-ratio: 2/1) {} // works

@media (min-aspect-ratio: 1.5/1) {} // works in Firefox

-- 
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/20220402/08afd050/attachment.htm>


More information about the webkit-unassigned mailing list