Commit Graph

7 Commits

Author SHA1 Message Date
Pale Moon f1618f071d Handle specular filters in SVG according to spec.
In the SVG filter implementation, a negative or 0 value for kernel unit length is an error according to spec.
Bail if we find this.
See https://www.w3.org/TR/SVG/filters.html#feSpecularLightingKernelUnitLengthAttribute
2018-07-25 06:57:13 +08:00
Pale Moon 20377b2b6b Don't allow subnormal surfaceScale values to be used in the lighting filter calculations. 2018-07-25 06:56:33 +08:00
janekptacijarabaci 4cfc6638c7 Canvas (follow up) 2018-07-25 06:53:33 +08:00
janekptacijarabaci 04e24878ea Canvas: Added support for ellipse (+ fix a hang/crashes problem, check the canvas rects) 2018-07-25 06:53:27 +08:00
Pale Moon ad0b2b8926 Switch to Lanczos scaling from Hamming to get a wider range of acceptable fast downscaling.
Selectively use HQ when scaling factor becomes too large (less than 33.5%).

This resolves #23.
2018-07-25 00:55:37 +08:00
trav90 2f6b96ce9a Set execute attributes on all .sh files in tree 2018-07-24 23:12:12 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00