[Webkit-unassigned] [Bug 244128] Add experimental feature to disable Bitmap image animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 31 17:14:40 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=244128

--- Comment #40 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
Comment on attachment 462061
  --> https://bugs.webkit.org/attachment.cgi?id=462061
Patch

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

> COMMIT_MESSAGE:7
> +This patch adds a new experimental AX preference, which when disabled, prevents BitmapImage animations. Additionally, we provide new interfaces to control animations at the page and individual image level.

re: Additionally, we provide new interfaces to control animations at the page and individual image level.

1) What is the use case of controlling the animation on individual image?
2) What is the interface for using this feature? In this patch I see resumeAnimation()/pauseAnimation() are used by Internals only. Is the plan to use it for testing only?
3) What should happen if two HTMLImageElements are accessing the same image?

<img id="image1" src="animated_image.gif">
<img id="image2" src="animated_image.gif">
<script>
    internals.resumeImageAnimation(image1);
</script>

Do you expect the animation will be resumed in both elements (image1  and image2) or only the first one (image1)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220901/6f8cd598/attachment-0001.htm>


More information about the webkit-unassigned mailing list