Bug 132433 - [CSS Shapes] shape-outside is on animated gif is extracted from all frames
Summary: [CSS Shapes] shape-outside is on animated gif is extracted from all frames
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 98664
  Show dependency treegraph
 
Reported: 2014-05-01 10:38 PDT by Rebecca Hauck
Modified: 2014-05-20 09:27 PDT (History)
1 user (show)

See Also:


Attachments
Test case for bug (1.86 KB, text/html)
2014-05-01 10:43 PDT, Rebecca Hauck
no flags Details
ref file for test (824 bytes, text/html)
2014-05-01 10:44 PDT, Rebecca Hauck
no flags Details
animated gif for test (1.77 KB, image/gif)
2014-05-01 10:44 PDT, Rebecca Hauck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rebecca Hauck 2014-05-01 10:38:02 PDT
From the spec:

For animated raster image formats (such as GIF), the first frame of the animation sequence is used.

The attached test uses a 3 frame animated gif for shape-outside where each of the frames causes the 2 lines of text to wrap differently. You can see the shape animate and it ends up taking the last frame as the shape.
Comment 1 Rebecca Hauck 2014-05-01 10:43:52 PDT
Created attachment 230592 [details]
Test case for bug
Comment 2 Rebecca Hauck 2014-05-01 10:44:13 PDT
Created attachment 230593 [details]
ref file for test
Comment 3 Rebecca Hauck 2014-05-01 10:44:43 PDT
Created attachment 230594 [details]
animated gif for test
Comment 4 Zoltan Horvath 2014-05-20 09:27:27 PDT
Even though the behavior doesn't match with the level 1 spec, we've agreed on keep this "bug" as it is, since it's actually a feature, and will be included in the future versions of the spec.