Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 66fc5e188133f37c2990801c5c665825dbe85243
      
https://github.com/WebKit/WebKit/commit/66fc5e188133f37c2990801c5c665825dbe85243
  Author: Aditya Keerthi <[email protected]>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/css/CSSPrimitiveValueMappings.h
    M Source/WebCore/css/CSSValueKeywords.in
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+AppleVisualEffect.cpp
    M Source/WebKit/Configurations/WebKit.xcconfig
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources-output.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/Platform/cocoa/WKMaterialHostingSupport.swift
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/AppleVisualEffectTests.mm

  Log Message:
  -----------
  [Materials] Upstream support for glass materials
https://bugs.webkit.org/show_bug.cgi?id=294306
rdar://153029937

Reviewed by Abrar Rahman Protyasha and Richard Robinson.

Upstream support for the use of `-apple-visual-effect` with glass materials.

Renaming and refactoring to come in follow-up patches.

* Source/WTF/wtf/PlatformHave.h:

`HAVE_MATERIAL_EFFECT` is unused. `HAVE_MATERIAL_HOSTING` is not. Merge the two.

* Source/WebCore/css/CSSPrimitiveValueMappings.h:
(WebCore::toCSSValueID):
(WebCore::fromCSSValueID):
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+AppleVisualEffect.cpp:
(WebCore::CSSPropertyParserHelpers::isKeywordValidForAppleVisualEffect):
* Source/WebKit/Configurations/WebKit.xcconfig:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources-output.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Platform/cocoa/WKMaterialHostingSupport.swift:
(MaterialHostingView.resolvedMaterialEffect(for:)):
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/AppleVisualEffectTests.mm:
(TestWebKitAPI::TEST(AppleVisualEffect, GlassMaterialParsing)):
(TestWebKitAPI::TEST(AppleVisualEffect, 
GlassMaterialParsingWithoutUseSystemAppearance)):
(TestWebKitAPI::TEST(AppleVisualEffect, MediaControlsGlassMaterialParsing)):
(TestWebKitAPI::TEST(AppleVisualEffect, 
MediaControlsGlassMaterialParsingWithoutUseSystemAppearance)):
(TestWebKitAPI::TEST(AppleVisualEffect, 
MediaControlsSubduedGlassMaterialParsing)):
(TestWebKitAPI::TEST(AppleVisualEffect, 
MediaControlsSubduedGlassMaterialParsingWithoutUseSystemAppearance)):
(TestWebKitAPI::TEST(AppleVisualEffect, SubduedGlassMaterialParsing)):
(TestWebKitAPI::TEST(AppleVisualEffect, 
SubduedGlassMaterialParsingWithoutUseSystemAppearance)):
(TestWebKitAPI::TEST(AppleVisualEffect, NoCrashWhenRemovingLayers)):

Canonical link: https://commits.webkit.org/296094@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to