mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Run all stack-layout tests
This commit is contained in:
@@ -1336,10 +1336,10 @@ function parseThickness(value: string): Thickness {
|
||||
function convertToMargins(this: void, value: string): [CssProperty<any, any>, any][] {
|
||||
let thickness = parseThickness(value);
|
||||
return [
|
||||
[marginTopProperty, Length.parse(thickness.top)],
|
||||
[marginRightProperty, Length.parse(thickness.right)],
|
||||
[marginBottomProperty, Length.parse(thickness.bottom)],
|
||||
[marginLeftProperty, Length.parse(thickness.left)]
|
||||
[marginTopProperty, PercentLength.parse(thickness.top)],
|
||||
[marginRightProperty, PercentLength.parse(thickness.right)],
|
||||
[marginBottomProperty, PercentLength.parse(thickness.bottom)],
|
||||
[marginLeftProperty, PercentLength.parse(thickness.left)]
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user