Bug 187151 - css env() support seems disabled on some iPhones
Summary: css env() support seems disabled on some iPhones
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 11
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-28 12:37 PDT by Rick Byers
Modified: 2022-07-24 13:58 PDT (History)
8 users (show)

See Also:


Attachments
screenshot in Safari (30.80 KB, image/png)
2018-06-28 12:37 PDT, Rick Byers
no flags Details
screenshot in Chrome (26.77 KB, image/png)
2018-06-28 12:38 PDT, Rick Byers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Byers 2018-06-28 12:37:49 PDT
Created attachment 343834 [details]
screenshot in Safari

Simple test page for CSS env(): http://output.jsbin.com/qenayuq

On my iPhone with AppleWebKit/605.1.15 and Safari iOS 11.4 it shows disabled.  Running Chrome on the same device (i.e. same WebKit) it's enabled.
Comment 1 Rick Byers 2018-06-28 12:38:11 PDT
Created attachment 343835 [details]
screenshot in Chrome
Comment 2 Rick Byers 2018-06-28 12:41:17 PDT
Also tested a different iPhone 6 device and it was enabled there.
Explicitly turning on the flag in "experimental features" also makes it work.

This was hit when evaluating the web-platform-tests we landed for shipping the feature in Chrome: https://groups.google.com/a/chromium.org/d/msg/Blink-dev/Fim-KmT08PE/LIHNNXALBAAJ
Comment 3 Ahmad Saleem 2022-07-24 08:58:20 PDT
I am not sure on previous version since I have only one device and iPhone 13 Pro Max with iOS 15.6 is showing that CSS env() is supported based on test case in Comment 0.

I think since old versions are not supported and only receive security updates, I think this can be closed.

Further - caniuse.com shows clearly that it was from Safari 11.3 onward for iOS - https://caniuse.com/?search=env()

Can this be marked as "RESOLVED INVALID" or "RESOLVED CONFIGURATION CHANGED". Thanks!