[webkit-changes] [WebKit/WebKit] e55f3a: Implement scrollbar-width CSS property in WebKit L...
Luke Warlow
noreply at github.com
Sat May 27 15:09:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e55f3a44ffb20e7d84e5415465ee54436d29559a
https://github.com/WebKit/WebKit/commit/e55f3a44ffb20e7d84e5415465ee54436d29559a
Author: Luke Warlow <luke at warlow.dev>
Date: 2023-05-27 (Sat, 27 May 2023)
Changed paths:
R LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-scrollbars/scrollbar-width-007-expected.txt
R LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/cssom-view/client-props-root-expected.txt
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebKitLegacy/mac/WebView/WebDynamicScrollBarsView.mm
M Source/WebKitLegacy/mac/WebView/WebHTMLView.mm
M Source/WebKitLegacy/mac/WebView/WebHTMLViewInternal.h
Log Message:
-----------
Implement scrollbar-width CSS property in WebKit Legacy
https://bugs.webkit.org/show_bug.cgi?id=257056
Reviewed by Tim Nguyen.
This change implements the missing code for the scrollbar-width CSS property none value to work inside of WebKit Legacy.
The thin value doesn't always have an effect in WebKit Legacy but this is spec compliant.
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-scrollbars/scrollbar-width-007-expected.txt: Removed.
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/cssom-view/client-props-root-expected.txt: Removed.
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebKitLegacy/mac/WebView/WebDynamicScrollBarsView.mm:
(-[WebDynamicScrollBarsView updateScrollers]):
* Source/WebKitLegacy/mac/WebView/WebHTMLView.mm:
(-[WebHTMLView _scrollbarWidthStyle]):
* Source/WebKitLegacy/mac/WebView/WebHTMLViewInternal.h:
Canonical link: https://commits.webkit.org/264633@main
More information about the webkit-changes
mailing list