diff --git a/api/@internal/js/globaljs.d.ts b/api/@internal/js/globaljs.d.ts index f98e82b37c79a35f09390e5f457b18f1db25135c..ca9f915238418e6d1641b623f23edf2cc4ae1a10 100644 --- a/api/@internal/js/globaljs.d.ts +++ b/api/@internal/js/globaljs.d.ts @@ -549,4 +549,4 @@ type CombinedOptions = object & ThisType; export declare function extendViewModel( options: CombinedOptions -): ViewModel & Data; +): ViewModel & Data; \ No newline at end of file diff --git a/api/config/css/cssConfig.json b/api/config/css/cssConfig.json index 07f7ae600a13b933d2a5fe3187f08c66895cbb31..efde97af6bcdc4231712816aa287e7496752b22d 100755 --- a/api/config/css/cssConfig.json +++ b/api/config/css/cssConfig.json @@ -4507,17 +4507,22 @@ }, { "name": "line-height", - "syntax": [ - { - "name": "" - } - ], "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], + "syntax": [ + { + "name": "[ normal | | ]" + } + ], + "values": [ + { + "name": "normal" + } + ], "version": [ { "name": "v3.0" @@ -4525,13 +4530,15 @@ ], "description": [ { - "name": "Text line height. When this parameter is set to 0px, the text line height is not limited and the font size is adaptive" + "name": "Mask image size. The string values are as follows: − contain: Expands the image to the maximum size so that the height and width of the image are applicable to the content area. − cover: Extends the mask image to a large enough size so that the mask image completely covers the mask area. Some parts of the image may not be displayed in the background localization area. − auto: The original image width-height ratio is retained. The two values are as follows: Height and width of the mask image. The first value indicates the width, and the second value indicates the height. If you only set one value, the second value is set to auto by default. 2. The two values are as follows: Width and height of the mask image in percentage of the parent element. The first value indicates the width, and the second value indicates the height. If you only set one value, the other value is set to auto by default" } ], "restrictions": [ { "name": [ - "length" + "enum", + "length", + "percentage" ] } ] @@ -5804,6 +5811,38 @@ ] } ] + }, + { + "name": "word-spacing", + "syntax": [ + { + "name": "[normal | | ]" + } + ], + "values":[ + { + "name":"normal" + } + ], + "version": [ + { + "name": "v3.0" + } + ], + "description": [ + { + "name": "Text spacing(px)" + } + ], + "restrictions": [ + { + "name": [ + "enum", + "length", + "percentage" + ] + } + ] } ], "atDirectives": [