aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* added tests for LineUlrich-Matthias Schäfer2020-04-102-2/+106
|
* added tests for ImageUlrich-Matthias Schäfer2020-04-092-1/+118
|
* added test for GradientUlrich-Matthias Schäfer2020-04-093-44/+127
|
* added tests for ellipseUlrich-Matthias Schäfer2020-04-091-0/+60
|
* added tests for DefsUlrich-Matthias Schäfer2020-04-091-0/+31
|
* fixes and testsUlrich-Matthias Schäfer2020-04-094-19/+168
| | | | | | - fixed flatten and ungroup - added position argument to ungroup, toParent and toRoot - added tests for Container
* added tests for ClipPathUlrich-Matthias Schäfer2020-04-081-0/+94
|
* added tests for CircleUlrich-Matthias Schäfer2020-04-081-0/+66
|
* fix defs and reference, tests for ElementUlrich-Matthias Schäfer2020-04-082-0/+285
|
* tests for EventTargetUlrich-Matthias Schäfer2020-04-082-1/+133
|
* added Fragment, completed Dom Tests, fixed `matches()` for document fragmentsUlrich-Matthias Schäfer2020-04-083-8/+383
|
* added second parameter to `addTo` and `putIn`. Added deep clone parameter to ↵Ulrich-Matthias Schäfer2020-04-051-3/+247
| | | | `clone`. Tests for Dom
* renamed removeNamespace()Ulrich-Matthias Schäfer2020-04-041-3/+3
|
* - fixed `put()` which correctly creates an svgjs object from the passed ↵Ulrich-Matthias Schäfer2020-04-033-19/+224
| | | | | | | | element now before returning - fixed `parent()` which correctly returns null if direct parent is the document or a document-fragment - fixed `add()` which correctly removes namespaces of non-root svg elements now when added to another svg element (#1086) - fixed `isRoot()` which correctly returns false, if the element is in a document-fragment
* fixed put and adopter, added tests to cover itUlrich-Matthias Schäfer2020-03-294-102/+147
|
* This is a big one...Ulrich-Matthias Schäfer2020-03-2824-1023/+2106
| | | | | | | | | | | | | | | | | | | | ### Fixed - fixed `zoom()` method of runner which was passed a wrong parameter - fixed positioning methods of `TSpan` to position them by its bounding box - fixed `flip()` method which flips correctly by center by default now and accepts correct arguments - fixed a case in `rbox()` where not always all values of the box were updated - fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working - fixed positioning of text by its baseline when using `amove()` - fixed tons of typings in the svg.d.ts file ### Added - added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058) - added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element - added `wrap()` method to `Dom` which lets you wrap an element by another one - added `orient()` method to `Marker` - added `options` parameter to `dispatch()` and `fire()` to allow for more special needs - added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088) - added lots of tests in es6 format
* Added tests for 0 value width/height wrong path scalingValentin2019-05-091-0/+9
|
* bugfix for issue 964Michael Becker2019-02-232-0/+113
|
* added foreignObject to the coreUlrich-Matthias Schäfer2019-02-181-0/+47
|
* fix travis testUlrich-Matthias Schäfer2019-01-221-2/+2
|
* fixed move and center commands for textUlrich-Matthias Schäfer2019-01-221-29/+23
| | | | | - fixed move commands (x, y, move) of text so that it moves text always by the upper left edge. - fixed center commands (cx, cy, center) of text so that it moves text always by the center.
* speed up zoom function for non-FF BrowserUlrich-Matthias Schäfer2019-01-181-18/+29
|
* fixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed ↵3.0.10Ulrich-Matthias Schäfer2019-01-141-1/+14
| | | | font-family and size from the defaults list
* fixed `textPath()` and `path().text()`Ulrich-Matthias Schäfer2019-01-141-3/+32
|
* Fix move and size of groups, removed setting of a default font so we dont ↵Ulrich-Matthias Schäfer2019-01-121-16/+126
| | | | act against user intention, fixed bug in `font()`
* Add testsErik Demaine2018-12-141-0/+28
|
* Release 3.0.53.0.5Ulrich-Matthias Schäfer2018-12-124-2/+143
|
* Release 3.0.43.0.4Ulrich-Matthias Schäfer2018-12-071-1/+18
|
* fix playgrounds, delete unneeded filesUlrich-Matthias Schäfer2018-12-011-5/+5
|
* Merge branch '790-color-spaces' into 3.0.0Ulrich-Matthias Schäfer2018-12-012-31/+255
|\
| * clamp values in toHex, tests, replace for of with for inUlrich-Matthias Schäfer2018-12-011-32/+40
| |
| * Merge branch '3.0.0' into 790-color-spacesUlrich-Matthias Schäfer2018-11-3029-446/+839
| |\
| * | fix Morphable so that it works with color spaces. It prefers the `to` space ↵Ulrich-Matthias Schäfer2018-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | over the `from` space - _d is initialized to 0 so toArray does not give you undefined - fix tests
| * | Finished off the color spaces, we are all green!Saivan2018-11-261-15/+119
| | | | | | | | | | | | | | | | | | | | | | | | We now have tested and working color spaces, isn't that nice! Changes ======= - All color spaces are working
| * | Updated all of the color modules and old tests are passing againSaivan2018-11-252-31/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the color modules, so that the old tests pass, we just need to modify the tests to test some of the new functionality (Since there was a lot of copy and paste work done haha) Changes ======= - Updated the color module to support a number of color spaces - Made sure all of the old tests are working again
* | | dont generate esm bundle anymore and link to src/main.js directly. Move ↵Ulrich-Matthias Schäfer2018-12-012-6/+6
| |/ |/| | | | | | | | | bower to its own repo rename makeNode back to create
* | fix testing with svgdomUlrich-Matthias Schäfer2018-11-284-42/+56
| |
* | merge karma configurationsUlrich-Matthias Schäfer2018-11-281-3/+3
| |
* | include adopter tests in test bundleUlrich-Matthias Schäfer2018-11-281-1/+1
| |
* | add tests for all exports of adopterUlrich-Matthias Schäfer2018-11-283-2/+165
| |
* | make es5 testsUlrich-Matthias Schäfer2018-11-281-2/+4
| |
* | plumber differences between node and browser so that tests run on bothUlrich-Matthias Schäfer2018-11-288-112/+216
| |
* | make tests work in node and browserUlrich-Matthias Schäfer2018-11-283-11/+77
| |
* | started to add es6 tests using svgdom as fallback in case no dom is foundUlrich-Matthias Schäfer2018-11-285-0/+277
| |
* | Fix build chain so that we now have multiple builds. Details below:Ulrich-Matthias Schäfer2018-11-287-34/+24
| | | | | | | | | | | | | | | | | | | | | | - svg.js: The esm bundle - svg.min.js: The bundle for all browsers for maximum support - svg.node.js: The bundle for node - polyfill.js: Using svg.min.js requires this polyfill in case the Browser does not understand all of ./config/polyfillList.js - polyfillIE.js: This is required when you use IE11 (polyfill.js still required) Please note, that not all test pass for IE11 due to its rounding issues and wrong calculation of bbox. Also note, that `defaultPrevented` is not working for CustomEvents in IE11.
* | Moved utils, namespaces, regex... to a subobject of SVG. Renamed SVGArray ↵Ulrich-Matthias Schäfer2018-11-2410-350/+69
| | | | | | | | and SVGNumber on export to Array and Number
* | Get rid of HTMLNode and Bare in favor of DomUlrich-Matthias Schäfer2018-11-244-49/+41
| | | | | | | | | | - words() and element() added to Dom - svg() now returns the _parent_ of the imported element, when outerHTML is true (which means an element gets replaces)
* | fixed lots of bugs in the timeline. Its now working as expected in all cases.Ulrich-Matthias Schäfer2018-11-231-3/+3
|/ | | | | | | | - refactor code into functions - handle timeSource correctly - allow for immediate updates - Runners dont know about their delay anymore. Thats far more simple. - Timeline is paused on creation
* rename `doc()` to `root()` and `toDoc()` to `toRoot()` as dicussed in (#932)Ulrich-Matthias Schäfer2018-11-192-9/+9
|
* renamed `Doc` to `Svg` according to (#932)Ulrich-Matthias Schäfer2018-11-195-18/+18
|