WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
224923
Add discrete animation support for border-image-repeat
https://bugs.webkit.org/show_bug.cgi?id=224923
Summary
Add discrete animation support for border-image-repeat
Antoine Quint
Reported
2021-04-22 02:23:44 PDT
Add discrete animation support for border-image-repeat
Attachments
Patch
(14.80 KB, patch)
2021-04-22 02:24 PDT
,
Antoine Quint
no flags
Details
Formatted Diff
Diff
Patch for landing
(15.51 KB, patch)
2021-04-22 13:11 PDT
,
Antoine Quint
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2021-04-22 02:24:48 PDT
Created
attachment 426793
[details]
Patch
Antti Koivisto
Comment 2
2021-04-22 02:36:18 PDT
Comment on
attachment 426793
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=426793&action=review
> Source/WebCore/animation/CSSPropertyAnimation.cpp:699 > +class BorderImageRepeatWrapper : public AnimationPropertyWrapperBase {
final?
> Source/WebCore/animation/CSSPropertyAnimation.cpp:732 > + std::unique_ptr<AnimationPropertyWrapperBase> m_horizontalWrapper; > + std::unique_ptr<AnimationPropertyWrapperBase> m_verticalWrapper;
These could probably be just DiscretePropertyWrapper<NinePieceImageRule> m_horizontalWrapper; instead of unique_ptr. Even with unique_ptr they could have the actual type instead of the base type.
Antoine Quint
Comment 3
2021-04-22 03:34:35 PDT
(In reply to Antti Koivisto from
comment #2
)
> Comment on
attachment 426793
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=426793&action=review
> > > Source/WebCore/animation/CSSPropertyAnimation.cpp:699 > > +class BorderImageRepeatWrapper : public AnimationPropertyWrapperBase { > > final? > > > Source/WebCore/animation/CSSPropertyAnimation.cpp:732 > > + std::unique_ptr<AnimationPropertyWrapperBase> m_horizontalWrapper; > > + std::unique_ptr<AnimationPropertyWrapperBase> m_verticalWrapper; > > These could probably be just > > DiscretePropertyWrapper<NinePieceImageRule> m_horizontalWrapper; > > instead of unique_ptr. Even with unique_ptr they could have the actual type > instead of the base type.
The reason I did use AnimationPropertyWrapperBase instead of DiscretePropertyWrapper<NinePieceImageRule> was so that I didn't have to change some of the virtual methods from private to protected on parent classes.
Antoine Quint
Comment 4
2021-04-22 13:11:22 PDT
Created
attachment 426844
[details]
Patch for landing
EWS
Comment 5
2021-04-22 15:07:11 PDT
Committed
r276465
(
236925@main
): <
https://commits.webkit.org/236925@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 426844
[details]
.
Radar WebKit Bug Importer
Comment 6
2021-04-22 17:04:36 PDT
<
rdar://problem/77045712
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug