Disable foreignObjectRendering by default (#1295)

This commit is contained in:
Niklas von Hertzen 2017-12-09 17:51:28 +08:00
parent 13e80cc635
commit d83bc0247a
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
### Changelog ###
#### v1.0.0-alpha3 - TBD ####
* Disable `foreignObjectRendering` by default (#1295)
* Fix background-size when using background-origin and background-size: cover/contain (#1299)
* Added support for background-origin: content-box (#1299)

View File

@ -66,7 +66,7 @@ const html2canvas = (element: HTMLElement, conf: ?Options): Promise<*> => {
imageTimeout: 15000,
proxy: null,
removeContainer: true,
foreignObjectRendering: true,
foreignObjectRendering: false,
scale: defaultView.devicePixelRatio || 1,
target: new CanvasRenderer(config.canvas),
x: left,