[webkit-changes] [WebKit/WebKit] 0bc9f1: Resolve CSS gradient color stop positions to Lengt...
Sam Weinig
noreply at github.com
Tue Jun 18 08:26:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0bc9f1178d891a5a0987511a69102304e60cdd7b
https://github.com/WebKit/WebKit/commit/0bc9f1178d891a5a0987511a69102304e60cdd7b
Author: Sam Weinig <weinig at apple.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-values/calc-linear-radial-conic-gradient-001-expected.txt
M Source/WebCore/css/CSSGradientValue.cpp
M Source/WebCore/css/CSSGradientValue.h
M Source/WebCore/css/CSSPrimitiveValue.h
M Source/WebCore/css/ComputedStyleExtractor.cpp
M Source/WebCore/css/ComputedStyleExtractor.h
M Source/WebCore/html/HTMLInputElement.cpp
M Source/WebCore/rendering/style/StyleGradientImage.cpp
M Source/WebCore/rendering/style/StyleGradientImage.h
Log Message:
-----------
Resolve CSS gradient color stop positions to Lengths at style builder time
https://bugs.webkit.org/show_bug.cgi?id=275399
Reviewed by Antti Koivisto.
Resolve gradient stop positions to Lengths at style builder time.
* LayoutTests/imported/w3c/web-platform-tests/css/css-values/calc-linear-radial-conic-gradient-001-expected.txt:
- Update results for additional passing cases.
* Source/WebCore/css/CSSGradientValue.cpp:
* Source/WebCore/css/CSSGradientValue.h:
- Update to resolve stop positions when style building. Now that this is
done here, we need to update caching logic for cases that used to be
in StyleGradientImage.
* Source/WebCore/css/ComputedStyleExtractor.cpp:
* Source/WebCore/css/ComputedStyleExtractor.h:
- Expose zoomAdjustedPixelValueForLength for use by StyleGradientImage.
* Source/WebCore/rendering/style/StyleGradientImage.cpp:
* Source/WebCore/rendering/style/StyleGradientImage.h:
- Use properly typed stop positions to resolve to computed styles
and rendering.
Canonical link: https://commits.webkit.org/280120@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list