Skip to content

Commit 3db527c

Browse files
authored
Make pagx spec self-contained by removing xsd reference. (#3399)
1 parent 1ab5464 commit 3db527c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spec/pagx_spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The following attributes are available on any element and are not repeated in in
9797
| `string` | String | `"Arial"`, `"myLayer"` |
9898
| `enum` | Enumeration value | `normal`, `multiply` |
9999
| `idref` | ID reference | `@gradientId`, `@maskLayer` |
100-
| `Dimension` | A non-negative floating-point number in pixels, or the same number followed by `%` to denote a percentage of the parent container's corresponding axis (inside padding). Grammar matches the xsd `DimensionType` pattern `[0-9]*\.?[0-9]+%?` | `100`, `0.5`, `50%`, `100%` |
100+
| `Dimension` | A non-negative floating-point number in pixels, or the same number followed by `%` to denote a percentage of the parent container's corresponding axis (inside padding). | `100`, `0.5`, `50%`, `100%` |
101101

102102
### 2.5 Point
103103

spec/pagx_spec.zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ PAGX 是纯 XML 文件(`.pagx`),可引用外部资源文件(图片、视
9797
| `string` | 字符串 | `"Arial"``"myLayer"` |
9898
| `enum` | 枚举值 | `normal``multiply` |
9999
| `idref` | ID 引用 | `@gradientId``@maskLayer` |
100-
| `Dimension` | 非负浮点数(像素),或其后跟 `%` 表示相对父容器对应轴(内缩 padding 后)的百分比。语法匹配 xsd `DimensionType` 模式 `[0-9]*\.?[0-9]+%?` | `100``0.5``50%``100%` |
100+
| `Dimension` | 非负浮点数(像素),或其后跟 `%` 表示相对父容器对应轴(内缩 padding 后)的百分比。 | `100``0.5``50%``100%` |
101101

102102
### 2.5 点(Point)
103103

0 commit comments

Comments
 (0)