646 Commits

Author SHA1 Message Date
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
MoyuScript
f2e585be23 Fix logging in IE9 2014-03-02 16:55:40 +02:00
MoyuScript
f344a350d5 Remove script tags from cloned DOM 2014-03-02 16:03:22 +02:00
MoyuScript
a8d0678328 Fix text rendering for IE and Opera 2014-03-02 16:00:59 +02:00
MoyuScript
1b9a73b3f2 Partial implementation for transforms 2014-02-23 17:35:46 +02:00
MoyuScript
a4ba5d1b11 Render correct element 2014-02-23 17:02:49 +02:00
MoyuScript
b062c9ca7d Hide iframe container from view during render 2014-02-23 16:26:23 +02:00
MoyuScript
6ecd8bcead Fix image loading for cross-origin resources 2014-02-17 00:04:09 +02:00
MoyuScript
ddc81fe697 Fix render ordering of nodes that form fake stacking contexts 2014-02-15 00:33:09 +02:00
MoyuScript
db437f8950 Fix background position rendering 2014-02-15 00:31:48 +02:00
MoyuScript
2ba1d246f7 Add another z-index test 2014-02-15 00:30:38 +02:00
MoyuScript
45cd07db8c Fix unit tests 2014-02-15 00:30:28 +02:00
MoyuScript
f75dc6ecca Force doctype for iframe 2014-02-10 19:53:13 +02:00
MoyuScript
b9e1fcae52 Fix pseudoelement rendering for Firefox 2014-02-08 17:42:40 +02:00
MoyuScript
a004d59897 Add support for pseudoelements 2014-02-08 16:52:41 +02:00
MoyuScript
f1482b8c2f Correctly assign image loading method for <img> elements 2014-02-08 14:07:20 +02:00
MoyuScript
69390d6b8f Switch to using Promises 2014-02-03 19:42:42 +02:00
MoyuScript
27ace9727c Start implementing background gradients 2014-02-01 21:48:30 +02:00
MoyuScript
2ce928069a Add support for single text-shadow 2014-02-01 20:03:23 +02:00
MoyuScript
6ffaf97621 Add font metrics and text-decorations 2014-02-01 19:36:43 +02:00
MoyuScript
06c189f055 Fix text rendering for Opera/IE 2014-02-01 19:11:59 +02:00
MoyuScript
7c0dcde86b Move NodeParser to seperate file 2014-02-01 18:52:53 +02:00
MoyuScript
0e2fd37f28 ios window size and scroll fixes 2014-02-01 18:32:05 +02:00
MoyuScript
3ecf793eb2 Fix IE issues 2014-01-26 20:43:50 +02:00
MoyuScript
2a55ec5a5c Increase logging 2014-01-26 20:43:36 +02:00
MoyuScript
1a1082a771 Add option to only render current view 2014-01-26 20:42:57 +02:00
MoyuScript
789b780c6e Draw <img> elements 2014-01-26 18:10:04 +02:00
MoyuScript
d8c38b3ae2 Add Promise polyfill 2014-01-26 16:06:39 +02:00
MoyuScript
e48fed63a5 Implement background rendering 2014-01-26 16:06:16 +02:00
MoyuScript
f2b4a9948f Add work around for chrome related background-image issues in iframe 2014-01-26 15:50:13 +02:00
MoyuScript
9698eaec5f Begin implementing background-image rendering 2014-01-21 21:41:00 +02:00
MoyuScript
1398457f7a Cache backgroundImages request for nodes 2014-01-20 22:42:58 +02:00
MoyuScript
c12c3b53a9 Filter nodes and render correct size correctly 2014-01-20 22:42:39 +02:00
MoyuScript
9754c224e5 Make image loading to work on top of Promises/polyfill 2014-01-19 21:05:07 +02:00
MoyuScript
355bde3655 0.5.0 rewrite 2014-01-19 18:04:27 +02:00
MoyuScript
3998fd7658 Merge branch 'patch-1' of github.com:bensho/html2canvas into bensho-patch-1 2013-12-23 16:33:58 +02:00
MoyuScript
888f2a9156 Refactor background parsing 2013-12-23 16:07:49 +02:00
MoyuScript
17063d0c34 Merge branch 'patch-2' of github.com:brcontainer/html2canvas into brcontainer-patch-2 2013-12-23 15:32:18 +02:00
MoyuScript
46ff724599 Fix z-index ordering bug 2013-12-23 15:27:46 +02:00
MoyuScript
6cb62b33cd Add all js files to grunt watch 2013-12-17 20:01:03 +02:00
MoyuScript
901715c98a Fix bug in WebKitGTK+, backgroundRepeat return "wrong" values 2013-12-06 09:49:37 -02:00
MoyuScript
2bf811b2e9 Update pseudoelements.html 2013-11-25 16:39:35 -05:00
MoyuScript
2ead272ee7 Fix invalid selector exception with empty class values
After removing :before and :after pseudo selectors, a class name may be empty, causing an invalid selector string when joined. Remove empty elements before calling querySelectorAll.
2013-11-25 09:48:12 -05:00
MoyuScript
01fc79e48e Merge pull request #297 from Grom-S/patch-1
incorect z-index sorting fixed
2013-11-24 03:32:57 -08:00
MoyuScript
19754ac30e incorect z-index sorting fixed
If you omit compare function in javascript `sort()` method it will sort  lexicographically (in dictionary order) according to the string conversion of each element. 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters

For example 
[0, 9, 8, 10].sort()
will place element with z-index 10 on 2nd position of the array
2013-11-21 20:37:40 +02:00
MoyuScript
49a554b334 Implement background-size cover/contain 2013-11-12 19:35:28 +02:00
MoyuScript
0b8f67115e Fix missing background color bug 2013-11-12 19:34:20 +02:00