Commit Graph

899 Commits

Author SHA1 Message Date
Niklas von Hertzen
b3db735415 Render :before and :after pseudoelements 2017-08-03 23:46:29 +08:00
Niklas von Hertzen
959b75a441 Update travis build 2017-08-03 22:03:05 +08:00
Niklas von Hertzen
f6a5153d99 Implement support for multiple text-transforms with independent colors 2017-08-03 21:47:35 +08:00
Niklas von Hertzen
ad1119a76c Apply border radius correctly on image elements 2017-08-03 21:05:17 +08:00
Niklas von Hertzen
fe97851988 Implement HTMLCanvasElement rendering 2017-08-03 20:57:55 +08:00
Niklas von Hertzen
f2b8c16c2c Implement visibility css prop 2017-08-03 20:28:39 +08:00
Niklas von Hertzen
f278ba4f22 Begin implementing overflow clipping 2017-08-02 21:35:54 +08:00
Niklas von Hertzen
52a815a13f Fix background-clip and background-origin rendering 2017-08-02 20:29:45 +08:00
Niklas von Hertzen
213f35f61c Keep scroll position when toggling canvas view 2017-08-02 20:15:39 +08:00
Niklas von Hertzen
7cc2b856cb Use correct canvas size for full document render 2017-08-01 23:41:12 +08:00
Niklas von Hertzen
aafb0cfb9c Calculate correct bounds for text/elements under nested transforms 2017-08-01 23:27:12 +08:00
Niklas von Hertzen
c5135f4839 Assign default options values 2017-08-01 22:51:59 +08:00
Niklas von Hertzen
478155af64 Clone document before parsing it 2017-08-01 20:54:18 +08:00
Niklas von Hertzen
7a3bad2fcb Add missing Flow tags 2017-08-01 18:51:59 +08:00
Niklas von Hertzen
4f48bc9b0c Define browser build target as umd 2017-08-01 18:32:37 +08:00
Niklas von Hertzen
6f7a3145fe Remove dist folder from git 2017-08-01 18:26:11 +08:00
Niklas von Hertzen
ba089b4771 Render multiple backgrounds in correct order 2017-08-01 18:25:32 +08:00
Niklas von Hertzen
9f8bae4b09 Correctly parse multi background-repeat values 2017-08-01 18:25:20 +08:00
Niklas von Hertzen
f89ba365bd Fix README typos (#779 and #930) 2017-08-01 18:14:37 +08:00
Niklas von Hertzen
50579f399e Update README and Fix #1140 2017-08-01 00:31:41 +08:00
Niklas von Hertzen
8a6fb5f733 Library rewrite 2017-08-01 00:25:58 +08:00
Niklas von Hertzen
83e9b85e1e 0.5.0-beta4 2016-01-23 22:21:21 +02:00
Niklas von Hertzen
3c7c3ddf60 Update changelog 2016-01-23 22:20:02 +02:00
Niklas von Hertzen
2ef53b37cc Remove safari browser tests 2016-01-23 22:07:42 +02:00
Niklas von Hertzen
3b49cba21c Fix rendering of content when window is scrolled 2016-01-23 22:05:43 +02:00
Niklas von Hertzen
a4aa0c6444 Derequire browserify bundles 2016-01-23 20:53:20 +02:00
Niklas von Hertzen
4ebe9c5fcc Don't require logger to be exposed to window object 2016-01-23 20:41:53 +02:00
Niklas von Hertzen
e17bbacd17 0.5.0-beta3 2015-12-06 13:48:42 -05:00
Niklas von Hertzen
47a7240d6b Re-adding dist/ to version control for now 2015-12-06 13:46:23 -05:00
Niklas von Hertzen
6539f9d9c3 Fix webdriver tests for node 4.0 2015-12-06 13:32:35 -05:00
Niklas von Hertzen
3cb0911de3 Update dependencies 2015-12-06 12:01:18 -05:00
Niklas von Hertzen
144c9a903e Merge pull request #724 from usmonster/adds-editorconfig
Adds .editorconfig
2015-11-11 20:40:21 +02:00
usmonster
57dd9b5461 Adds .editorconfig
Makes contributing consistently-formatted code a bit easier
2015-11-11 13:21:29 -05:00
Niklas von Hertzen
6d168f46be Merge pull request #708 from usmonster/fix-firefox-gradients
Linear gradients now parse color names
2015-11-09 19:14:46 +02:00
Usman Akeju
318ca48157 Linear gradients now parse color names
Also:
- Cleans up color stop and linear gradient regular expressions.
- Handles percentage-based linear gradient positions (fixes Firefox).

Fixes niklasvh/html2canvas#469.
2015-10-25 09:44:14 -04:00
Niklas von Hertzen
bebb353b3f Merge pull request #703 from niklasvh/travis-fix
Lower travis nodejs version back to 0.10
2015-10-20 23:37:35 +03:00
Niklas von Hertzen
eb5ac1122c Lower travis nodejs version back to 0.10 2015-10-20 23:16:49 +03:00
Niklas von Hertzen
ae97dd9a3d Remove npm bower dependency 2015-10-19 23:13:05 +03:00
Niklas von Hertzen
11fdc501b1 Fix package dependency versions 2015-10-19 02:57:40 +03:00
Niklas von Hertzen
4df19968b5 0.5.0-beta2 2015-10-19 01:49:34 +03:00
Niklas von Hertzen
9ab7f8cdb1 Update travis npm deployment 2015-10-19 01:44:08 +03:00
Niklas von Hertzen
5c5531fd47 Update node version for travis 2015-10-19 01:34:38 +03:00
Niklas von Hertzen
e88ac871a3 Remove Promise polyfill 2015-10-19 01:25:03 +03:00
Niklas von Hertzen
2a2ad9bb65 0.5.0-beta1 2015-10-19 01:00:58 +03:00
Niklas von Hertzen
81e60975cc Update build/deploy workflow 2015-10-19 01:00:04 +03:00
Niklas von Hertzen
a0669300c4 Update grunt-mocha-phantomjs to 2.0.0 2015-10-18 23:58:10 +03:00
Niklas von Hertzen
ba9758cf14 Reformat mocha text shadow test names 2015-10-18 23:57:55 +03:00
Niklas von Hertzen
aa05241ff8 Fix gradient tests 2015-10-18 23:57:41 +03:00
Niklas von Hertzen
5b4a6c26ee Add another border-radius test 2015-10-18 23:15:51 +03:00
Niklas von Hertzen
364a8aac1c Merge remote-tracking branch 'origin/pr/645' 2015-10-18 23:15:12 +03:00