56 Commits

Author SHA1 Message Date
MoyuScript
08aea393b0 remove todo comment 2013-01-02 10:51:47 -06:00
MoyuScript
4a397bbee9 add tests for resizeBounds 2013-01-02 10:47:36 -06:00
MoyuScript
3da27482a3 trimText regexp needs /g 2013-01-02 10:40:56 -06:00
MoyuScript
2ccab4d275 backgroundSize needs trimmed before second split
also move trimText to Util
2013-01-02 10:39:00 -06:00
MoyuScript
9c04768dfd working background-size 2013-01-02 10:10:03 -06:00
MoyuScript
b1cfba5597 implementing background-size; use parseBackgroundImage in render 2013-01-01 10:42:22 -06:00
MoyuScript
3c6c16da85 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
MoyuScript
2393b5fb59 initial support for backgroundSize 2012-12-30 12:30:48 -06:00
MoyuScript
82194f0295 refactor Preload 2012-12-30 12:20:35 -06:00
MoyuScript
4b6f1f4e5b replace definition property, w/ args[]
Also fix reference for preloader
2012-12-30 11:21:44 -06:00
MoyuScript
f8586e81dd refactoring 2012-12-29 21:06:40 +02:00
MoyuScript
cb6a919dd9 fully remove regex; simplify whitespace check
jshint complained about case statements w/o break (boo)
2012-12-28 16:26:39 -06:00
MoyuScript
6cde3cd22f 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
MoyuScript
65772c2dab parse out prefixed methods 2012-12-28 12:54:58 -06:00
MoyuScript
ea83bd0ea8 move parseBackgroundImage to Util; add tests 2012-12-28 12:33:57 -06:00
MoyuScript
c5d82acdf6 Switched build process to use grunt 2012-11-25 20:59:31 +02:00
MoyuScript
9163b5482a border-radius parsing 2012-06-26 17:18:34 +03:00
MoyuScript
70f83bae9e removed last jQuery dependencies
should be fully jQuery free now!
2012-06-26 01:17:03 +03:00
MoyuScript
14ec360664 fix jQuery noconflict 2012-06-13 13:56:01 +03:00
MoyuScript
d88e72e1b6 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
MoyuScript
8dd1bea547 cache computed style 2012-05-24 14:10:40 +03:00
MoyuScript
eefb32fdba Merge branch 'master' of https://github.com/niklasvh/html2canvas.git 2012-03-06 14:37:28 +02:00
MoyuScript
7f8479f04b reverting back to jQuery.contents() 2012-03-06 14:35:33 +02:00
MoyuScript
6c257b60e7 some whitespace/warning cleanup 2012-03-05 07:56:45 +01:00
MoyuScript
c434fdf6cf few bug fixes to getCSS and unit tests 2012-03-04 21:16:18 +02:00
MoyuScript
35fd0ae8bf bug fixes 2012-03-03 21:03:59 +02:00
MoyuScript
67c5af1822 removed jQuery.css dependancy and few general CSS bug fixes 2012-03-03 19:18:39 +02:00
MoyuScript
aa127655dc moved backgroundPosition to utils 2012-03-03 16:39:52 +02:00
MoyuScript
243a3ae8f5 simplified API and cleaned up code 2012-03-02 18:05:03 +02:00
MoyuScript
683742bfbe 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
MoyuScript
dd0331fd81 added flashcanvas integration and some legacy IE bug fixes 2012-02-26 00:19:16 +02:00
MoyuScript
713aca77d2 disable logging by default 2011-12-17 20:05:20 +01:00
MoyuScript
103712083f Merge pull request #33 from cobexer/fix-jpeg-export
clear canvas before rendering to allow jpeg export
2011-11-26 10:17:35 -08:00
MoyuScript
1792269c01 instead of scrolling the view on every Bounds() call, do it only once 2011-11-26 18:06:56 +01:00
MoyuScript
9cab152e64 fix permission denied access on inner iFrame (crossDomain) 2011-11-26 18:06:55 +01:00
MoyuScript
f30796b4a3 fix script error in html2canvas.Util.getCSS 2011-11-26 18:06:55 +01:00
MoyuScript
70b3886814 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
MoyuScript
4615eb3073 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
MoyuScript
008ad63555 Added some support for CSS gradients (by cthackers) 2011-09-12 23:50:43 +03:00
MoyuScript
f260da2c61 merged from dev 2011-09-12 21:35:37 +03:00
MoyuScript
40418bd957 rewrote z-index ordering logic 2011-08-02 21:07:51 +03:00
MoyuScript
9ae4ae51fe fixed few minor bugs, added some support for overflow (hidden|scroll|auto) 2011-07-28 21:22:13 +03:00
MoyuScript
db9a1d16ad added support for proxys, fixed a lot of background position issues, added test console 2011-07-21 03:12:17 +03:00
MoyuScript
9582b82d43 added storageReady event handler 2011-07-18 22:43:23 +03:00
MoyuScript
efe27ebd29 added performance boost for text rendering for Chrome & Firefox,
while retainining compatibility with Opera & custom text settings.
2011-07-18 15:57:21 +03:00
MoyuScript
8f0ac132ca re-enabled bound measurement type checking, working for Opera now. 2011-07-18 13:19:34 +03:00
MoyuScript
235cc4445d support for opacity 2011-07-18 00:59:36 +03:00
MoyuScript
fb2ec9c9fb Skipping visibility:hidden and display:none elements 2011-07-18 00:39:56 +03:00
MoyuScript
fcf819d4b8 added rendering stacks, queues and support z-index positioning 2011-07-17 23:27:45 +03:00
MoyuScript
76a1727777 Added timer/statistics for rendering 2011-07-17 02:42:45 +03:00