Commit graph

12 commits

Author SHA1 Message Date
Andrea Bogazzi
436ce5a70c add test for gradient Transform 2015-09-19 08:27:28 +02:00
Andrea Bogazzi
c3b1af63e0 add failing test for missing stop attribute 2015-08-12 14:23:42 +02:00
kangax
94f7035624 Lint unit tests and fix errors/warnings 2015-04-23 11:47:35 +02:00
Andrea Bogazzi
a9e2211780 Update gradient.js 2014-08-16 08:16:12 +02:00
Andrea Bogazzi
b27cba8921 Update gradient.js
Add test for imported transform
2014-08-03 20:55:04 +02:00
kangax
67b54a44a5 Fix pattern toSVG 2013-07-22 22:00:03 +02:00
Kienz
520b2258d3 Convert opacity value into float value. If stop-opacity is set as attribute (not as style attribute) el.getAttribute('stop-opacity') returns null. Problem exists since commit a0b7fa4eb9.
Add default value rgb(0,0,0) for stop-color and 1 for stop-opacity.
Add more gradient tests.
2013-07-02 21:09:50 +02:00
Kienz
57de0f7f3a Add more tests to gradient (distinguish between linearGradient and radialGradient) 2013-06-18 22:34:18 +02:00
kangax
e8e32e80de Fix gradient colorStops initialization. Thanks @Kienz 2013-03-18 13:11:31 +01:00
kangax
9fb9b1ca34 Fix unit tests 2013-03-10 20:58:48 +01:00
kangax
6777c50012 Add support for patterns 2013-02-03 02:15:29 +01:00
kangax
9a7d40d7d7 Change the way gradients are initialized.
They no longer need `ctx` property, which is now taken from object directly during rendering time.
Add unit tests for gradients.
2012-08-20 18:23:53 +02:00