mozilla/pdf.js — pull request #2487 by jwal (2012-12-19 16:17:15+00:00)
Title: Fall back to using webkitFillRule when mozFillRule is not available

For some PDF files the mozFillRule property of the HTML5 canvas is used which is a non-standard property only available in Firefox and other Mozilla-based browsers. This patch allows the rendering of such PDF files to fall back to using webkitFillRule if that property is available.

Note that, at the time of writing, no known browser implements the webkitFillRule attribute. I am preparing this pull request in anticipation that maybe sometime soon one or two will.

See also https://github.com/mozilla/pdf.js/issues/2351