5 Commits

Author SHA1 Message Date
MoyuScript
3fac0e78ed Linear gradients now parse color names
Also:
- Cleans up color stop and linear gradient regular expressions.
- Handles percentage-based linear gradient positions (fixes Firefox).

Fixes niklasvh/html2canvas#469.
2015-10-25 09:44:14 -04:00
MoyuScript
e85b34ae12 Correctly handle named colors in gradients 2015-03-29 23:20:17 +03:00
MoyuScript
b9efda58e0 Fix CSS gradients fail to render when non-vendor prefix property is included #388 2014-05-18 23:20:45 +03:00
MoyuScript
88c0fe291d Fix linear gradient rendering 2014-05-18 19:14:22 +03:00
MoyuScript
d70a861e64 formatted tests into smaller units 2012-12-27 23:53:27 +02:00