Closed Bug 2038877 Opened 1 day ago Closed 1 day ago

Let ::-webkit-scrollbar ride on trains

Categories

(Core :: Layout: Scrolling and Overflow, task)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
relnote-firefox --- 152+
firefox152 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch

Please add a relnote-firefox? nomination to this bug when you have a chance.

Flags: needinfo?(hikezoe.birchill)

Release Note Request (optional, but appreciated)
[Why is this notable]:
Firefox now supports a limited, targeted subset of the non-standard ::-webkit-scrollbar pseudo-element, which is widely used on the web (Chrome and Safari implement it broadly). This fixes long-standing web compatibility issues on popular sites such as Google, Gmail, and Slack, where scrollbars were rendered incorrectly, double-stacked, or in some cases made nested scroll containers unreachable. The CSS Scrollbars specification acknowledges ::-webkit-scrollbar and defers to the standard scrollbar-width property when both are used.

[Suggested wording]:
Firefox now supports a limited subset of the non-standard ::-webkit-scrollbar pseudo-element to improve web compatibility:

  • Rules with non-zero width/height disable overlay scrollbars for the affected container.
  • display: none on ::-webkit-scrollbar behaves like scrollbar-width: none, hiding the scrollbar.
  • @supports selector(::-webkit-scrollbar) now evaluates to true.
    Full styling capabilities (colors, border-radius, etc.) are intentionally not supported

[Links (documentation, blog post, etc)]:

(Note that if "None" is in the Links section, in the preview the Links section never appears, so I am going to leave it as blank)

relnote-firefox: --- → ?
Flags: needinfo?(hikezoe.birchill)

Added to the Fx152 relnotes, thanks.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: