Niklas von Hertzen
cfe4137bcc
Account for negative bounds in cropping
2014-03-04 20:42:34 +02:00
Niklas von Hertzen
d2c3378c3e
Correctly crop content
2014-03-03 21:19:28 +02:00
Niklas von Hertzen
95f4bcea0a
Render input elements correctly
2014-03-02 19:51:46 +02:00
Niklas von Hertzen
9bae5b610a
Fix IE misalignment of content after scroll
2014-03-02 18:03:30 +02:00
Niklas von Hertzen
7ce46e95cd
Fix logging in IE9
2014-03-02 16:55:40 +02:00
Niklas von Hertzen
84c1dc6283
Remove script tags from cloned DOM
2014-03-02 16:03:22 +02:00
Niklas von Hertzen
15ca3381eb
Fix text rendering for IE and Opera
2014-03-02 16:00:59 +02:00
Niklas von Hertzen
18d95d669b
Partial implementation for transforms
2014-02-23 17:35:46 +02:00
Niklas von Hertzen
5137e5f35a
Render correct element
2014-02-23 17:02:49 +02:00
Niklas von Hertzen
314d26f1f1
Hide iframe container from view during render
2014-02-23 16:26:23 +02:00
Niklas von Hertzen
82e5a8a7c0
Fix image loading for cross-origin resources
2014-02-17 00:04:09 +02:00
Niklas von Hertzen
9af96d3812
Fix render ordering of nodes that form fake stacking contexts
2014-02-15 00:33:09 +02:00
Niklas von Hertzen
6f2a775841
Fix background position rendering
2014-02-15 00:31:48 +02:00
Niklas von Hertzen
f2b662801e
Add another z-index test
2014-02-15 00:30:38 +02:00
Niklas von Hertzen
60587c72bf
Fix unit tests
2014-02-15 00:30:28 +02:00
Niklas von Hertzen
d9d516d27e
Force doctype for iframe
2014-02-10 19:53:13 +02:00
Niklas von Hertzen
899d5321d4
Fix pseudoelement rendering for Firefox
2014-02-08 17:42:40 +02:00
Niklas von Hertzen
5d20493f46
Add support for pseudoelements
2014-02-08 16:52:41 +02:00
Niklas von Hertzen
b5891c49b4
Correctly assign image loading method for <img> elements
2014-02-08 14:07:20 +02:00
Niklas von Hertzen
467ff87482
Switch to using Promises
2014-02-03 19:42:42 +02:00
Niklas von Hertzen
9beae48cf0
Start implementing background gradients
2014-02-01 21:48:30 +02:00
Niklas von Hertzen
17731169e9
Add support for single text-shadow
2014-02-01 20:03:23 +02:00
Niklas von Hertzen
e27c41efd3
Add font metrics and text-decorations
2014-02-01 19:36:43 +02:00
Niklas von Hertzen
1f90defbfa
Fix text rendering for Opera/IE
2014-02-01 19:11:59 +02:00
Niklas von Hertzen
b4bb34c95b
Move NodeParser to seperate file
2014-02-01 18:52:53 +02:00
Niklas von Hertzen
64668fe694
ios window size and scroll fixes
2014-02-01 18:32:05 +02:00
Niklas von Hertzen
9ebae161e2
Fix IE issues
2014-01-26 20:43:50 +02:00
Niklas von Hertzen
729bc88d1f
Increase logging
2014-01-26 20:43:36 +02:00
Niklas von Hertzen
b1c2f03ae9
Add option to only render current view
2014-01-26 20:42:57 +02:00
Niklas von Hertzen
74cb3466ec
Draw <img> elements
2014-01-26 18:10:04 +02:00
Niklas von Hertzen
2afdcaff35
Add Promise polyfill
2014-01-26 16:06:39 +02:00
Niklas von Hertzen
1070cec852
Implement background rendering
2014-01-26 16:06:16 +02:00
Niklas von Hertzen
ba9a33b1bc
Add work around for chrome related background-image issues in iframe
2014-01-26 15:50:13 +02:00
Niklas von Hertzen
f474542382
Begin implementing background-image rendering
2014-01-21 21:41:00 +02:00
Niklas von Hertzen
0cb259f6cd
Cache backgroundImages request for nodes
2014-01-20 22:42:58 +02:00
Niklas von Hertzen
1a7f5732bf
Filter nodes and render correct size correctly
2014-01-20 22:42:39 +02:00
Niklas von Hertzen
2b8389cb64
Make image loading to work on top of Promises/polyfill
2014-01-19 21:05:07 +02:00
Niklas von Hertzen
8b8c080841
0.5.0 rewrite
2014-01-19 18:04:27 +02:00
Niklas von Hertzen
6201e09118
Merge branch 'patch-1' of github.com:bensho/html2canvas into bensho-patch-1
2013-12-23 16:33:58 +02:00
Niklas von Hertzen
517fd8cd1d
Refactor background parsing
2013-12-23 16:07:49 +02:00
Niklas von Hertzen
e228fc57ce
Merge branch 'patch-2' of github.com:brcontainer/html2canvas into brcontainer-patch-2
2013-12-23 15:32:18 +02:00
Niklas von Hertzen
46cc8b6975
Fix z-index ordering bug
2013-12-23 15:27:46 +02:00
Niklas von Hertzen
443fd17a12
Add all js files to grunt watch
2013-12-17 20:01:03 +02:00
Guilherme Nascimento
0b213eecef
Fix bug in WebKitGTK+, backgroundRepeat return "wrong" values
2013-12-06 09:49:37 -02:00
Ben Sholds
ae1a15f7c5
Update pseudoelements.html
2013-11-25 16:39:35 -05:00
Ben Sholds
cea3005056
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
Niklas von Hertzen
1d4b1753d6
Merge pull request #297 from Grom-S/patch-1
...
incorect z-index sorting fixed
2013-11-24 03:32:57 -08:00
Grom-S
f00b23a9ec
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
Niklas von Hertzen
e9afe03960
Implement background-size cover/contain
2013-11-12 19:35:28 +02:00
Niklas von Hertzen
57d20a9794
Fix missing background color bug
2013-11-12 19:34:20 +02:00