[Webkit-unassigned] [Bug 167901] Animated GIFs fail to play in multi-column layout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 6 16:23:05 PST 2017


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

Said Abou-Hallawa <sabouhallawa at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bfulgham at webkit.org,
                   |                            |hyatt at apple.com,
                   |                            |sabouhallawa at apple.com,
                   |                            |zalan at apple.com
          Component|Images                      |Layout and Rendering

--- Comment #2 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
This is not an image drawing or animation issue. It is a rendering issue. I think it is related to column layout.

In the test case https://jsfiddle.net/sdxaxuv5/, RenderElement::newImageAnimationFrameAvailable(), which is called via BitmapImage::advanceAnimation(, succeeds to call RenderObject::imageChanged() for the first four <img> elements in the column <div> element. But it fails to call it for the last two <img> elements. This happens because shouldRepaintForImageAnimation() returns true for the first four images but it returns false for the last two images.

Because the image rect is not marked for painting, the last two images do not animate. Fixing the repaint issue should force the image to draw the next image frame.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170207/e929603d/attachment-0001.html>


More information about the webkit-unassigned mailing list