Closed Bug 1760734 Opened 2 years ago Closed 2 years ago

Deprecate -moz-hidden-unscrollable

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
100 Branch
Webcompat Priority P3
Tracking Status
firefox100 --- fixed

People

(Reporter: karlcow, Assigned: emilio)

References

Details

Attachments

(1 file)

I wonder if -moz-hidden-unscrollable could be deprecated.
It has created at least one webcompat issue.
https://github.com/webcompat/web-bugs/issues/101202

On https://searchfox.org/mozilla-central/rev/1c54648c082efdeb08cf6a5e3a8187e83f7549b9/testing/web-platform/tests/css/css-overflow/overflow-body-propagation-010.html#10
it was said in the code

overflow: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */

But it was not removed in the end in Bug 1531609. And it became an alias of overflow: clip.

https://searchfox.org/mozilla-central/rev/1c54648c082efdeb08cf6a5e3a8187e83f7549b9/servo/components/style/values/specified/box.rs#2079-2087
https://searchfox.org/mozilla-central/search?q=moz-hidden-&path=&case=false&regexp=false

We probably need TELEMETRY to assert the usage and the webcompat risks of removing it.

It has created at least one webcompat issue.
https://github.com/webcompat/web-bugs/issues/101202

Removing -moz-hidden-unscrollable would solve that issue.

html {
          overflow-y: scroll;
          overflow: -moz-hidden-unscrollable;
          height: 100%;
        }
Summary: Deprecate -moz-hidden-scrollable → Deprecate -moz-hidden-unscrollable

While the user can't workaround the issue, we can ship an intervention with relative ease. We only have one known breakage so far, so setting this as P3 for now.

Webcompat Priority: ? → P3

The problem with telemetry is that that doesn't give us a lot of visibility on stuff like overflow: -moz-hidden-unscrollable; overflow: clip;, which is a legit use of the old name to support older Firefox. But honestly I think we can probably just give it a try on nightly for a while.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

(In reply to Karl Dubost💡 :karlcow from comment #0)

On https://searchfox.org/mozilla-central/rev/1c54648c082efdeb08cf6a5e3a8187e83f7549b9/testing/web-platform/tests/css/css-overflow/overflow-body-propagation-010.html#10
it was said in the code

overflow: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */

To be clear that test was talking about removing that linenin the test btw (which is redundant once you support clip)

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e8215bd8f4db
Put overflow: -moz-hidden-unscrollable behind a pref on Nightly. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/33321 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Upstream PR merged by moz-wptsync-bot
Regressions: 1760979
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: