WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
238704
CSS min-aspect-ratio does not take decimals / fractions
https://bugs.webkit.org/show_bug.cgi?id=238704
Summary
CSS min-aspect-ratio does not take decimals / fractions
Jay C
Reported
2022-04-02 13:10:38 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-04-09 13:11:16 PDT
<
rdar://problem/91525562
>
Karl Dubost
Comment 2
2023-09-04 22:39:46 PDT
I believe this is working as expected now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug