This feature modernizes the Chromium scrollbars (both overlay and non-overlay) on Windows and Linux to fit the Windows 11 Fluent design language. Non-overlay Fluent scrollbars will be enabled by default in Linux and Windows. This change applies to Linux as well because Chromium's Linux scrollbar design has historically been aligned with what ships on Windows. How to expose enabling overlay Fluent scrollbars is still being decided. Visual spec: https://docs.google.com/document/d/1haDpb1QIh2PaLwsQD1i4WHFq_5_jSK3XK9lhgSs4WkM/edit?usp=sharing Design doc: https://docs.google.com/document/d/1GCmz2nbJV1XiopoLHnlrVaHCjhQMdiyDfPN_a22OIjU/edit?usp=sharing Intent to implement: https://groups.google.com/a/chromium.org/g/blink-dev/c/SomQdLx6aEk
Fluent scrollbars are thinner than the existing design for them. On 100% scale, chromium scrollbars are 17px wide while Fluent scrollbars are 15px wide. This change could have the following consequences: - Some scrolling or layout tests may see a decrease in performance due to a larger viewport being rendered. - The rendered area for pages with scrollbars will be slightly larger, which may cause layout shifts for webpages who wrote their pages assuming the previous scrollbar dimensions. Here are some considerations that reduce the mentioned risks: - Platforms with overlay scrollbars enabled by default (ChromeOS, mobile devices, Mac without a mouse) already have different viewport widths for the same window size. - Scrollbars can already have different widths in different User Agents. For example, Mac's always-on scrollbars are 14px wide, and Opera GX's are 15px wide.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
This feature is only available on Windows and Linux.
This feature updates the design of chrome's scrollbars and doesn't modify any web API. The changes in layout are included in all tests that show scrollbars, due to the nature of how WPT evaluates results. Fluent scrollbars are already enabled by default in tests, and only a test that checked fonts was rebased because it relied on a screenshot that showed scrollbars (wpt/html/syntax/charset/without-inheritance.html).
DevTrial on desktop | 133 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
None--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6797c861.710a0220.3b27a2.03b1.GAE%40google.com.
LGTM2
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/ad3ad5a3-a10f-414a-9b64-4759639634dc%40chromium.org.