Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c3aac0664036091a6e079707ceb9621b11afb375
https://github.com/WebKit/WebKit/commit/c3aac0664036091a6e079707ceb9621b11afb375
Author: Aleksei Marchenko <[email protected]>
Date: 2026-09-16 (Wed, 16 Sep 2026)
Changed paths:
A LayoutTests/spatial-css/spatial-portal-position-context-off-expected.txt
A LayoutTests/spatial-css/spatial-portal-position-context-off.html
A
LayoutTests/spatial-css/spatial-portal-position-context-parsing-expected.txt
A LayoutTests/spatial-css/spatial-portal-position-context-parsing.html
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/rendering/style/RenderStyleConstants.cpp
M Source/WebCore/rendering/style/RenderStyleConstants.h
M Source/WebCore/style/computed/data/StyleNonInheritedRareData.cpp
M Source/WebCore/style/computed/data/StyleNonInheritedRareData.h
M Source/WebCore/style/values/primitives/StyleKeyword+Mappings.h
Log Message:
-----------
Add CSS syntax for position-context
https://bugs.webkit.org/show_bug.cgi?id=324213
rdar://187409104
Reviewed by Tim Nguyen.
Add `position-context: container | anchor` from the Spatial CSS spec draft,
parsing and computed value only — nothing reads it yet.
Gated on ENABLE_SPATIAL_PORTAL and the SpatialPortalEnabled setting, so nothing
changes on other platforms or with the feature off.
Tests: spatial-css/spatial-portal-position-context-off.html
spatial-css/spatial-portal-position-context-parsing.html
* LayoutTests/spatial-css/spatial-portal-position-context-off-expected.txt:
Added.
* LayoutTests/spatial-css/spatial-portal-position-context-off.html: Added.
* LayoutTests/spatial-css/spatial-portal-position-context-parsing-expected.txt:
Added.
* LayoutTests/spatial-css/spatial-portal-position-context-parsing.html: Added.
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/rendering/style/RenderStyleConstants.cpp:
(WebCore::operator<<):
* Source/WebCore/rendering/style/RenderStyleConstants.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/primitives/StyleKeyword+Mappings.h:
Canonical link: https://commits.webkit.org/321273@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications