Bug 132433

Summary: [CSS Shapes] shape-outside is on animated gif is extracted from all frames
Product: WebKit Reporter: Rebecca Hauck <rhauck>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 98664    
Attachments:
Description Flags
Test case for bug
none
ref file for test
none
animated gif for test none

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.