Niklas von Hertzen
a2895691ba
Extract render target logic out of renderer to be target agnostic
2017-08-06 20:21:35 +08:00
Niklas von Hertzen
f7f445c71e
Add license info to builds ( Fix #1126 )
2017-08-06 18:14:27 +08:00
Niklas von Hertzen
8da77eb689
Add options to define window dimensions
2017-08-06 17:53:38 +08:00
Niklas von Hertzen
965f850e68
Assign cssText string to same named property on target
2017-08-06 17:50:01 +08:00
Niklas von Hertzen
216c290c4b
Check availability of console before using it (Fix IE9)
2017-08-06 17:37:34 +08:00
Niklas von Hertzen
68900c3087
Copy CSS properties individual with IE
2017-08-06 17:37:10 +08:00
Niklas von Hertzen
f0fdeac703
Fix formatting
2017-08-06 15:52:56 +08:00
Niklas von Hertzen
6baa847092
Handle undefined values for textShadow/transform (IE9)
2017-08-06 15:44:30 +08:00
Niklas von Hertzen
10ec079762
Remove direct console call (breaks IE9 when console is not open)
2017-08-06 15:43:53 +08:00
Niklas von Hertzen
6554d4c8c8
Implement textShadow rendering ( Fix #499 and #908 )
2017-08-05 23:34:12 +08:00
Niklas von Hertzen
30a2578f38
Fix pseudo-element css text assignment for Edge
2017-08-05 21:59:48 +08:00
Niklas von Hertzen
82a7349e43
Use first background repeat value for multiple backgrounds if only 1 available (Edge bug)
2017-08-05 21:41:37 +08:00
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
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
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
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
8a6fb5f733
Library rewrite
2017-08-01 00:25:58 +08:00
Niklas von Hertzen
3b49cba21c
Fix rendering of content when window is scrolled
2016-01-23 22:05:43 +02:00
Niklas von Hertzen
4ebe9c5fcc
Don't require logger to be exposed to window object
2016-01-23 20:41:53 +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
e88ac871a3
Remove Promise polyfill
2015-10-19 01:25:03 +03:00
Niklas von Hertzen
aa05241ff8
Fix gradient tests
2015-10-18 23:57:41 +03:00
Niklas von Hertzen
364a8aac1c
Merge remote-tracking branch 'origin/pr/645'
2015-10-18 23:15:12 +03:00
Niklas von Hertzen
46078acf71
Fix #688 fatal exception on unmatched color stop
2015-10-18 16:51:53 +03:00
Niklas von Hertzen
4b37909f09
Fix support for requirejs/amd
2015-08-30 02:27:38 +03:00
hyojin.kwak
90f9eeba83
Fix #599
2015-06-10 16:13:17 +09:00
Niklas von Hertzen
98ee30643a
Fix iOS scrolling issue on clone
2015-03-30 00:58:50 +03:00
Niklas von Hertzen
a49c3a2320
Correctly handle named colors in gradients
2015-03-29 23:20:17 +03:00
Corné Dorrestijn
9201cf7e95
Accept matrix3d and convert it
2015-03-05 15:52:23 +01:00
Niklas von Hertzen
c2baf42145
Fix fail on transparent colors in linear gradients
2015-03-01 17:43:18 +02:00