-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to eoFIll and eoClip #2534
Conversation
Changed implementation so it now uses eoFill and eoClip instead of the fill rule
@cabanier , I cannot find |
Hi yury, Ian and I have a disagreement on how this should be implemented. Rik From: Yury Delendik [mailto:[email protected]] @cabanierhttps://github.com/cabanier , I cannot find eoFill and eoClip in the spec at http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#2dcontext , however I see fillRule there. Not sure what you are trying to do. — |
For a longer reply, look at the recent discussion on webkit and whatwg mailing lists From: Yury Delendik [mailto:[email protected]] @cabanierhttps://github.com/cabanier , I cannot find eoFill and eoClip in the spec at http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#2dcontext , however I see fillRule there. Not sure what you are trying to do. — |
Okay, I see the https://bugs.webkit.org/show_bug.cgi?id=105508 conversation. Proposed fillRule attribute was based on SVG's fill-rule, which is "stateful" for children and it's useful in some cases. |
I have patches for eofill and eoclip for webkit: In response to your remark about SVG, SVG's fill rule is also not stateful as SVG is completely stateless. (SVG is based on the Adobe imaging model which also have eofill and eoclip) I'm not proposing that this patch should be merged immediatly. We should first wait until the mozilla bug is accepted. |
Really good, in this case this pull request blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=827053 . We will need to keep/include the fallback to the mozFillRule for older Firefox versions. |
That is unfortunately true. From: Yury Delendik [[email protected]] Really good, in this case this pull request blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=827053 . We will need to keep/include the fallback to the mozFillRule for older Firefox versions. — |
It is being released to several channels:
Last two require presence of the fallback for older browsers. |
Thanks! From: Yury Delendik [[email protected]] How is pdf.js released? I assumed it was part of FF deliverable. It is being released to several channels:
Last two require presence of the fallback for older browsers. — |
Changed implementation so it now uses eoFill and eoClip instead of the fill rule