Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 111a7fe64764d91d89d7eccece940d1629da8d7c
      
https://github.com/WebKit/WebKit/commit/111a7fe64764d91d89d7eccece940d1629da8d7c
  Author: Sam Weinig <[email protected]>
  Date:   2026-01-07 (Wed, 07 Jan 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation.html
    M 
LayoutTests/js/suppress-asan-on-clobberize-to-workaround-asan-bug-expected.txt
    M 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/scripts/process-css-properties.py
    M Source/WebCore/css/values/CSSValueAggregates.h
    M Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp
    M Source/WebCore/layout/formattingContexts/block/BlockFormattingGeometry.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp
    M Source/WebCore/page/InteractionRegion.cpp
    M Source/WebCore/page/SpatialNavigation.cpp
    M Source/WebCore/platform/RectEdges.h
    M Source/WebCore/rendering/BorderEdge.cpp
    M Source/WebCore/rendering/BorderShape.cpp
    M Source/WebCore/rendering/NinePieceImagePainter.cpp
    M Source/WebCore/rendering/RenderBlock.cpp
    M Source/WebCore/rendering/RenderBoxModelObjectInlines.h
    M Source/WebCore/rendering/RenderTableRow.cpp
    M Source/WebCore/rendering/RenderTheme.cpp
    M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
    M Source/WebCore/rendering/ios/RenderThemeIOS.mm
    M Source/WebCore/rendering/style/BorderData.h
    M Source/WebCore/rendering/style/RenderStyle+GettersInlines.h
    M Source/WebCore/rendering/style/RenderStyle.cpp
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleBase+GettersInlines.h
    M Source/WebCore/rendering/style/RenderStyleBase.h
    M Source/WebCore/style/StyleDifference.cpp
    M Source/WebCore/style/StyleExtractorCustom.h
    M Source/WebCore/style/computed/StyleComputedStyleBase+GettersInlines.h
    M Source/WebCore/style/computed/StyleComputedStyleBase.h
    M 
Source/WebCore/style/computed/StyleComputedStyleProperties+GettersCustomInlines.h
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
    M Source/WebKitLegacy/mac/DOM/DOM.mm

  Log Message:
  -----------
  Update border-*-width to match updated computed style resolution rules
https://bugs.webkit.org/show_bug.cgi?id=304965

Reviewed by Darin Adler.

The rules for the `border-*-width` properties' computed value resolution were 
updated with
https://github.com/w3c/csswg-drafts/issues/11494 to disentangle 
`border-*-width` and
`border-*-style` for computed style, making `border-*-style` only effect the 
used value,
and unlike `outline-width` and `column-rule-width` the resolved 
(getComputedStyle) value.

As was done with `outline-width` and `column-rule-width`, 
`RenderStyle::border{...}Width()`
have been removed and replaced by `RenderStyle::usedBorder{...}Width()`. 
Additionally,
the logical versions have also been removed (via new checks in the generator), 
and
replaced.

To simplify the implementation in RenderStyle, a new `RectEdgesView` type was 
added
(building on the `BorderEdgeView` type from `BorderData`) that allows returning 
a
`RectEdge` like type for data that either needs to be transformed, as we do for 
the
used border width values or are just disjoint.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation.html:
* 
LayoutTests/js/suppress-asan-on-clobberize-to-workaround-asan-bug-expected.txt:
* 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/scripts/process-css-properties.py:
* Source/WebCore/css/values/CSSValueAggregates.h:
* Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp:
* Source/WebCore/layout/formattingContexts/block/BlockFormattingGeometry.cpp:
* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp:
* Source/WebCore/page/InteractionRegion.cpp:
* Source/WebCore/page/SpatialNavigation.cpp:
* Source/WebCore/platform/RectEdges.h:
* Source/WebCore/rendering/BorderEdge.cpp:
* Source/WebCore/rendering/BorderShape.cpp:
* Source/WebCore/rendering/NinePieceImagePainter.cpp:
* Source/WebCore/rendering/RenderBlock.cpp:
* Source/WebCore/rendering/RenderBoxModelObjectInlines.h:
* Source/WebCore/rendering/RenderTableRow.cpp:
* Source/WebCore/rendering/RenderTheme.cpp:
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
* Source/WebCore/rendering/ios/RenderThemeIOS.mm:
* Source/WebCore/rendering/style/BorderData.h:
* Source/WebCore/rendering/style/RenderStyle+GettersInlines.h:
* Source/WebCore/rendering/style/RenderStyle.cpp:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleBase+GettersInlines.h:
* Source/WebCore/rendering/style/RenderStyleBase.h:
* Source/WebCore/style/StyleDifference.cpp:
* Source/WebCore/style/StyleExtractorCustom.h:
* Source/WebCore/style/computed/StyleComputedStyleBase+GettersInlines.h:
* Source/WebCore/style/computed/StyleComputedStyleBase.h:
* 
Source/WebCore/style/computed/StyleComputedStyleProperties+GettersCustomInlines.h:
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
* Source/WebKitLegacy/mac/DOM/DOM.mm:

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



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

Reply via email to