kangax/fabric.js — pull request #1203 by alisspers (2014-02-27 09:21:21+00:00)
Title: Allow decimals in rgba colors

Proposed change to the `fabric.Color.reRGBa` regex pattern that allows percentage values for `rgba()` colors to have decimals.

This solves a problem we had with an SVG not being parsed (failing with an exception) due to it having percentages with decimals.