Bug 232020

Summary: CSSPropertyZoom needs wrapper that ensures it's always blended into a positive value.
Product: WebKit Reporter: Gabriel Nava Marino <gnavamarino>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, graouts, graouts, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+, ews-feeder: commit-queue-

Description Gabriel Nava Marino 2021-10-20 10:25:01 PDT
It was recommended to consider "NonNegativeFloatPropertyWrapper as it could be refactored it to support various flags, for instance one for non-negative values, and one for strictly positive values, like we need for zoom"
Comment 1 Gabriel Nava Marino 2021-10-20 10:56:06 PDT
<rdar://84469657>
Comment 2 Radar WebKit Bug Importer 2021-10-20 10:56:57 PDT
<rdar://problem/84469930>
Comment 3 Antoine Quint 2021-10-21 02:55:30 PDT
Created attachment 442001 [details]
Patch
Comment 4 Antti Koivisto 2021-10-21 02:58:35 PDT
Comment on attachment 442001 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=442001&action=review

> Source/WebCore/animation/CSSPropertyAnimation.cpp:2140
> +    enum class ValueRange : uint8_t {
> +        All,
> +        NonNegative,
> +        Positive
> +    };

Nice
Comment 5 EWS 2021-10-21 04:53:38 PDT
Tools/Scripts/svn-apply failed to apply attachment 442001 [details] to trunk.
Please resolve the conflicts and upload a new patch.
Comment 6 Antoine Quint 2021-10-21 05:40:19 PDT
Committed r284602 (243331@main): <https://commits.webkit.org/243331@main>