[webkit-changes] [WebKit/WebKit] 1a42ba: Simplify valueForImageSliceSide

Oriol Brufau noreply at github.com
Sat Mar 25 16:30:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a42ba835f13f09de8d08525461111b1b713ec2f
      https://github.com/WebKit/WebKit/commit/1a42ba835f13f09de8d08525461111b1b713ec2f
  Author: Oriol Brufau <obrufau at igalia.com>
  Date:   2023-03-25 (Sat, 25 Mar 2023)

  Changed paths:
    M Source/WebCore/css/ComputedStyleExtractor.cpp

  Log Message:
  -----------
  Simplify valueForImageSliceSide
https://bugs.webkit.org/show_bug.cgi?id=248325

Reviewed by Tim Nguyen.

A check for calculated values was added in bug 131480, since back then
animations could wrongly produce that. But it seems that has been fixed
and now a number and a percentage just interpolate discretely, so the
check can be removed.

I have verified that the relevant test still passes.
No test since there should be no observable change in behavior.

* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::valueForImageSliceSide):

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




More information about the webkit-changes mailing list