New issue
Advanced search Search tips

Issue 792953 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

CSS.supports misreports overscroll-behavior

Reported by e...@mixmax.com, Dec 7 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Steps to reproduce the problem:
1. Open dev tools
2. Enter CSS.supports('overscroll-behavior')

What is the expected behavior?
CSS.supports('overscroll-behavior') returns true

What went wrong?
CSS.supports('overscroll-behavior') returns false

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.84  Channel: stable
OS Version: OS X 10.12.6
Flash Version:
 

Comment 1 by sdy@chromium.org, Dec 7 2017

Components: Blink>Scroll
Cc: pbomm...@chromium.org dtapu...@chromium.org
Labels: Needs-Bisect M-63
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on all Chrome channels i.e., Stable(63.0.3239.84), Dev(64.0.3278.0) and Canary(65.0.3287.0) and previous stable(62.0.3202.94), Observed similar behavior on other browsers as well i.e., Edge and Firefox.

Comment 3 by e...@mixmax.com, Dec 8 2017

Keep in mind that the previous stable(62.0.3202.94) had overscroll-behavior behind a flag, so it should return false for CSS.supports('overscroll-behavior') unless the flag is enabled.

It's my understanding that Firefox has implemented this CSS property, and has released it as of Firefox 59, whereas the latest stable is Firefox 57. Other browsers appear to have not implemented this property. See https://www.chromestatus.com/feature/5734614437986304.
Cc: sunyunjia@chromium.org gov...@chromium.org majidvp@chromium.org
Components: Blink>CSS
Thank you eli@, based on above comment cc'ing sunyunjia@ and  majidvp@
Status: WontFix (was: Untriaged)
> What is the expected behavior?
CSS.supports('overscroll-behavior') returns true

I think this is an invalid use of the CSS.supports API, see: https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports

Both:

CSS.supports('overscroll-behavior', 'contain')
CSS.supports('(overscroll-behavior: contain)')

return true.

Sign in to add a comment