Bug 248325 - No need to check for auto lengths or calculated values in valueForImageSliceSide
Summary: No need to check for auto lengths or calculated values in valueForImageSliceSide
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Oriol Brufau
URL:
Keywords: InRadar
Depends on: 248346
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-24 17:02 PST by Oriol Brufau
Modified: 2023-03-25 16:30 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oriol Brufau 2022-11-24 17:02:34 PST
https://searchfox.org/wubkat/rev/fde0f31b8e7849e3eb1bf6c82439b4b9a5d31baf/Source/WebCore/css/ComputedStyleExtractor.cpp#226-240

The check for auto lengths was added in bug 221856, but I'm assuming it was by mistake, since border-image-slice doesn't support auto, unlike border-image-width.

The 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.
Comment 1 Oriol Brufau 2022-11-24 17:05:53 PST
Pull request: https://github.com/WebKit/WebKit/pull/6796
Comment 2 Radar WebKit Bug Importer 2022-12-01 17:03:18 PST
<rdar://problem/102883509>
Comment 3 Oriol Brufau 2023-03-23 06:39:16 PDT
Bug 254063 removed the isAuto check.
Comment 4 EWS 2023-03-25 16:29:59 PDT
Committed 262121@main (1a42ba835f13): <https://commits.webkit.org/262121@main>

Reviewed commits have been landed. Closing PR #6796 and removing active labels.