[webkit-changes] [WebKit/WebKit] 3ac783: [Materials] Add parsing support for blur and vibra...
Aditya Keerthi
noreply at github.com
Tue Dec 17 16:42:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3ac783ab6d8f72105ed2463ea9368e09887be975
https://github.com/WebKit/WebKit/commit/3ac783ab6d8f72105ed2463ea9368e09887be975
Author: Aditya Keerthi <akeerthi at apple.com>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M LayoutTests/TestExpectations
A LayoutTests/apple-visual-effects/apple-visual-effect-parsing-expected.txt
A LayoutTests/apple-visual-effects/apple-visual-effect-parsing.html
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac-wk2/TestExpectations
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/SourcesCocoa.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/animation/CSSPropertyAnimation.cpp
M Source/WebCore/css/CSSPrimitiveValueMappings.h
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/css/ComputedStyleExtractor.cpp
A Source/WebCore/platform/cocoa/AppleVisualEffect.cpp
A Source/WebCore/platform/cocoa/AppleVisualEffect.h
M Source/WebCore/platform/mediarecorder/MediaRecorderPrivateEncoder.cpp
M Source/WebCore/platform/mediastream/cocoa/AudioMediaStreamTrackRendererInternalUnit.cpp
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/rendering/style/RenderStyleInlines.h
M Source/WebCore/rendering/style/RenderStyleSetters.h
M Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp
M Source/WebCore/rendering/style/StyleRareNonInheritedData.h
Log Message:
-----------
[Materials] Add parsing support for blur and vibrancy effects
https://bugs.webkit.org/show_bug.cgi?id=284720
rdar://141519576
Reviewed by Abrar Rahman Protyasha, Wenson Hsieh, and Tim Nguyen.
Work towards an implementation of system materials in WebKit. This is not
intended to be web-exposed and is only for internal clients.
The API surface is intended to mirror platform visual effect views, which
support both blur and vibrancy effects. At most one effect can be specified at
a time, via `-apple-visual-effect`.
See https://developer.apple.com/design/human-interface-guidelines/materials
for information about system materials.
* LayoutTests/TestExpectations:
* LayoutTests/apple-visual-effects/apple-visual-effect-parsing-expected.txt: Added.
* LayoutTests/apple-visual-effects/apple-visual-effect-parsing.html: Added.
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/SourcesCocoa.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
* Source/WebCore/css/CSSPrimitiveValueMappings.h:
(WebCore::toCSSValueID):
(WebCore::fromCSSValueID):
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle const):
* Source/WebCore/platform/cocoa/AppleVisualEffect.cpp: Added.
(WebCore::operator<<):
* Source/WebCore/platform/cocoa/AppleVisualEffect.h: Added.
* Source/WebCore/platform/mediarecorder/MediaRecorderPrivateEncoder.cpp: Unified sources build fix.
* Source/WebCore/platform/mediastream/cocoa/AudioMediaStreamTrackRendererInternalUnit.cpp: Unified sources build fix.
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
(WebCore::RenderStyle::appleVisualEffect const):
(WebCore::RenderStyle::inheritedCustomProperties const):
(WebCore::RenderStyle::initialAnchorNames):
(WebCore::RenderStyle::initialAppearance):
* Source/WebCore/rendering/style/RenderStyleSetters.h:
(WebCore::RenderStyle::setAppleVisualEffect):
* Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator== const):
(WebCore::StyleRareNonInheritedData::dumpDifferences const):
* Source/WebCore/rendering/style/StyleRareNonInheritedData.h:
Canonical link: https://commits.webkit.org/287975@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