Bug 41466 - [Qt] Canvas: clip() should use non-zero winding rule
Summary: [Qt] Canvas: clip() should use non-zero winding rule
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: HTML5, Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-07-01 09:03 PDT by Andreas Kling
Modified: 2010-07-01 11:28 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot of web inspector in QtTestBrowser (67.31 KB, image/png)
2010-07-01 09:03 PDT, Andreas Kling
no flags Details
Proposed patch (1.44 KB, patch)
2010-07-01 09:06 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2010-07-01 09:03:57 PDT
Created attachment 60256 [details]
Screenshot of web inspector in QtTestBrowser

This causes the "pill" in the web inspector to look strange (see attached screenshot.)

Quoth HTML5: "The clip() method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule."

Spec link:
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-clip
Comment 1 Andreas Kling 2010-07-01 09:06:22 PDT
Created attachment 60257 [details]
Proposed patch
Comment 2 Oliver Hunt 2010-07-01 09:15:11 PDT
Comment on attachment 60257 [details]
Proposed patch

r=me
Comment 3 WebKit Commit Bot 2010-07-01 11:28:33 PDT
Comment on attachment 60257 [details]
Proposed patch

Clearing flags on attachment: 60257

Committed r62276: <http://trac.webkit.org/changeset/62276>
Comment 4 WebKit Commit Bot 2010-07-01 11:28:38 PDT
All reviewed patches have been landed.  Closing bug.