aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Lots of breaking changes. Read below! (#646, #716)Ulrich-Matthias Schäfer2017-07-256-50/+109
| | | | | | | | | | - added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them - moved `defs()` method from `SVG.Parent` to `SVG.Element` - `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646) - `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()` - `SVG.Nested` is not `overflow:visible` by default - all `SVG.*` objects now can have a node as parameter when constructing - `SVG()` does not set a default size anymore
* use `children` instead of `childNodes` (#710), renamed `previous()` to `prev()`Ulrich-Matthias Schäfer2017-07-101-4/+4
|
* renamed `fill()` method on `SVG.Gradient` and `SVG.Pattern` to `url()` (#708)Ulrich-Matthias Schäfer2017-07-072-4/+4
|
* renamed `SVG.Stop` constructor `at()` on `SVG.Gradient` to `stop()` (#707)Ulrich-Matthias Schäfer2017-07-072-31/+31
|
* reworked textPath (see #705)Ulrich-Matthias Schäfer2017-07-072-37/+48
|
* Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2017-07-0611-1186/+2557
|\ | | | | | | | | | | | | | | Conflicts (All resolved): dist/svg.js dist/svg.min.js package.json src/doc.js
| * Update CHANGELOG and rebuild the libRémi Tétreault2017-05-271-2/+28
| |
| * Merge pull request #676 from jcorentin/fix-height-width-animationRémi Tétreault2017-05-261-0/+16
| |\ | | | | | | Make width() and height() setters animatable
| | * Add unit tests for width & height animationCorentin J2017-05-111-0/+16
| | |
| * | fixed `SVG.FX.step` so that the animation doesn't stop if an afterAll ↵Rémi Tétreault2017-05-141-10/+27
| |/ | | | | | | callback call animate (#677)
| * revert the previous commitRémi Tétreault2017-05-021-122/+0
| | | | | | | | remove the typeof check in the initialisation of SVG.Matrix
| * allow SVG.Matrix to be passed SVG.NumberRémi Tétreault2017-05-011-0/+122
| |
| * Adds the intended functionality to call animate functions with multiple ↵Ulrich-Matthias Schäfer2017-04-301-2/+2
| | | | | | | | | | parameter (#671) e.g. `el.animate().zoom(level, point)`
| * fixed `SVG.FX.once` so that it add its callback on the last situation ↵Rémi Tétreault2017-04-301-0/+9
| | | | | | | | instead of the current one
| * format fixture svg and remove redundant css (use fixture.css instead)dotnetCarpenter2017-04-272-38/+32
| |
| * move fixtures to the fixtures folderdotnetCarpenter2017-04-272-0/+0
| |
| * updated jasmine to 2.6.0 and added @RmiTtro as maintainerdotnetCarpenter2017-04-267-1135/+2444
| |
| * fixed a bug in path parser which made it stop parsing when hitting z command ↵Ulrich-Matthias Schäfer2017-04-251-3/+3
| | | | | | | | (#665)
* | fix testcasesUlrich-Matthias Schäfer2017-04-251-2/+2
| |
* | fixed a bug in path parser which made it stop parsing when hitting z command ↵Ulrich-Matthias Schäfer2017-04-251-3/+3
| | | | | | | | | | | | | | | | | | | | (#665) Conflicts: bench/runner.html dist/svg.js dist/svg.min.js package.json
* | ids are not generated upon creation anymoreUlrich-Matthias Schäfer2017-04-237-32/+37
| | | | | | | | Instead they are generated when requested (#559)
* | changed `style()` to `css()`Ulrich-Matthias Schäfer2017-04-222-54/+56
| | | | | | | | | | it now accepts array as input and returns object when no argument given (#517) also removed sub-pixel offset fix
* | Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2017-04-2225-335/+694
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts - all resolved: # dist/svg.js # dist/svg.min.js # package.json # spec/SpecRunner.html # spec/spec/boxes.js # spec/spec/element.js # spec/spec/image.js # spec/spec/svg.js # src/boxes.js # src/flatten.js # src/image.js # src/polyfill.js # src/style.js # src/svg.js
| * Fix the flip transform on both axisRémi Tétreault2017-04-153-2/+140
| | | | | | | | | | This fix the bug that made calling flip without any argument (`element.flip()`) not work.
| * clean up and added changes to CHANGELOGdotnetCarpenter2017-04-111-10/+10
| |
| * re-added all specs from the spec/spec/ folderdotnetCarpenter2017-04-111-35/+36
| |
| * fix passUlrich-Matthias Schäfer2017-04-091-1/+1
| |
| * make last test passing in svg docsUlrich-Matthias Schäfer2017-04-092-11/+13
| |
| * clear does not remove parser anymoreUlrich-Matthias Schäfer2017-03-296-96/+138
| | | | | | | | make test work in svg documents
| * relax testUlrich-Matthias Schäfer2017-03-275-30/+3
| |
| * Speed improvements for plot() on path, polygon and poly line elements.wout2017-03-243-14/+89
| |
| * fixed `SVG.PathArray.parse` that did not correctly parsed flat arraysUlrich-Matthias Schäfer2017-03-241-1/+11
| |
| * onclick events are now bound with SVG.on, prefixed globals, relax tests to ↵Ulrich-Matthias Schäfer2017-03-2117-184/+285
| | | | | | | | work with svgdom, image loading uses eveents now, can now run jasmine tessts with svgdom when jasmine globally available
| * fixing testUlrich-Matthias Schäfer2017-03-161-1/+1
| |
* | removed `loaded()` and `error()`/`changed load()`Ulrich-Matthias Schäfer2017-03-193-217/+17
| | | | | | | | | | | | SVG.Image is now constructed with: - container.image(src, callback) - new SVG.Image().load(src, callback)
* | removing SVG.Set completelyUlrich-Matthias Schäfer2017-03-1610-256/+35
| |
* | remove feature to set style with css stringUlrich-Matthias Schäfer2017-03-161-6/+0
| |
* | Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2017-03-164-32/+56
|\| | | | | | | | | | | | | Conflicts (all resolved): dist/svg.js dist/svg.min.js spec/spec/boxes.js
| * make more tests pass in IEUlrich-Matthias Schäfer2017-03-154-34/+53
| |
| * move most regexe to SVG.regex, fix matrix constructor for string argumentUlrich-Matthias Schäfer2017-03-141-1/+7
| |
* | unified all boxes (#634)Ulrich-Matthias Schäfer2017-03-165-265/+147
| | | | | | | | | | | | | | | | unified all boxes - SVG.Box for everything - bbox, rbox and viewbox as methods - boxes can be created with string, array, object, list... - added helper to simplify boxes code
* | update specs, fix mistakes, include flatten.js to distUlrich-Matthias Schäfer2017-03-104-27/+19
|/
* fixed a bug with clone which didnt copy over dom data (#621)Ulrich-Matthias Schäfer2017-03-091-1/+8
|
* make events cancelable by default (#550) - version 5Ulrich-Matthias Schäfer2017-03-091-7/+20
|
* Fix offset produced by svg parser (#553)Ulrich-Matthias Schäfer2017-03-081-1/+1
|
* add ability to use `font()` method like `attr()` method (#620)Ulrich-Matthias Schäfer2017-03-081-6/+16
|
* added SVG.Box, added transform method to boxes, fix rbox (#626)Ulrich-Matthias Schäfer2017-03-083-99/+143
| | | | | | | | added SVG.Box, added transform method to boxes, fix rbox Also: - workaround for screenCTM with nested svg (FF bug) - remove unneeded workaround in toParent() - rbox accepts additional parameter to transform the box
* fixes SVG.PointArray.size() which created NaN when the bbox of the point ↵Ulrich-Matthias Schäfer2017-03-081-28/+44
| | | | | | | | array had zero height/width (#625) fixes SVG.PointArray.size() which created NaN when the bbox of the point array had zero height/width * update changelog
* Fix Animating a flip transform does not work #624Rémi Tétreault2017-03-071-3/+59
|
* Make the method dequeue stop the current animationRémi Tétreault2017-03-071-16/+9
| | | | | | | | | There was a bug in the dequeue method of the FX module. It was not stopping the current animation as it was supposed too. This bug is now fixed. Also, I rewritten the test that @fuzzyma left commented. I changed its implementation to not use the once callback since there seem to be some issues when combining once and dequeue. The method stop was also modified, it now call start only when it's revelant.