mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Correctly clip content that has border-radius (#399)
This commit is contained in:
2
dist/html2canvas.js
vendored
2
dist/html2canvas.js
vendored
@ -1821,7 +1821,9 @@ NodeParser.prototype.paintNode = function(container) {
|
||||
|
||||
this.renderer.clip(container.clip, function() {
|
||||
this.renderer.renderBorders(container.borders.borders);
|
||||
}, this);
|
||||
|
||||
this.renderer.clip(container.backgroundClip, function() {
|
||||
switch (container.node.nodeName) {
|
||||
case "svg":
|
||||
case "IFRAME":
|
||||
|
2
dist/html2canvas.min.js
vendored
2
dist/html2canvas.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user