Commit Graph

297 Commits

Author SHA1 Message Date
Obexer Christoph
1f7314747e instead of scrolling the view on every Bounds() call, do it only once 2011-11-26 18:06:56 +01:00
Obexer Christoph
4f49bd6e9b accessing nodeType may throw an exception 2011-11-26 18:06:56 +01:00
Obexer Christoph
217a75c0f6 fix permission denied access on inner iFrame (crossDomain) 2011-11-26 18:06:55 +01:00
Obexer Christoph
62fa6038e7 fix script error in html2canvas.Util.getCSS 2011-11-26 18:06:55 +01:00
Obexer Christoph
66d328d1e3 make sure the image used for the detection of the underline is positioned correctly 2011-11-26 18:06:55 +01:00
Obexer Christoph
2ec7fda1f1 replaced external image http://html2canvas.hertzen.com/images/8.jpg with data URI 2011-11-26 18:06:55 +01:00
Obexer Christoph
044b612d6e clear canvas before rendering to allow jpeg export
* normally when exporting jpeg any pixel that was transparent
   becomes black, make them white
 * check for window.console.log before use (avoid crash)
 * html2canvas.Parse: fix missing call to html2canvas.Util.Extend for the
   given options
2011-11-26 17:38:57 +01:00
Obexer Christoph
4aba46e247 fix origin check in IE 2011-11-26 17:38:11 +01:00
Obexer Christoph
91ac445fdf add support to render a canvas element to the screenshot 2011-11-26 17:34:19 +01:00
Niklas von Hertzen
2a3d6a0a35 Merge pull request #30 from cobexer/build-improvements
Build improvements
2011-11-16 01:10:07 -08:00
Obexer Christoph
03495f851d drop obsolete files from the build folder 2011-11-16 00:36:44 +01:00
Obexer Christoph
16c74d1f8c Improve build system: read version from version.txt, fix build without compiler
* read the version from version.txt
 * set default target to build
 * added dependencies to all targets
 * allow the build to run without a local copy of the closure compiler
 * updated license header with @VERSION@ which will be replaced during the build
 * added the license header to all files (that one will be stripped out by the closure compiler)
2011-11-16 00:36:06 +01:00
Niklas von Hertzen
74c7373362 Merge pull request #29 from gatapia/patch-1
It is possible for image tags not to have a 'src' (or background-image) ...
2011-11-15 04:12:37 -08:00
Guido Tapia
7ee7d7fa67 It is possible for image tags not to have a 'src' (or background-image) attribute specified. This case currently crashes html2canvas. I know its an edge case but it bit me. I set the image src programatically much later (element is actually not visible at the time I call html2canvas). 2011-11-15 16:07:05 +11:00
Niklas von Hertzen
962d5b8e8d Merge pull request #25 from kilokeith/width_fix
Fixed a width/height issue that caused smaller elements to render full bo
2011-10-15 02:14:20 -07:00
Keith Hoffmann
2ca4b88702 Fixed a width/height issue that caused smaller elements to render full body width. 2011-10-14 00:47:17 -05:00
Niklas von Hertzen
ff635115dc Enabled list-style-type's for position inside 2011-09-13 17:25:51 +03:00
Niklas von Hertzen
a75f41c076 Merge remote branch 'upstream/master' 2011-09-13 17:09:42 +03:00
Niklas von Hertzen
6dfb5299c9 Added list support 2011-09-13 17:09:33 +03:00
Niklas von Hertzen
a89b83cb11 Merge pull request #17 from cthackers/master
webkit-gradient fix
2011-09-13 02:04:35 -07:00
The Brain
52150b09cd Fixed webkit-gradient regular expr 2011-09-13 09:59:12 +03:00
The Brain
61f71c1839 sync 2011-09-13 09:49:09 +03:00
Niklas von Hertzen
6fe3218b50 Added some support for CSS gradients (by cthackers) 2011-09-12 23:50:43 +03:00
Niklas von Hertzen
f0112ff3ab merged from dev 2011-09-12 21:39:28 +03:00
Niklas von Hertzen
27ee971bba merged from dev 2011-09-12 21:35:37 +03:00
The Brain
5ba5ef571c Added support for background linear gradients on mozilla and webkit 2011-09-12 13:44:39 +03:00
The Brain
180cd38265 Fixed regular expression for chrome 2011-09-12 11:22:17 +03:00
The Brain
958cfdf4eb Added support for base64 encoded images as sources 2011-09-12 11:02:15 +03:00
Niklas von Hertzen
07c0c13cc1 Merge pull request #11 from oleksiy-nesterov/master
Base 64
2011-09-05 09:41:43 -07:00
Oleksiy Nesterov
7145d9303d Edited src/Images.js via GitHub 2011-08-23 05:53:07 +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
6fe937eb66 fixed IE 9 text issues 2011-08-11 16:19:42 +03:00
Niklas von Hertzen
be241066ce cleanup 2011-08-11 15:35:02 +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
29b580dbb7 added support for form element text value rendering 2011-07-29 22:55:01 +03:00
Niklas von Hertzen
8082865cab updated tests 2011-07-29 19:23:27 +03:00
Niklas von Hertzen
78e1f9829f fixed z-index ordering bug with backgrounds 2011-07-29 19:22:38 +03:00
Niklas von Hertzen
71369d3b33 updated to exclude local image 2011-07-29 19:21:15 +03:00
Niklas von Hertzen
b523d263e4 updated test console 2011-07-28 21:24:45 +03:00
Niklas von Hertzen
2bf4724c2a updated version 2011-07-28 21:23:52 +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
e64416ea44 updated build 2011-07-18 22:45:39 +03:00
Niklas von Hertzen
d04e1d87dd added storageReady event handler call 2011-07-18 22:45:25 +03:00
Niklas von Hertzen
7b68a46d52 fixed font-weight normal issue for IE 2011-07-18 22:45:11 +03:00
Niklas von Hertzen
bb907efb75 Added more logging and all renderers 2011-07-18 22:43:52 +03:00
Niklas von Hertzen
0fd3ba1533 added storageReady event handler 2011-07-18 22:43:23 +03:00
Niklas von Hertzen
24b096e113 fixed logger 2011-07-18 22:43:07 +03:00