dotnetCarpenter
e4bff8c910
added test for silently fixing wrong point parameters to SVG.PointArray + better descriptions for SVG.PointArray tests
7 years ago
dotnetCarpenter
288662d0d9
fix leading/trailing space test case
odd number of points is invalid in SVG
See https://svgwg.org/svg2-draft/shapes.html#DataTypePoints
7 years ago
dotnetCarpenter
695f26a8df
handle leading and trailing spaces
7 years ago
Ulrich-Matthias Schäfer
0667187ea6
correct naming of test
7 years ago
Ulrich-Matthias Schäfer
f1d9f6157d
hotfix (#529)
7 years ago
Rémi Tétreault
2ce9170a5e
Change the SVG.FX attribute spd to _speed
This change is to follow the convention already put forward by the _target
attribute.
7 years ago
Rémi Tétreault
7db574d979
Make the tests of timeToPos() and posToTime() easier to understand
7 years ago
Rémi Tétreault
d29ee51f9f
Make tests relating to speed easier to understand
7 years ago
Rémi Tétreault
91d4934ca6
Make speed(0) pause the animation
7 years ago
Rémi Tétreault
a6261cda9d
Make SVG.FX.speed act more like others animations libraries
For example, a call .speed(2) would make the animation 2 times faster.
If you then call .speed(4), this would make the animation 4 times faster.
And a call .speed(1) would make it go back to normal speed.
7 years ago
Rémi Tétreault
97d97fbc5d
Fix the test of SVG.FX.afterAll
7 years ago
Rémi Tétreault
2acf66a8b1
Add tests for SVG.FX.loop
7 years ago
Ulrich-Matthias Schäfer
9b0408547e
fixed id in test which is different in headless browser
7 years ago
Ulrich-Matthias Schäfer
42664efc08
Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke a nop when no argument given
7 years ago
Ulrich-Matthias Schäfer
26ac29a143
remove redundant test
7 years ago
dotnetCarpenter
4f8edd919a
changing implementation according to review by @Fuzzyma
7 years ago
dotnetCarpenter
eed96bcf59
fixes #525 by accepting/parsing coordianate strings where x and y is seperated by comma and or by space - we count the shape coordinates until (and including) the maximum even number
7 years ago
dotnetCarpenter
92fb920e11
Added failing test for PointArray
7 years ago
Ulrich-Matthias Schäfer
0a857d505e
fixed specs for SVG.Point, fixes #530
7 years ago
Ulrich-Matthias Schäfer
018fcce752
tests now pass in Firefox
7 years ago
dotnetCarpenter
5c18e89d27
halt dev of chrome base solution
7 years ago
dotnetCarpenter
ccaaaf0981
Apparently travis is running Firefox 31 which doesn't support 'let'
7 years ago
dotnetCarpenter
bfa8009e40
add the CSS as a fixture - not sure if its needed for the tests but here it is
7 years ago
dotnetCarpenter
a10bee3608
updated stand-alone jasmine to 2.5.2
7 years ago
dotnetCarpenter
80b90ace2e
cli unit test setup done
7 years ago
dotnetCarpenter
97cd2b7480
trying out karma-fixture
7 years ago
dotnetCarpenter
fd13630c59
fix missing ) which caused a subtle syntax error
7 years ago
wout
b0a8b25f38
Speed improvements on parent element
8 years ago
Ulrich-Matthias Schäfer
0a0a57218b
fixed line constructor which doesn't work with Array as input (#487)
added spec for mentioned issue
8 years ago
Ulrich-Matthias Schäfer
3eb3209741
fixed bbox when element is not in the dom (#480), added parameter to `clone`
8 years ago
Ulrich-Matthias Schäfer
c0197097c4
fixed string parsing in viewbox (#483), specs `SVG.ViewBox`
8 years ago
Ulrich-Matthias Schäfer
9e14ae8476
fixed bug in `parse()` from `SVG.PathArray` which does not correctly handled `S` and `T` (#485)
8 years ago
Ulrich-Matthias Schäfer
30df220d96
fixed bug in `add()` and `SVG.Doc().create()`
8 years ago
Ulrich-Matthias Schäfer
8bdc17f571
fixed `SVG.morph()` (#473)
8 years ago
Ulrich-Matthias Schäfer
8460b3b9fa
readme update, clean up
8 years ago
Ulrich-Matthias Schäfer
541c6ecc81
fix finishing up correctly with even loops, readme
8 years ago
Ulrich-Matthias Schäfer
a14a3c5fdd
discard totalProgress for now
8 years ago
Ulrich-Matthias Schäfer
d173ad16c5
revert multiple breaking changes introduced by the last commits
8 years ago
Ulrich-Matthias Schäfer
2b26d66fc4
updated jasmine and specs
8 years ago
Ulrich-Matthias Schäfer
0858bca9eb
fixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443)
8 years ago
Ulrich-Matthias Schäfer
d17bab6bcc
fixed `svgjs:data` attribute which was not set properly in all browsers (#428)
added specs for `writeDataToDom()` and `setData()`
added toJSON in SVG.Number
8 years ago
Ulrich-Matthias Schäfer
bf0dd2a1cc
added specs for `isNumber()` and compile svg.js
8 years ago
Ulrich-Matthias Schäfer
bda9f32dcd
added SVG.Point class as wrapper for SVGPoint, added `el.point()` method (#403 / #437)
8 years ago
Denis Mosolov
a7eaeb4b06
fix #433
8 years ago
Ulrich-Matthias Schäfer
b40238cdff
new specs, reverse, initAnimation, after, during, comments
8 years ago
Ulrich-Matthias Schäfer
b0ef62bf5c
small change in fx specs
8 years ago
Ulrich-Matthias Schäfer
d249f07e5e
added new provisionally specs for fx
8 years ago
Ulrich-Matthias Schäfer
30f7761e66
added `gbox()` to group to get bbox with translation included (fixes #405)
8 years ago
Ulrich-Matthias Schäfer
2702ceb26d
svgjs now saves crucial data in the dom (fixes #369 again)
8 years ago
Ulrich-Matthias Schäfer
c271f48c64
fixed return value of `text()` after import/clone (#393)
8 years ago