mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
parent
98a1103cb1
commit
2ef299c857
@ -191,8 +191,11 @@ export class CSSParsedDeclaration {
|
|||||||
this.paddingLeft = parse(paddingLeft, declaration.paddingLeft);
|
this.paddingLeft = parse(paddingLeft, declaration.paddingLeft);
|
||||||
this.position = parse(position, declaration.position);
|
this.position = parse(position, declaration.position);
|
||||||
this.textAlign = parse(textAlign, declaration.textAlign);
|
this.textAlign = parse(textAlign, declaration.textAlign);
|
||||||
this.textDecorationColor = parse(textDecorationColor, declaration.textDecorationColor || declaration.color);
|
this.textDecorationColor = parse(textDecorationColor, declaration.textDecorationColor ?? declaration.color);
|
||||||
this.textDecorationLine = parse(textDecorationLine, declaration.textDecorationLine);
|
this.textDecorationLine = parse(
|
||||||
|
textDecorationLine,
|
||||||
|
declaration.textDecorationLine ?? declaration.textDecoration
|
||||||
|
);
|
||||||
this.textShadow = parse(textShadow, declaration.textShadow);
|
this.textShadow = parse(textShadow, declaration.textShadow);
|
||||||
this.textTransform = parse(textTransform, declaration.textTransform);
|
this.textTransform = parse(textTransform, declaration.textTransform);
|
||||||
this.transform = parse(transform, declaration.transform);
|
this.transform = parse(transform, declaration.transform);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user