Commit Graph

43 Commits (282f81f27aa2ae3533da79217e58ed836a9d1c0f)

Author SHA1 Message Date
Jeff Schiller e557f346e9 Add unused document JS module and test. Change svgcanvas to always increment object ids for every call to getNextId().
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1908 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 06:57:26 +00:00
Jeff Schiller 3b1b46f874 Fix some bugs with svgutils.js. Add a couple tiny tests to selector_test.html
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1880 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-02 17:14:24 +00:00
Jeff Schiller f77d832c25 Test DOM structure of Selectors
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1876 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-17 16:48:28 +00:00
Jeff Schiller 111dba0350 Add select_test to all_tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1874 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 19:13:52 +00:00
Jeff Schiller 3ef0229180 Move Selector and SelectorManager into select.js. Start of unit test file for select.js.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1873 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 09:25:49 +00:00
Jeff Schiller 1918ddae7a Add test for BatchCommand
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1870 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-14 03:12:00 +00:00
Jeff Schiller 304d83f0ed Add test for ChangeElementCommand
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1869 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 20:17:21 +00:00
Jeff Schiller d5ae56ea8e Add tests for MoveElementCommand, InsertElementCommand and RemoveElementCommand
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 09:58:51 +00:00
Jeff Schiller deb5e4a2fa Test for UndoManager.undo() and redo()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1866 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 05:09:21 +00:00
Jeff Schiller 4a514ee231 Add some tests for history.js. Update History commands for getText() function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1865 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-12 23:10:19 +00:00
Jeff Schiller 4a133d490d Move undo/redo functionality into history.js. Started unit test file.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-12 19:08:29 +00:00
Jeff Schiller 86c750848b Move matrixMultiply() test to math test file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1863 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-09 05:37:36 +00:00
Jeff Schiller dd719b48ea Start on a math unit test file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1862 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-09 05:29:41 +00:00
Jeff Schiller d798f483e2 Add which browsers currently pass
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1861 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 19:06:56 +00:00
Jeff Schiller 45e8914e9f Add HTML5 DOCTYPE and CSS MIME type to tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1860 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 19:04:43 +00:00
Jeff Schiller 3a76f5e4d6 Correct mime type on svgutils_test.html. Add test for svgedit.utilities.bboxToObj()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1859 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 18:10:06 +00:00
Jeff Schiller f03a503d9a Add more tests for svgtransformlist.js. Move from browser-sniffing to feature detection for SVGTransformList.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1858 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 18:03:33 +00:00
Jeff Schiller 1039b68c0a More tests for SVGTransformList
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1857 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 16:26:58 +00:00
Jeff Schiller 711346f109 Start on a svgutils unit test file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1856 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 08:42:46 +00:00
Jeff Schiller 9fa4764f41 Remove jquery from all_tests page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1855 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 07:27:22 +00:00
Jeff Schiller 3aabcb428b Add unit tests for svgtransformlist.js and all_tests page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1853 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 07:23:26 +00:00
Jeff Schiller a681fc2579 Add a sanitize.js module and put sanitizeSvg into it. Fix some browsersupport sniffing calls.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1852 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 20:14:05 +00:00
Jeff Schiller cd62a0f51f Add units.js to Makefile and test HTML file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1845 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 17:03:26 +00:00
Jeff Schiller 0ce7e2adb7 Really check in test HTML file (I hate SVN sometimes)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1839 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 15:00:19 +00:00
Alexis Deveria e936e96078 Fixed Issue 586: Unit test broken since r1541, made sure other unit tests pass too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1785 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 17:25:11 +00:00
Jeff Schiller fd6d7b21b3 Correct 1.0/2.0 demo links in SVG Open 2010 presentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1686 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-30 08:30:03 +00:00
Alexis Deveria c5c57f5ad8 Fixed unit test page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1523 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-15 14:07:00 +00:00
Jeff Schiller d4c93087fc Handle viewboxes with non-zero left,top. Minor fix for bboxes of <use>, <foreignObject>
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1427 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 02:58:19 +00:00
Jeff Schiller 6039875f5a Now remap xlink:href attributes when importing <use>, <filter>, <pattern>, <textPath> and gradients.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1426 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 02:22:08 +00:00
Jeff Schiller 6e15924461 Reidentify all elements imported into the drawing. Add tests for it.
Still to do: Remap all xlink:href attributes, filter attribute, possibly others.



git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1425 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 00:56:19 +00:00
Jeff Schiller 24aaa973d7 Add first test for importing SVG into an existing drawing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1424 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 18:28:10 +00:00
Jeff Schiller 8e0bf800bf Fix Issue 486: Remove uses without href to prevent Safari crash. Turns all unit tests green
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 01:34:29 +00:00
Jeff Schiller f222ea9f98 Make math test green in Opera and WebKit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1403 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 17:45:51 +00:00
Jeff Schiller 469868d731 Fix XML escaping problem in attributes, add unit test
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1400 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 15:51:57 +00:00
Alexis Deveria e42c37f538 Added test for importing/exporting namespaced attributes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1383 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 16:06:34 +00:00
Jeff Schiller 98fc062e47 Make foreignObject with foreign content movable, resizable, rotatable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1368 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 15:32:36 +00:00
Jeff Schiller 3e94e85e31 Fix Issue 457: Remove experimentation on the ?url= parameter accidentally checked in.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1311 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-31 19:55:19 +00:00
Jeff Schiller 0074d7f7c0 Add support in whitelist and remapElements() for <a> elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1307 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 20:30:10 +00:00
Jeff Schiller bd64fc421e Add beginning unit test for path conversion code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1292 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-28 23:17:17 +00:00
Jeff Schiller 6eba334074 Correct test for Issue 436
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1276 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-22 01:48:57 +00:00
Jeff Schiller 0671e1584e Added test for Issue 436 and one more text for matrixMultiply()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1274 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-22 01:45:26 +00:00
Jeff Schiller 86ac38547f Add unit test for importing use. Add missing id attribute on use in whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1270 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 14:12:08 +00:00
Jeff Schiller d1e32d99d7 Expose SvgCanvas.matrixMultiply() and add starting unit-test framework (QUnit) and first test.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1236 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-18 06:40:32 +00:00