Bug 125508 - [CSS Shapes] Take into account fill-rule for polygon interpolation
Summary: [CSS Shapes] Take into account fill-rule for polygon interpolation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords:
Depends on:
Blocks: 98664
  Show dependency treegraph
 
Reported: 2013-12-10 06:33 PST by Rob Buis
Modified: 2013-12-11 05:57 PST (History)
4 users (show)

See Also:


Attachments
Patch (7.83 KB, patch)
2013-12-10 07:10 PST, Rob Buis
krit: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2013-12-10 06:33:42 PST
Right now we do not take into account the fill-rule for polygon interpolation, however http://dev.w3.org/csswg/css-shapes/#basic-shape-interpolation says we should:

If both shapes are of type polygon(), both polygons have the same number of vertices, and use the same <fill-rule>, interpolate between each value in the shape functions.
Comment 1 Rob Buis 2013-12-10 07:10:55 PST
Created attachment 218870 [details]
Patch
Comment 2 Rob Buis 2013-12-11 05:57:17 PST
Landed in r160429.