Commit Graph

562 Commits

Author SHA1 Message Date
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
38fe643b25 clear the canvas with the documentElement background color
see tests/background.html
2012-03-03 15:07:14 +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
0b065ad5d8 bug fixes 2012-03-02 21:53:20 +02:00
Niklas von Hertzen
ec881018b3 capitalized name 2012-03-02 21:25:08 +02:00
Niklas von Hertzen
f83fb59053 fix naming 2012-03-02 21:24:21 +02:00
Niklas von Hertzen
6eab1d5a9c removed screenshots.html, it's available in gh-pages branch 2012-03-02 20:37:10 +02:00
Niklas von Hertzen
94f2f799a4 Split renderers to their own objects 2012-03-02 20:35:48 +02:00
Niklas von Hertzen
cad3be2c66 bug fixes, and further simplification of API 2012-03-02 19:07:15 +02:00
Niklas von Hertzen
c7d526c9ea simplified API and cleaned up code 2012-03-02 18:05:03 +02:00
Niklas von Hertzen
bf994849e0 bug fixes for body background & firefox font 2012-03-02 14:43:25 +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
6ef6c79f24 todo update proxy 2012-03-01 19:51:07 +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
Niklas von Hertzen
c86d12b915 test if canvas has become tainted 2012-03-01 18:44:52 +02:00
Niklas von Hertzen
1447b031c6 html2canvas -> h2clog 2012-02-28 12:40:44 +02:00
Niklas von Hertzen
e01d97df19 fixed an instance of html2canvas.log to h2clog 2012-02-28 12:39:38 +02:00
Niklas von Hertzen
af60621d4f Update readme.md 2012-02-27 21:24:19 +02:00
Niklas von Hertzen
f485028d30 Merge pull request #63 from cobexer/minification-improvements
Minification improvements
2012-02-27 11:09:26 -08:00
Obexer Christoph
5878c201b3 added changelog entry 2012-02-26 23:19:39 +01:00
Obexer Christoph
b6d6f44678 make FlashCanvas check closure compiler friendly 2012-02-26 23:04:46 +01:00
Obexer Christoph
19f505214b cleanup .gitignore 2012-02-26 22:57:28 +01:00
Obexer Christoph
c24223ca85 renamed html2canvas.log to h2clog (minifies better)
renamed the html2canvas.canvasContext to h2cRenderContext,
it's used by both backends and thus not canvas specific
2012-02-26 22:57:22 +01:00
Obexer Christoph
b82be022b2 build: improve minification, more verbose 2012-02-26 22:30:34 +01:00
Niklas von Hertzen
84a676403f Merge pull request #62 from cobexer/for-niklasvh
fix image loaded through the proxy hanging the preload process
2012-02-26 12:52:46 -08:00
Obexer Christoph
afc358fb12 fix image loaded through the proxy hanging the preload process
images loaded through the proxy could hang the preload process if
they finish loading through the proxy but then fail to decode
and thus don't call the onload handler of the image object.
2012-02-26 13:14:16 +01:00
Niklas von Hertzen
e925719151 added flashcanvas integration and some legacy IE bug fixes 2012-02-26 00:21:01 +02: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
c4cc1fe180 Update readme.md 2012-02-20 17:26:21 +02:00
Niklas von Hertzen
abea4a89da Added changelog 2012-02-20 17:25:57 +02:00
Niklas von Hertzen
0cb252ada9 add support for selecting single elements to render 2012-02-20 17:16:57 +02:00
Niklas von Hertzen
d5040e119a update version 2012-02-20 16:44:46 +02:00
Niklas von Hertzen
83363a5cf4 Merge branch 'fix-warnings' of https://github.com/cobexer/html2canvas.git 2012-02-20 16:43:16 +02:00
Niklas von Hertzen
96db0b8ff4 Merge pull request #55 from cobexer/profiling
jquery.plugin.html2canvas: add profiling option, tests: enable profiling
2012-02-20 05:36:36 -08:00
Niklas von Hertzen
b320dd306e Merge pull request #53 from cobexer/bookmarklet
Bookmarklet
2012-02-20 05:35:30 -08:00
Obexer Christoph
36ff1ec7aa fix warnings reported by the closure compiler 2012-02-18 23:01:18 +01:00
Obexer Christoph
014c0ed98f add a note about NoScript's ABE, small fix 2012-02-18 22:50:11 +01:00
Obexer Christoph
45fa47100e fix typo 2012-02-15 18:47:21 +01:00
Obexer Christoph
db211317ff draft for a bookmarklet to screenshot any page
primarily intended to do debugging/testing
2012-02-14 20:13:08 +01: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
Niklas von Hertzen
8bbbace790 Merge pull request #41 from cobexer/for-niklasvh
a few fixes / improvements
2011-12-21 14:21:45 -08:00
Obexer Christoph
3dec1cd4ab extended .gitignore for eclipse projects 2011-12-21 23:14:32 +01:00
Obexer Christoph
594f735d29 faster imeplementation of 0d370d09f
also added try/catch around that addColourStop call
because trowing an exception and failing to finish
the rendering is not nice...
2011-12-21 23:06:09 +01:00
Obexer Christoph
447db0c5f5 added logs for used renderer 2011-12-21 23:01:48 +01:00
Obexer Christoph
c57ed30c3e add test for image without src attribute 2011-12-21 23:00:44 +01:00
Obexer Christoph
50f5f53e2b cleanup jquery.plugin.html2canvas.js; correctly pass the logging option 2011-12-21 22:59:44 +01:00
Obexer Christoph
2fdab0d753 disable logging by default 2011-12-17 20:05:20 +01:00
Obexer Christoph
0d8937435d fix crash if an img tag has no src, fix undefined variables 2011-12-17 19:50:27 +01:00