Commit Graph

335 Commits

Author SHA1 Message Date
arrix
fb944d9381 test case for negative z-index below text 2013-08-15 23:31:48 +08:00
arrix
dd7468c446 use solid border in z-index tests 2013-08-15 22:31:32 +08:00
Niklas von Hertzen
eb00650b02 fix text 2013-08-14 21:56:43 +03:00
Niklas von Hertzen
1d03a5f9a4 z-index test case for negative z-indexes 2013-08-14 21:56:32 +03:00
Niklas von Hertzen
fd4fd95429 Test case for static position inside position relative 2013-08-13 19:59:54 +03:00
Niklas von Hertzen
518dd702a2 list all tests in index.html 2013-08-06 21:10:46 +03:00
arrix
16d3bef255 z-index overhaul. relative above static; negative z-index
1. when stacking without z-index, positioned > floated > normal flow
2. supports negative z-index
3. new stacking context formed when opacity < 1 (standard)
4. new stacking context formed for position:fixed (no standard yet, done in mobile webkit and chrome 22+)
2013-08-06 03:36:12 +08:00
Niklas von Hertzen
0277c34310 first transform test 2013-08-04 19:21:00 +03:00
Niklas von Hertzen
6b5f31eef0 Add tests for text shadow 2013-08-04 17:00:41 +03:00
Niklas von Hertzen
c5e6eaa849 Change iframe test url 2013-08-04 15:41:46 +03:00
Niklas von Hertzen
877367d499 Merge branch 'arrix-child_textnodes' into develop 2013-08-04 14:36:55 +03:00
arrix
7d2e12c3dd added test case for #251 inline text in top element 2013-08-02 10:11:07 +08:00
Niklas von Hertzen
a7d3e9c2a2 Merge branch 'master' of git://github.com/fdn/html2canvas into fdn-master 2013-06-23 19:27:53 +03:00
Guerric Sloan
f49e147b2f Added qunit tests for text-shadow 2013-06-18 23:47:08 -07:00
Niklas von Hertzen
2c58c56fbe add iframe test 2013-05-31 18:07:57 +03:00
Niklas von Hertzen
a4702423cc adjust logging for results 2013-05-29 22:28:42 +03:00
Niklas von Hertzen
a80ef26c42 http->https 2013-05-29 22:13:22 +03:00
Niklas von Hertzen
2580b48d16 compare results from db 2013-05-29 22:01:07 +03:00
Niklas von Hertzen
87d7894d71 fix test result report posting 2013-05-29 21:16:28 +03:00
Niklas von Hertzen
7842768707 encrypt api key only 2013-05-29 20:52:27 +03:00
Niklas von Hertzen
403908c7da add logging for test reporting 2013-05-29 20:32:58 +03:00
Niklas von Hertzen
8c8128b80a add test result storing 2013-05-29 20:12:37 +03:00
Niklas von Hertzen
0d4b6ba665 setup travis config 2013-05-29 18:41:15 +03:00
Niklas von Hertzen
b91fd9bc87 use sync-webdriver for selenium tests 2013-05-29 18:01:28 +03:00
Obexer Christoph
bbdfe8a035 added test for zIndex -1 element used as background 2013-04-15 13:08:54 +02:00
Dan Farrelly
cacb9a468f Modified markdown function. Added grunt build task.
Markdown format output currently commented out.
2013-03-23 20:00:01 -04:00
Niklas von Hertzen
88dd1e41c0 Moved pseudoelement rendering to parse.js 2013-01-11 22:36:23 +02:00
Niklas von Hertzen
554185ed4a pseudoelement tests 2013-01-11 22:33:40 +02:00
Andy Edinborough
d73e53fbf0 Merge remote-tracking branch 'niklasvh/develop' into develop 2013-01-11 09:51:59 -06:00
Niklas von Hertzen
6d29cc5df3 chinese word rendering 2013-01-04 23:47:59 +02:00
Andy Edinborough
3edf9fa743 Merge remote-tracking branch 'niklasvh/develop' into develop
Conflicts:
	src/Parse.js
	src/Preload.js
2013-01-03 15:07:38 -06:00
Niklas von Hertzen
7d7deca342 updated results 2013-01-03 22:30:52 +02:00
Niklas von Hertzen
053a0a4787 switched background rendering to use patterns 2013-01-03 22:25:35 +02:00
Niklas von Hertzen
65b4bdf282 background clipping support 2013-01-03 20:34:47 +02:00
Niklas von Hertzen
56780565f4 refactored border radius calculation 2013-01-03 18:37:27 +02:00
Niklas von Hertzen
bb73d3c15e initial border-radius rendering 2013-01-02 21:26:24 +02:00
Andy Edinborough
67ccb33dd5 add tests for resizeBounds 2013-01-02 10:47:36 -06:00
Niklas von Hertzen
42abcfe5fc added border radius test 2012-12-31 20:10:18 +02:00
Andy Edinborough
473ff45267 Merge remote-tracking branch 'niklasvh/develop' into develop
Conflicts:
	src/Core.js
	src/Parse.js
	src/Util.js
2012-12-30 17:25:31 -06:00
Niklas von Hertzen
496c8488bd Moved font metrics to seperate file 2012-12-30 21:26:25 +02:00
Andy Edinborough
3774f3655c update test names 2012-12-30 11:22:47 -06:00
Andy Edinborough
0c66766d55 replace definition property, w/ args[]
Also fix reference for preloader
2012-12-30 11:21:44 -06:00
Niklas von Hertzen
ba9ace71ba improved text-decoration: overline accuracy 2012-12-30 16:46:31 +02:00
Niklas von Hertzen
b19c200c6c renamed results to readme 2012-12-30 16:30:28 +02:00
Niklas von Hertzen
29bd4c8c05 added result markdown creator 2012-12-30 16:29:01 +02:00
Niklas von Hertzen
d93e36d768 Moved browser support checks to seperate file 2012-12-30 15:48:55 +02:00
Niklas von Hertzen
45853a083c refactored text rendering 2012-12-30 04:15:51 +02:00
Niklas von Hertzen
516edbceea Improve background-repeat accuracy for non int positions 2012-12-29 23:05:49 +02:00
Niklas von Hertzen
a82234873e updated .gitignore 2012-12-29 16:04:50 +02:00
Niklas von Hertzen
d1ee6e9d64 removed baseline files 2012-12-29 16:02:46 +02:00
Niklas von Hertzen
05f3af4901 webdriver grunt task 2012-12-29 15:02:05 +02:00
Niklas von Hertzen
630bed968e baseline results 2012-12-29 15:01:48 +02:00
Niklas von Hertzen
7c870a6fb8 add border tests 2012-12-29 14:57:06 +02:00
Niklas von Hertzen
52033a5d72 Fixed jquery path 2012-12-29 14:34:01 +02:00
Niklas von Hertzen
07e80df399 Fixed lint error 2012-12-29 14:33:30 +02:00
Andy Edinborough
b81d7473e3 rewrite parseBackgroundImage to remove RegExp
RegExp couldn't handle parens inside parens:
linear-gradient(rgb(0,0,0),rgb(255,0,0))
2012-12-28 16:22:43 -06:00
Andy Edinborough
04782c1716 parse out prefixed methods 2012-12-28 12:54:58 -06:00
Andy Edinborough
a4b7d04e80 move parseBackgroundImage to Util; add tests 2012-12-28 12:33:57 -06:00
Niklas von Hertzen
118b42eb7e remove .baseline files 2012-12-28 19:42:59 +02:00
Niklas von Hertzen
3bbcfe36e0 Test result outputs 2012-12-28 19:41:14 +02:00
Niklas von Hertzen
cdc7a744e3 Different quote styles 2012-12-28 18:06:44 +02:00
Niklas von Hertzen
fb0e7ca29d removed external files 2012-12-27 23:57:06 +02:00
Niklas von Hertzen
4e978c60cc formatted tests into smaller units 2012-12-27 23:53:27 +02:00
Niklas von Hertzen
582d10e00d webdriver testing 2012-12-27 23:06:47 +02:00
Niklas von Hertzen
4684177df8 fix ie 9 bug 2012-12-27 23:06:35 +02:00
Niklas von Hertzen
d6ddb7e29d Added automated testing with selenium 2012-12-22 16:28:34 +02:00
Niklas von Hertzen
730ebcfcaa border-radius parsing 2012-06-26 17:18:34 +03:00
Niklas von Hertzen
cce6e3537c corrected border drawing with multiple colors
initial code for border-radius implemented
2012-06-26 15:15:46 +03:00
Benjamin Lupton
1059314258 Added a sublime-project file for Sublime Text 2 that contains the detected linting and standards set. Allows Sublime Text 2 to automatically follow the standards and have live linting enabled. Trimmed useless whitespace. 2012-05-29 11:26:26 +10:00
André Fiedler
d1dec8712e "added ellipse background gradient generation" 2012-03-10 15:31:16 +00:00
André Fiedler
6c29664e35 "added tests for radial gradients" 2012-03-09 22:37:45 +00:00
André Fiedler
66ad7190c0 "ups, missed one radial gradient" 2012-03-09 20:00:56 +00:00
André Fiedler
4f22c18043 "added some radial gradient examples to background.html" 2012-03-09 19:58:04 +00:00
André Fiedler
d83b06458c "removed IE9 svg gradients from background.html" 2012-03-09 19:55:41 +00:00
André Fiedler
211467fcc1 "better unit test for gradient parsing, check inverted width/height" 2012-03-07 18:24:43 +00:00
André Fiedler
6390c1c7ac "center gradient BugFix" 2012-03-07 18:20:09 +00:00
André Fiedler
b65a850997 "cleanup test" 2012-03-05 23:15:58 +00:00
André Fiedler
163219b656 "added -webkit-gradient parsing + tests" 2012-03-05 23:03:36 +00:00
André Fiedler
a4f13de455 "renamed getColorStopsFromGradient to parseGradient" 2012-03-05 22:21:28 +00:00
André Fiedler
75ba867988 "added tests for getColorStopsFromGradient" 2012-03-05 21:04:25 +00:00
André Fiedler
e479c952f7 "added another background gradient to backgrounds.html" 2012-03-05 19:33:52 +00:00
André Fiedler
6637ba1bd7 "-webkit-linear-gradient color stops and rendering" 2012-03-05 19:20:44 +00:00
André Fiedler
954631d045 "BugFixes" 2012-03-04 20:18:03 +00:00
André Fiedler
9fc366b3f7 "tests: moved Generate into own module; fixed QUnit messages" 2012-03-04 20:15:10 +00:00
Niklas von Hertzen
7a3ca77471 few bug fixes to getCSS and unit tests 2012-03-04 21:16:18 +02:00
André Fiedler
e82d703288 "tests: splitted Generate from CSS; if not supported pass test" 2012-03-04 19:06:25 +00:00
Niklas von Hertzen
c018166563 exclude children 2012-03-04 20:17:01 +02:00
Niklas von Hertzen
89d749e30a Merge branch 'master' of https://github.com/niklasvh/html2canvas.git 2012-03-04 20:15:51 +02:00
Niklas von Hertzen
c056acee43 children test 2012-03-04 20:15:35 +02:00
André Fiedler
f47f9025b7 "tests: small bugfix" 2012-03-04 17:30:01 +00:00
André Fiedler
d78687a3dc "fixed typo" 2012-03-04 17:00:58 +00:00
André Fiedler
2a0dff32b2 "test: backgroundGradient" 2012-03-04 16:59:00 +00:00
André Fiedler
00d73c0bf8 "test: backgroundGradients markup" 2012-03-04 15:16:07 +00:00
André Fiedler
5e57ebc0ce "preventing JSHint messages" 2012-03-04 15:02:03 +00:00
Niklas von Hertzen
3d7a6374ad bug fixes 2012-03-03 21:03:59 +02:00
Niklas von Hertzen
4579fb25c6 removed jQuery.css dependancy and few general CSS bug fixes 2012-03-03 19:18:39 +02:00
Niklas von Hertzen
e84d505f46 padding width needs to be in pixels 2012-03-03 16:56:31 +02:00
Niklas von Hertzen
946bdef0d4 Merge pull request #67 from cobexer/some-fixes
Some fixes
2012-03-03 06:42:46 -08:00
Niklas von Hertzen
8affbc3db5 add unit testing for css 2012-03-03 16:38:05 +02:00
Obexer Christoph
187ae9816e update tests/origin.html to use the new options overriding
allow tests to override selector and rendering options
2012-03-03 15:24:26 +01:00
Obexer Christoph
fb7879fd17 background test: add html and body background-color 2012-03-03 15:07:14 +01:00
Niklas von Hertzen
7726cd9f39 updated test.js to allow options 2012-03-03 00:52:46 +02:00
Niklas von Hertzen
94f2f799a4 Split renderers to their own objects 2012-03-02 20:35:48 +02:00
Niklas von Hertzen
c7d526c9ea simplified API and cleaned up code 2012-03-02 18:05:03 +02:00
Niklas von Hertzen
2dc8b9385e SVG taint fix, and additional taint testing options 2012-03-01 22:31:51 +02:00
Niklas von Hertzen
3ad49efa00 added support for CORS images and option to create canvas as tainted 2012-03-01 19:44:25 +02:00
Obexer Christoph
b82be022b2 build: improve minification, more verbose 2012-02-26 22:30:34 +01:00
Niklas von Hertzen
b65357c55d added flashcanvas integration and some legacy IE bug fixes 2012-02-26 00:19:16 +02:00
Niklas von Hertzen
0cb252ada9 add support for selecting single elements to render 2012-02-20 17:16:57 +02:00
Obexer Christoph
bbd75286a8 jquery.plugin.html2canvas: add profiling option, tests: enable profiling
in case you run the tests in firefox and have firebug installed and
active you now get a profiling run of html2canvas ;)
2012-02-04 15:32:09 +01:00
Obexer Christoph
c57ed30c3e add test for image without src attribute 2011-12-21 23:00:44 +01:00
Obexer Christoph
4dba62e2fd convert all tests to use tests/test.js
all tests now run from the source files directly instead of the built
verion in build/.
2011-12-11 18:12:20 +01:00
Obexer Christoph
2e494bde23 moved common code into tests/test.js 2011-12-11 18:06:57 +01:00
Niklas von Hertzen
ab5055ffad Added canvas image test 2011-11-26 20:38:55 +02:00
Niklas von Hertzen
6fe3218b50 Added some support for CSS gradients (by cthackers) 2011-09-12 23:50:43 +03:00
Niklas von Hertzen
27ee971bba merged from dev 2011-09-12 21:35:37 +03:00
Niklas von Hertzen
1c44b94817 Added support for some list-style-type's with list-style-position: inside 2011-08-11 22:43:42 +03:00
Niklas von Hertzen
dcd2a03f79 fixed fatal error with multiple background images 2011-08-11 15:32:20 +03:00
Niklas von Hertzen
d8b4398278 rewrote z-index ordering logic 2011-08-02 21:07:51 +03:00
Niklas von Hertzen
328ecd8520 Form text value tests 2011-07-29 22:56:33 +03:00
Niklas von Hertzen
8082865cab updated tests 2011-07-29 19:23:27 +03:00
Niklas von Hertzen
d5c443a14c fixed few minor bugs, added some support for overflow (hidden|scroll|auto) 2011-07-28 21:22:13 +03:00
Niklas von Hertzen
9d04b0bbec added support for proxys, fixed a lot of background position issues, added test console 2011-07-21 03:12:17 +03:00
Niklas von Hertzen
61827150cc border-style tests 2011-07-18 13:12:12 +03:00
Niklas von Hertzen
3c4581b5c4 Skipping visibility:hidden and display:none elements 2011-07-18 00:39:56 +03:00
Niklas von Hertzen
a27290caae added support for font-variant 2011-07-17 23:52:11 +03:00
Niklas von Hertzen
531d075c8c added rendering stacks, queues and support z-index positioning 2011-07-17 23:27:45 +03:00
Niklas von Hertzen
ead984a1f1 fixed image search for iframes + added default content for iframes and flash content 2011-07-17 02:19:26 +03:00
Niklas von Hertzen
4e19e99756 fixed background-repeat / background-position problem in IE9 and Opera 2011-07-17 01:34:34 +03:00
Niklas von Hertzen
20f6fd96b2 added tests for images 2011-07-17 00:12:35 +03:00
Niklas von Hertzen
5c36f6aff0 fixed text draw issue for opera 2011-07-16 23:56:49 +03:00
Niklas von Hertzen
9553ab54fd text-decoration tests 2011-07-16 22:34:11 +03:00
Niklas von Hertzen
78871e7b28 text-decoration tests 2011-07-16 22:33:46 +03:00
Niklas von Hertzen
adc30b6361 split files & created build file 2011-07-16 19:59:15 +03:00
Niklas von Hertzen
578cd17223 initial commit 2011-07-16 04:13:38 +03:00