Bug 237651

Summary: [web-animations] increase the max number of animatable properties
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, graouts, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Antoine Quint
Reported 2022-03-09 05:27:20 PST
[web-animations] increase the max number of animatable properties
Attachments
Patch (2.59 KB, patch)
2022-03-09 05:28 PST, Antoine Quint
koivisto: review+
Antoine Quint
Comment 1 2022-03-09 05:28:09 PST
Antti Koivisto
Comment 2 2022-03-09 05:29:57 PST
Comment on attachment 454230 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=454230&action=review > Source/WebCore/animation/CSSPropertyAnimation.cpp:2896 > + COMPILE_ASSERT(animatableLonghandPropertiesCount + animatableShorthandPropertiesCount < USHRT_MAX, numberOfAnimatablePropertiesMustBeLessThanUShrtMax); more modern C++ would say std::numeric_limits<unsigned short>::max()
Antoine Quint
Comment 3 2022-03-09 05:44:34 PST
Antoine Quint
Comment 4 2022-03-09 05:45:10 PST
(In reply to Antti Koivisto from comment #2) > Comment on attachment 454230 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=454230&action=review > > > Source/WebCore/animation/CSSPropertyAnimation.cpp:2896 > > + COMPILE_ASSERT(animatableLonghandPropertiesCount + animatableShorthandPropertiesCount < USHRT_MAX, numberOfAnimatablePropertiesMustBeLessThanUShrtMax); > > more modern C++ would say std::numeric_limits<unsigned short>::max() Used that in the commit. Thank you!
Radar WebKit Bug Importer
Comment 5 2022-03-09 05:45:17 PST
Note You need to log in before you can comment on or make changes to this bug.