Commit Graph

1059 Commits

Author SHA1 Message Date
Niklas von Hertzen
0224592a96 Don't parse TEXTAREA child nodes (Edge bug) 2017-08-05 21:40:22 +08:00
Niklas von Hertzen
12672839f1 Use correct JS context to find cloned element in Edge 2017-08-05 21:40:03 +08:00
Niklas von Hertzen
9bdb871307 Implement linear-gradient rendering 2017-08-05 21:13:53 +08:00
Niklas von Hertzen
56b3b6df27 Implement input/textarea/select element rendering 2017-08-05 00:00:17 +08:00
Niklas von Hertzen
adb1f50f00 Support percentage border-radius values (Fix #1154) 2017-08-04 20:41:36 +08:00
Niklas von Hertzen
e380e2c873 Use correct JS context to enable use of instanceof 2017-08-04 19:27:35 +08:00
Niklas von Hertzen
3977ebeadd Log errors in __DEV__ mode (Fix #905) 2017-08-04 00:13:20 +08:00
Niklas von Hertzen
9a7075252b Fix ImageLoader flow types to reflect possible error'd images 2017-08-04 00:00:02 +08:00
Niklas von Hertzen
96fbe954e9 Correctly strip quotes from pseudoelement url() 2017-08-03 23:54:44 +08:00
Niklas von Hertzen
b8450f4d4a Allow image loads to fail without crashing render 2017-08-03 23:54:23 +08:00
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