350 Commits

Author SHA1 Message Date
MoyuScript
587e8a73ef Fix pseudoelement rendering (with nth-child selectors etc.) 2014-10-06 22:46:43 +03:00
MoyuScript
418492074f Add option to use existing canvas for rendering 2014-09-28 22:51:11 +03:00
MoyuScript
c083985f93 Provide fallbacks for html parsing 2014-09-28 00:11:54 +03:00
MoyuScript
b46648657c Fix firefox cross-origin iframe rendering 2014-09-27 23:03:57 +03:00
MoyuScript
ac6b05d5d7 Add simpler api for rendering external urls 2014-09-27 21:07:25 +03:00
MoyuScript
998bfb496e Add google maps test 2014-09-27 20:20:08 +03:00
MoyuScript
6d01d29b27 Fix background-size with background-repeat x and y as well (#447) 2014-09-27 18:03:18 +03:00
MoyuScript
b36372bf6c Clone and render canvas content correctly 2014-09-27 18:00:14 +03:00
MoyuScript
8f46190da8 Fix: Render background-size correctly with no-repeat #447 2014-09-27 17:02:46 +03:00
MoyuScript
ce2517ee6d Correctly handle overflow content 2014-09-27 16:54:53 +03:00
MoyuScript
fa360b8022 Fix z-index stacking with fixed position 2014-09-21 11:44:11 +03:00
MoyuScript
f875ee6c9b Correctly apply canvas background color 2014-09-21 11:24:20 +03:00
MoyuScript
72994252aa Continue render with failed svg images 2014-09-20 21:54:03 +03:00
MoyuScript
c1ea1206e3 Correctly use native rendering with inline <svg> nodes if possible 2014-09-20 20:21:25 +03:00
MoyuScript
bc08edc340 Fallback to jsonp proxy if browser doesn't support cors xhr/image 2014-09-20 19:53:22 +03:00
MoyuScript
f758631480 Use correct window size for cloned iframe 2014-09-20 18:01:57 +03:00
MoyuScript
a101b4acbf Merge branch 'fix-doc-measurements' of https://github.com/ddrscott/html2canvas into ddrscott-fix-doc-measurements
Conflicts:
	dist/html2canvas.js
	dist/html2canvas.min.js
	src/core.js
2014-09-20 17:40:09 +03:00
MoyuScript
15599b520d Begin implementing cross-origin iframes 2014-09-20 17:36:15 +03:00
MoyuScript
a4ee26cffd Add preliminary support for same-origin iframes 2014-09-16 20:12:13 +03:00
MoyuScript
5a282666dc Use correct document context for canvas render 2014-09-14 20:14:38 +03:00
MoyuScript
733bd13a18 Use punycode to parse unicode characters correctly 2014-09-14 19:32:26 +03:00
MoyuScript
e23f9dd71b Don't parse/render input hidden nodes 2014-09-14 17:44:55 +03:00
MoyuScript
7cbb4d04b2 Add atob polyfill for ie9 for SVG base64 rendering 2014-09-09 18:42:00 +03:00
MoyuScript
90100dbc05 Add support for inline, base64 and node svg's 2014-09-08 23:44:10 +03:00
MoyuScript
ce9f413666 Default to element dimension if image size cannot be determined (vector images) 2014-09-08 21:25:21 +03:00
MoyuScript
c9112bb54a Allow tainting images to be drawn if option enabled 2014-09-08 21:24:26 +03:00
MoyuScript
74988da29e Prefer native svg rendering if available 2014-09-08 21:16:30 +03:00
MoyuScript
887bdc3927 Merge branch 'master' of https://github.com/niklasvh/html2canvas
Conflicts:
	build/html2canvas.min.js
	dist/html2canvas.js
	src/core.js
2014-09-04 16:24:23 -05:00
MoyuScript
22a3b75f5f use cloned document for measurements 2014-09-04 14:02:44 -05:00
MoyuScript
b5923fc04b Add svg rendering with fabric.js 2014-09-04 20:50:31 +03:00
MoyuScript
b081bf8756 Fix rendering for safari 6 2014-09-04 19:29:42 +03:00
MoyuScript
6f35015b93 Preliminary support for svg rendering 2014-09-04 18:47:06 +03:00
MoyuScript
b9efda58e0 Fix CSS gradients fail to render when non-vendor prefix property is included #388 2014-05-18 23:20:45 +03:00
MoyuScript
88c0fe291d Fix linear gradient rendering 2014-05-18 19:14:22 +03:00
MoyuScript
7940062240 Fallback to DummyImageContainer if no suitable ImageContainer found 2014-05-18 17:48:32 +03:00
MoyuScript
48e9b881b1 Fix cors loading of images 2014-05-18 17:40:01 +03:00
MoyuScript
443b7635ba Use backgroundColor from documentElement if rendered element lacks backgroundColor 2014-04-06 21:43:20 +03:00
MoyuScript
d63fd9d870 Fix bug with iframe not being loaded in-time 2014-03-24 19:05:32 +02:00
MoyuScript
bfe31cf71f Fix transform nesting 2014-03-15 14:30:26 +02:00
MoyuScript
be59e0ee19 Move non-canvas supported fallback to seperate file 2014-03-15 13:22:55 +02:00
MoyuScript
73266849b4 Don't fail on broken images 2014-03-15 13:20:05 +02:00
MoyuScript
6e1baa3e25 Fix IE9 https origin check bug 2014-03-15 13:01:04 +02:00
MoyuScript
7ba49ebc4c Fail with a Promise.reject when no canvas support 2014-03-10 18:46:25 +02:00
MoyuScript
fbabcfe7dd Fix Firefox DOM clone not being ready 2014-03-05 22:24:53 +02:00
MoyuScript
4e580076d3 Fix cropping bug 2014-03-05 19:19:24 +02:00
MoyuScript
de21379f36 Limit crop to the maximum size of outputted canvas 2014-03-04 21:54:24 +02:00
MoyuScript
bb485acf98 Account for negative bounds in cropping 2014-03-04 20:42:34 +02:00
MoyuScript
57c13e0002 Correctly crop content 2014-03-03 21:19:28 +02:00
MoyuScript
e2991adc76 Render input elements correctly 2014-03-02 19:51:46 +02:00
MoyuScript
308b8fd8f4 Fix IE misalignment of content after scroll 2014-03-02 18:03:30 +02:00