mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibWeb: Do not invalidate elements with animations in the CSS cascade
See the note added to Animation::cancel for more info
This commit is contained in:
parent
b9d2d1b478
commit
c1ab6ca6b4
3 changed files with 16 additions and 5 deletions
|
@ -77,7 +77,11 @@ public:
|
|||
Yes,
|
||||
No,
|
||||
};
|
||||
void cancel();
|
||||
enum class ShouldInvalidate {
|
||||
Yes,
|
||||
No,
|
||||
};
|
||||
void cancel(ShouldInvalidate = ShouldInvalidate::Yes);
|
||||
WebIDL::ExceptionOr<void> finish();
|
||||
WebIDL::ExceptionOr<void> play();
|
||||
WebIDL::ExceptionOr<void> play_an_animation(AutoRewind);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue