Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 54d003b450a00cc0ac4054756a52e78a0e628f1b
      
https://github.com/WebKit/WebKit/commit/54d003b450a00cc0ac4054756a52e78a0e628f1b
  Author: Alice Tang <[email protected]>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-images/animation/object-view-box-interpolation-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-images/object-view-box-parsing-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-images/object-view-box-transition-mutation-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/shadow-dom-expected.txt
    M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
    M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/rendering/widgets/shadow-dom-expected.txt
    M 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
    M 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/rendering/widgets/shadow-dom-expected.txt
    M 
LayoutTests/platform/ipad/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Headers.cmake
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/CSSProperties.json
    A Source/WebCore/css/parser/CSSPropertyParserConsumer+ObjectViewBox.cpp
    A Source/WebCore/css/parser/CSSPropertyParserConsumer+ObjectViewBox.h
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Shapes.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Shapes.h
    M Source/WebCore/css/parser/CSSPropertyParserCustom.h
    M Source/WebCore/css/values/shapes/CSSBasicShape.h
    M Source/WebCore/style/StyleBuilderCustom.h
    M Source/WebCore/style/computed/StyleComputedStyleBase.h
    M Source/WebCore/style/computed/data/StyleNonInheritedMiscData.cpp
    M Source/WebCore/style/computed/data/StyleNonInheritedMiscData.h
    A Source/WebCore/style/values/images/StyleObjectViewBox.cpp
    A Source/WebCore/style/values/images/StyleObjectViewBox.h

  Log Message:
  -----------
  Implement CSS object-view-box parsing and feature flag
https://bugs.webkit.org/show_bug.cgi?id=316220
rdar://178647990

Reviewed by Sammy Gill and Tim Nguyen.

Add the cssObjectViewBoxEnabled feature flag and implement parsing for
the CSS object-view-box property. Accepts none | <basic-shape-rect>
(inset(), rect(), xywh()). All three forms canonicalize to InsetFunction
in the computed style. The round <border-radius> form of inset() and
rendering are left for a follow-up.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+ObjectViewBox.cpp: Added.
* Source/WebCore/css/parser/CSSPropertyParserConsumer+ObjectViewBox.h: Added.
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Shapes.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Shapes.h:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/computed/StyleComputedStyleBase.h:
* Source/WebCore/style/computed/data/StyleNonInheritedMiscData.cpp:
* Source/WebCore/style/computed/data/StyleNonInheritedMiscData.h:
* Source/WebCore/style/values/images/StyleObjectViewBox.cpp: Added.
* Source/WebCore/style/values/images/StyleObjectViewBox.h: Added.

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



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

Reply via email to