mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
1ast
This commit is contained in:
parent
7222aba1b4
commit
6f8770db5b
@ -8,6 +8,7 @@ export class TextContainer {
|
||||
|
||||
constructor(node: Text, styles: CSSParsedDeclaration) {
|
||||
this.text = transform(node.data, styles.textTransform);
|
||||
node.nodeValue = this.text;
|
||||
this.textBounds = parseTextBounds(this.text, styles, node);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user