Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 442363a17dd80a744dce18c02fa063f7ad5d652d
      
https://github.com/WebKit/WebKit/commit/442363a17dd80a744dce18c02fa063f7ad5d652d
  Author: Kiet Ho <[email protected]>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    R 
LayoutTests/fast/css/css-anchor-position/anchor-feature-disabled-expected.txt
    R LayoutTests/fast/css/css-anchor-position/anchor-feature-disabled.html
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/css/CSSPositionTryDescriptors.idl
    M Source/WebCore/css/CSSPositionTryRule.idl
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/calc/CSSCalcTree+Parser.cpp
    M Source/WebCore/css/parser/CSSParser.cpp
    M Source/WebCore/css/parser/CSSParserContext.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Align.cpp

  Log Message:
  -----------
  [css-anchor-position] Remove anchor positioning feature flag
rdar://184652081
https://bugs.webkit.org/show_bug.cgi?id=321540

Reviewed by Tim Nguyen.

@position-try is only usable when CSS Anchor Positioning feature flag is 
enabled,
so `@supports at-rule(@position-try)` (added in 318482@main) should return 
Unsupported
when the feature flag is not enabled. Given that anchor positioning is stable 
now,
let's remove the feature flag to avoid special handling code in @supports 
at-rule().

No behavioral changes, tested by existing test suite.

* 
LayoutTests/fast/css/css-anchor-position/anchor-feature-disabled-expected.txt: 
Removed.
* LayoutTests/fast/css/css-anchor-position/anchor-feature-disabled.html: 
Removed.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSPositionTryDescriptors.idl:
* Source/WebCore/css/CSSPositionTryRule.idl:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/calc/CSSCalcTree+Parser.cpp:
(WebCore::CSSCalc::consumeAnchor):
(WebCore::CSSCalc::consumeAnchorSize):
* Source/WebCore/css/parser/CSSParser.cpp:
(WebCore::CSSParser::consumePositionTryRule):
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::applyUASheetBehaviorsToContext):
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::consumePositionTryDescriptor):
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Align.cpp:
(WebCore::CSSPropertyParserHelpers::consumeAlignSelf):
(WebCore::CSSPropertyParserHelpers::consumeJustifySelf):
(WebCore::CSSPropertyParserHelpers::consumeAlignItems):
(WebCore::CSSPropertyParserHelpers::consumeJustifyItems):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to