Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 06c22ee5181bf399b1bacdf852d6cc0d79ec2137
https://github.com/WebKit/WebKit/commit/06c22ee5181bf399b1bacdf852d6cc0d79ec2137
Author: Aleksei Marchenko <[email protected]>
Date: 2026-09-16 (Wed, 16 Sep 2026)
Changed paths:
A LayoutTests/spatial-css/spatial-portal-environment-map-css-expected.txt
A LayoutTests/spatial-css/spatial-portal-environment-map-css.html
A
LayoutTests/spatial-css/spatial-portal-environment-map-invalid-expected.txt
A LayoutTests/spatial-css/spatial-portal-environment-map-invalid.html
A LayoutTests/spatial-css/spatial-portal-environment-map-off-expected.txt
A LayoutTests/spatial-css/spatial-portal-environment-map-off.html
M Source/WebCore/Headers.cmake
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/style/computed/StyleComputedStyleBase.h
M Source/WebCore/style/computed/data/StyleNonInheritedRareData.cpp
M Source/WebCore/style/computed/data/StyleNonInheritedRareData.h
A Source/WebCore/style/values/spatial/StyleEnvironmentMap.cpp
A Source/WebCore/style/values/spatial/StyleEnvironmentMap.h
Log Message:
-----------
Add environment-map CSS property
https://bugs.webkit.org/show_bug.cgi?id=324010
rdar://178375274
Reviewed by Etienne Segonzac and Mike Wyrzykowski.
Add the environment-map property, which names the environment map lighting for
a spatial portal. Parsing, computed value only, nothing consumes the value yet.
It accepts a single name rather than the comma-separated list for now.
Tests: spatial-css/spatial-portal-environment-map-css.html
spatial-css/spatial-portal-environment-map-invalid.html
spatial-css/spatial-portal-environment-map-off.html
* LayoutTests/spatial-css/spatial-portal-environment-map-css-expected.txt:
Added.
* LayoutTests/spatial-css/spatial-portal-environment-map-css.html: Added.
* LayoutTests/spatial-css/spatial-portal-environment-map-invalid-expected.txt:
Added.
* LayoutTests/spatial-css/spatial-portal-environment-map-invalid.html: Added.
* LayoutTests/spatial-css/spatial-portal-environment-map-off-expected.txt:
Added.
* LayoutTests/spatial-css/spatial-portal-environment-map-off.html: Added.
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/style/computed/StyleComputedStyleBase.h:
* Source/WebCore/style/computed/data/StyleNonInheritedRareData.cpp:
(WebCore::Style::NonInheritedRareData::NonInheritedRareData):
(WebCore::Style::NonInheritedRareData::operator== const):
(WebCore::Style::NonInheritedRareData::dumpDifferences const):
* Source/WebCore/style/computed/data/StyleNonInheritedRareData.h:
* Source/WebCore/style/values/spatial/StyleEnvironmentMap.cpp: Added.
(WebCore::Style::CSSValueConversion<EnvironmentMap>::operator):
* Source/WebCore/style/values/spatial/StyleEnvironmentMap.h: Added.
(WebCore::Style::EnvironmentMap::EnvironmentMap):
(WebCore::Style::EnvironmentMap::isAuto const):
(WebCore::Style::EnvironmentMap::isNone const):
(WebCore::Style::EnvironmentMap::switchOn const):
Canonical link: https://commits.webkit.org/321255@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications