Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18f57e99c9fe0f558b8798b9c22e380cab6685f8
      
https://github.com/WebKit/WebKit/commit/18f57e99c9fe0f558b8798b9c22e380cab6685f8
  Author: Sam Weinig <[email protected]>
  Date:   2026-01-08 (Thu, 08 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-multicol/animation/column-rule-width-interpolation-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-ui/animation/outline-width-interpolation-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-ui/animation/outline-width-interpolation.html
    R 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-multicol/animation/column-rule-width-interpolation-expected.txt
    M Source/WebCore/style/values/backgrounds/StyleLineWidth.cpp
    M Source/WebCore/style/values/backgrounds/StyleLineWidth.h

  Log Message:
  -----------
  `border-*-width`, `outline-width` and `column-rule-width` don't pixel snap 
during CSS animations
https://bugs.webkit.org/show_bug.cgi?id=304945

Reviewed by Darin Adler.

Overload interpolation for `Style::LineWidth` to apply pixel snapping
during animations. Refactors pixel snapping code into a helper and added
spec link and documentation.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/animations/border-width-interpolation-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-multicol/animation/column-rule-width-interpolation-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-ui/animation/outline-width-interpolation-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-ui/animation/outline-width-interpolation.html:
* 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-multicol/animation/column-rule-width-interpolation-expected.txt:
 Removed.
* Source/WebCore/style/values/backgrounds/StyleLineWidth.cpp:
* Source/WebCore/style/values/backgrounds/StyleLineWidth.h:

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



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

Reply via email to