@webref/css 5.4.4 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +416 -21
  3. package/README.md +4 -4
  4. package/SVG.json +42 -35
  5. package/compat.json +111 -75
  6. package/compositing.json +101 -12
  7. package/css-align.json +237 -29
  8. package/css-anchor.json +177 -19
  9. package/css-animations-2.json +37 -15
  10. package/css-animations.json +155 -31
  11. package/css-backgrounds-4.json +107 -32
  12. package/css-backgrounds.json +426 -59
  13. package/css-box.json +243 -20
  14. package/css-break.json +292 -11
  15. package/css-cascade-6.json +22 -13
  16. package/css-cascade.json +50 -15
  17. package/css-color-5.json +320 -35
  18. package/css-color-adjust.json +75 -8
  19. package/css-color.json +1100 -61
  20. package/css-conditional-4.json +11 -6
  21. package/css-conditional-5.json +38 -19
  22. package/css-conditional.json +28 -15
  23. package/css-contain-3.json +101 -26
  24. package/css-contain.json +71 -6
  25. package/css-content.json +263 -30
  26. package/css-counter-styles.json +455 -18
  27. package/css-display.json +250 -19
  28. package/css-easing.json +137 -25
  29. package/css-env.json +61 -6
  30. package/css-exclusions.json +65 -6
  31. package/css-extensions.json +20 -12
  32. package/css-flexbox.json +132 -11
  33. package/css-fonts-5.json +255 -13
  34. package/css-fonts.json +886 -74
  35. package/css-gcpm-4.json +30 -5
  36. package/css-gcpm.json +76 -15
  37. package/css-grid-3.json +10 -9
  38. package/css-grid.json +442 -42
  39. package/css-highlight-api.json +13 -5
  40. package/css-images-4.json +192 -67
  41. package/css-images.json +152 -33
  42. package/css-inline.json +525 -16
  43. package/css-layout-api.json +20 -0
  44. package/css-line-grid.json +80 -7
  45. package/css-lists.json +140 -19
  46. package/css-logical.json +125 -50
  47. package/css-masking.json +330 -47
  48. package/css-multicol-2.json +32 -5
  49. package/css-multicol.json +84 -13
  50. package/css-namespaces.json +15 -10
  51. package/css-nav.json +62 -7
  52. package/css-nesting.json +15 -0
  53. package/css-overflow-4.json +83 -10
  54. package/css-overflow.json +239 -18
  55. package/css-overscroll.json +110 -9
  56. package/css-page-floats.json +188 -16
  57. package/css-page.json +262 -67
  58. package/css-paint-api.json +8 -5
  59. package/css-position.json +269 -16
  60. package/css-properties-values-api.json +9 -7
  61. package/css-pseudo.json +67 -0
  62. package/css-regions.json +8 -7
  63. package/css-rhythm.json +69 -10
  64. package/css-round-display.json +47 -10
  65. package/css-ruby.json +136 -8
  66. package/css-scoping.json +27 -0
  67. package/css-scroll-anchoring.json +20 -5
  68. package/css-scroll-snap-2.json +272 -10
  69. package/css-scroll-snap.json +218 -29
  70. package/css-scrollbars.json +41 -6
  71. package/css-shadow-parts.json +8 -5
  72. package/css-shapes-2.json +190 -43
  73. package/css-shapes.json +130 -36
  74. package/css-size-adjust.json +26 -5
  75. package/css-sizing-4.json +404 -23
  76. package/css-sizing.json +231 -12
  77. package/css-speech.json +619 -35
  78. package/css-syntax.json +193 -92
  79. package/css-tables.json +10 -9
  80. package/css-text-4.json +800 -40
  81. package/css-text-decor-4.json +394 -23
  82. package/css-text-decor.json +159 -14
  83. package/css-text.json +371 -20
  84. package/css-transforms-2.json +177 -40
  85. package/css-transforms.json +137 -45
  86. package/css-transitions.json +33 -14
  87. package/css-ui.json +436 -42
  88. package/css-values-5.json +99 -14
  89. package/css-values.json +653 -146
  90. package/css-variables.json +12 -7
  91. package/css-view-transitions.json +45 -7
  92. package/css-will-change.json +36 -7
  93. package/css-writing-modes.json +141 -10
  94. package/fill-stroke.json +290 -35
  95. package/filter-effects-2.json +6 -5
  96. package/filter-effects.json +109 -45
  97. package/fullscreen.json +15 -0
  98. package/mathml-core.json +10 -9
  99. package/mediaqueries-5.json +505 -52
  100. package/mediaqueries.json +307 -40
  101. package/motion.json +99 -16
  102. package/package.json +1 -1
  103. package/scroll-animations.json +225 -24
  104. package/selectors.json +368 -30
  105. package/svg-strokes.json +8 -7
  106. package/upgrade-insecure-requests.json +26 -0
  107. package/html.json +0 -19
package/css-text-4.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Text Module Level 4",
4
4
  "url": "https://drafts.csswg.org/css-text-4/"
5
5
  },
6
- "properties": {
7
- "text-transform": {
6
+ "properties": [
7
+ {
8
8
  "name": "text-transform",
9
9
  "value": "none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana",
10
10
  "initial": "none",
@@ -14,12 +14,50 @@
14
14
  "computedValue": "specified keyword",
15
15
  "canonicalOrder": "n/a",
16
16
  "animationType": "discrete",
17
+ "values": [
18
+ {
19
+ "name": "none",
20
+ "prose": "No effects.",
21
+ "type": "value",
22
+ "value": "none"
23
+ },
24
+ {
25
+ "name": "capitalize",
26
+ "prose": "Puts the first typographic letter unit of each word, if lowercase, in titlecase; other characters are unaffected.",
27
+ "type": "value",
28
+ "value": "capitalize"
29
+ },
30
+ {
31
+ "name": "uppercase",
32
+ "prose": "Puts all letters in uppercase.",
33
+ "type": "value",
34
+ "value": "uppercase"
35
+ },
36
+ {
37
+ "name": "lowercase",
38
+ "prose": "Puts all letters in lowercase.",
39
+ "type": "value",
40
+ "value": "lowercase"
41
+ },
42
+ {
43
+ "name": "full-width",
44
+ "prose": "Puts all typographic character units in full-width form. If a character does not have a corresponding full-width form, it is left as is. This value is typically used to typeset Latin letters and digits as if they were ideographic characters.",
45
+ "type": "value",
46
+ "value": "full-width"
47
+ },
48
+ {
49
+ "name": "full-size-kana",
50
+ "prose": "Converts all small Kana characters to the equivalent full-size Kana. This value is typically used for ruby annotation text, where authors may want all small Kana to be drawn as large Kana to compensate for legibility issues at the small font sizes typically used in ruby.",
51
+ "type": "value",
52
+ "value": "full-size-kana"
53
+ }
54
+ ],
17
55
  "styleDeclaration": [
18
56
  "text-transform",
19
57
  "textTransform"
20
58
  ]
21
59
  },
22
- "word-boundary-detection": {
60
+ {
23
61
  "name": "word-boundary-detection",
24
62
  "value": "normal | manual | auto(<lang>)",
25
63
  "initial": "normal",
@@ -29,12 +67,36 @@
29
67
  "computedValue": "as specified (However, see special provision for unsupported <lang>)",
30
68
  "canonicalOrder": "per grammar",
31
69
  "animationType": "discrete",
70
+ "values": [
71
+ {
72
+ "name": "manual",
73
+ "prose": "Linguistic analysis is not used in any language or writing system to determine line wrapping opportunities not indicated by the markup or characters of the element. The user agent must not insert virtual word boundaries. Typographic character units with class SA in [UAX14] must be treated as if they had class AL (i.e. assuming word-break: normal and a value of line-break other than anywhere, there is no soft wrap opportunity between pairs of such characters). Authors using this value for Southeast Asian languages are expected to manually indicate word boundaries, for instance using wbr or U+200B. Otherwise, there will be no soft wrap opportunity and the text may overflow.",
74
+ "type": "value",
75
+ "value": "manual"
76
+ },
77
+ {
78
+ "name": "normal",
79
+ "prose": "The user agent must not insert virtual word boundaries, except within runs of characters belonging to Southeast Asian languages, where content analysis must be performed to determine where to insert virtual word boundaries. As with manual, typographic character units with class SA in [UAX14] must be treated as if they had class AL; however, the user agent must additionally analyse the content of a run of such characters and insert virtual word boundaries where appropriate. Within the constraints set by this specification, the specific algorithm used is UA-dependent. As various languages can be written in scripts which use the characters with class SA, if the content language is known, the user agent should use this information to tailor its analysis. In order to avoid unexpected overflow, if the user agent is unable to perform this analysis for any subset of the characters with class SA—for example due to lacking a dictionary for certain languages—there must be a soft wrap opportunity between pairs of typographic letter units in that subset.",
80
+ "type": "value",
81
+ "value": "normal"
82
+ },
83
+ {
84
+ "name": "auto()",
85
+ "value": "auto()",
86
+ "type": "value"
87
+ },
88
+ {
89
+ "name": "<lang>",
90
+ "prose": "<lang> must be a valid CSS <ident> or <string>. It represents an IETF BCP 47 language range (see [BCP47]). If the UA does not support word-boundary detection for all languages represented by the specified range, that specified value is invalid (and will cause the declaration to be ignored).",
91
+ "type": "type"
92
+ }
93
+ ],
32
94
  "styleDeclaration": [
33
95
  "word-boundary-detection",
34
96
  "wordBoundaryDetection"
35
97
  ]
36
98
  },
37
- "word-boundary-expansion": {
99
+ {
38
100
  "name": "word-boundary-expansion",
39
101
  "value": "none | space | ideographic-space",
40
102
  "initial": "none",
@@ -44,12 +106,32 @@
44
106
  "computedValue": "as specified",
45
107
  "canonicalOrder": "per grammar",
46
108
  "animationType": "discrete",
109
+ "values": [
110
+ {
111
+ "name": "none",
112
+ "prose": "This property has no effect.",
113
+ "type": "value",
114
+ "value": "none"
115
+ },
116
+ {
117
+ "name": "space",
118
+ "prose": "Instances of U+200B ZERO WIDTH SPACE within the text run children of this element are replaced by U+0020 SPACE.",
119
+ "type": "value",
120
+ "value": "space"
121
+ },
122
+ {
123
+ "name": "ideographic-space",
124
+ "prose": "Instances of U+200B ZERO WIDTH SPACE within the text run children of this element are replaced by U+3000 IDEOGRAPHIC SPACE.",
125
+ "type": "value",
126
+ "value": "ideographic-space"
127
+ }
128
+ ],
47
129
  "styleDeclaration": [
48
130
  "word-boundary-expansion",
49
131
  "wordBoundaryExpansion"
50
132
  ]
51
133
  },
52
- "white-space": {
134
+ {
53
135
  "name": "white-space",
54
136
  "value": "normal | pre | nowrap | pre-wrap | break-spaces | pre-line",
55
137
  "initial": "normal",
@@ -59,12 +141,50 @@
59
141
  "computedValue": "specified keyword",
60
142
  "canonicalOrder": "n/a",
61
143
  "animationType": "discrete",
144
+ "values": [
145
+ {
146
+ "name": "normal",
147
+ "prose": "This value directs user agents to collapse sequences of white space into a single character (or in some cases, no character). Lines may wrap at allowed soft wrap opportunities, as determined by the line-breaking rules in effect, in order to minimize inline-axis overflow.",
148
+ "type": "value",
149
+ "value": "normal"
150
+ },
151
+ {
152
+ "name": "pre",
153
+ "prose": "This value prevents user agents from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks. Lines only break at forced line breaks; content that does not fit within the block container overflows it.",
154
+ "type": "value",
155
+ "value": "pre"
156
+ },
157
+ {
158
+ "name": "nowrap",
159
+ "prose": "Like normal, this value collapses white space; but like pre, it does not allow wrapping.",
160
+ "type": "value",
161
+ "value": "nowrap"
162
+ },
163
+ {
164
+ "name": "pre-wrap",
165
+ "prose": "Like pre, this value preserves white space; but like normal, it allows wrapping.",
166
+ "type": "value",
167
+ "value": "pre-wrap"
168
+ },
169
+ {
170
+ "name": "break-spaces",
171
+ "prose": "The behavior is identical to that of pre-wrap, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. Tests white-space-intrinsic-size-001.html (live test) (source) white-space-intrinsic-size-002.html (live test) (source) A line breaking opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces). Tests overflow-wrap-break-word-002.html (live test) (source) overflow-wrap-anywhere-002.html (live test) (source) break-spaces-001.html (live test) (source) break-spaces-002.html (live test) (source) break-spaces-003.html (live test) (source) break-spaces-004.html (live test) (source) break-spaces-005.html (live test) (source) break-spaces-006.html (live test) (source) break-spaces-007.html (live test) (source) break-spaces-008.html (live test) (source) break-spaces-009.html (live test) (source) break-spaces-010.html (live test) (source) break-spaces-051.html (live test) (source) break-spaces-052.html (live test) (source) white-space-pre-034.html (live test) (source) textarea-break-spaces-001.html (live test) (source) textarea-break-spaces-002.html (live test) (source) break-spaces-before-first-char-001.html (live test) (source) break-spaces-before-first-char-002.html (live test) (source) break-spaces-before-first-char-003.html (live test) (source) break-spaces-before-first-char-004.html (live test) (source) break-spaces-before-first-char-005.html (live test) (source) break-spaces-before-first-char-006.html (live test) (source) break-spaces-before-first-char-007.html (live test) (source) break-spaces-before-first-char-008.html (live test) (source) break-spaces-before-first-char-009.html (live test) (source) break-spaces-before-first-char-010.html (live test) (source) break-spaces-before-first-char-011.html (live test) (source) break-spaces-before-first-char-012.html (live test) (source) break-spaces-before-first-char-013.html (live test) (source) break-spaces-before-first-char-014.html (live test) (source) break-spaces-before-first-char-015.html (live test) (source) break-spaces-before-first-char-016.html (live test) (source) break-spaces-before-first-char-017.html (live test) (source) break-spaces-before-first-char-018.html (live test) (source) break-spaces-before-first-ideographic-char-001.html (live test) (source) break-spaces-before-first-ideographic-char-002.html (live test) (source) break-spaces-before-first-ideographic-char-003.html (live test) (source) break-spaces-before-first-ideographic-char-004.html (live test) (source) break-spaces-before-first-ideographic-char-005.html (live test) (source) break-spaces-before-first-ideographic-char-006.html (live test) (source) break-spaces-before-first-ideographic-char-007.html (live test) (source) break-spaces-before-first-ideographic-char-008.html (live test) (source) break-spaces-before-first-ideographic-char-009.html (live test) (source) break-spaces-before-first-ideographic-char-010.html (live test) (source) break-spaces-before-first-ideographic-char-011.html (live test) (source) break-spaces-before-first-ideographic-char-012.html (live test) (source) break-spaces-before-first-ideographic-char-013.html (live test) (source) break-spaces-before-first-ideographic-char-014.html (live test) (source) break-spaces-before-first-ideographic-char-015.html (live test) (source) break-spaces-before-first-ideographic-char-016.html (live test) (source) break-spaces-before-first-ideographic-char-017.html (live test) (source) break-spaces-before-first-ideographic-char-018.html (live test) (source) tab-stop-threshold-005.html (live test) (source) tab-stop-threshold-006.html (live test) (source) word-break-break-all-017.html (live test) (source) break-spaces-tab-001.html (live test) (source) break-spaces-tab-002.html (live test) (source) break-spaces-tab-003.html (live test) (source) break-spaces-tab-004.html (live test) (source) break-spaces-tab-005.html (live test) (source) break-spaces-tab-006.html (live test) (source) break-spaces-with-overflow-wrap-001.html (live test) (source) break-spaces-with-overflow-wrap-002.html (live test) (source) break-spaces-with-overflow-wrap-003.html (live test) (source) break-spaces-with-overflow-wrap-004.html (live test) (source) break-spaces-with-overflow-wrap-005.html (live test) (source) break-spaces-with-overflow-wrap-006.html (live test) (source) break-spaces-with-overflow-wrap-007.html (live test) (source) break-spaces-with-overflow-wrap-008.html (live test) (source) break-spaces-with-overflow-wrap-009.html (live test) (source) break-spaces-with-overflow-wrap-010.html (live test) (source) break-spaces-with-ideographic-space-001.html (live test) (source) break-spaces-with-ideographic-space-002.html (live test) (source) break-spaces-with-ideographic-space-003.html (live test) (source) break-spaces-with-ideographic-space-004.html (live test) (source) break-spaces-with-ideographic-space-005.html (live test) (source) break-spaces-with-ideographic-space-006.html (live test) (source) break-spaces-with-ideographic-space-007.html (live test) (source) break-spaces-with-ideographic-space-008.html (live test) (source) break-spaces-with-ideographic-space-009.html (live test) (source) break-spaces-with-ideographic-space-010.html (live test) (source) line-break-anywhere-and-white-space-008.html (live test) (source) line-break-anywhere-and-white-space-009.html (live test) (source) ws-break-spaces-applies-to-001.html (live test) (source) ws-break-spaces-applies-to-002.html (live test) (source) ws-break-spaces-applies-to-003.html (live test) (source) ws-break-spaces-applies-to-005.html (live test) (source) ws-break-spaces-applies-to-006.html (live test) (source) ws-break-spaces-applies-to-007.html (live test) (source) ws-break-spaces-applies-to-008.html (live test) (source) ws-break-spaces-applies-to-009.html (live test) (source) ws-break-spaces-applies-to-010.html (live test) (source) ws-break-spaces-applies-to-011.html (live test) (source) ws-break-spaces-applies-to-012.html (live test) (source) ws-break-spaces-applies-to-013.html (live test) (source) ws-break-spaces-applies-to-014.html (live test) (source) ws-break-spaces-applies-to-015.html (live test) (source) break-spaces-newline-011.html (live test) (source) break-spaces-newline-012.html (live test) (source) break-spaces-newline-013.html (live test) (source) break-spaces-newline-014.html (live test) (source) break-spaces-newline-015.html (live test) (source) break-spaces-newline-016.html (live test) (source) trailing-ideographic-space-break-spaces-001.html (live test) (source) trailing-ideographic-space-break-spaces-002.html (live test) (source) trailing-ideographic-space-break-spaces-003.html (live test) (source) trailing-ideographic-space-break-spaces-004.html (live test) (source) trailing-ideographic-space-break-spaces-005.html (live test) (source) trailing-ideographic-space-break-spaces-006.html (live test) (source) trailing-ideographic-space-break-spaces-007.html (live test) (source) trailing-ideographic-space-break-spaces-008.html (live test) (source)",
172
+ "type": "value",
173
+ "value": "break-spaces"
174
+ },
175
+ {
176
+ "name": "pre-line",
177
+ "prose": "Like normal, this value collapses consecutive white space characters and allows wrapping, but it preserves segment breaks in the source as forced line breaks.",
178
+ "type": "value",
179
+ "value": "pre-line"
180
+ }
181
+ ],
62
182
  "styleDeclaration": [
63
183
  "white-space",
64
184
  "whiteSpace"
65
185
  ]
66
186
  },
67
- "text-space-collapse": {
187
+ {
68
188
  "name": "text-space-collapse",
69
189
  "value": "collapse | discard | preserve | preserve-breaks | preserve-spaces",
70
190
  "initial": "collapse",
@@ -74,12 +194,44 @@
74
194
  "computedValue": "specified keyword",
75
195
  "canonicalOrder": "per grammar",
76
196
  "animationType": "discrete",
197
+ "values": [
198
+ {
199
+ "name": "collapse",
200
+ "prose": "This value directs user agents to collapse sequences of white space into a single character (or in some cases, no character).",
201
+ "type": "value",
202
+ "value": "collapse"
203
+ },
204
+ {
205
+ "name": "preserve",
206
+ "prose": "This value prevents user agents from collapsing sequences of white space. Segment breaks are preserved as forced line breaks.",
207
+ "type": "value",
208
+ "value": "preserve"
209
+ },
210
+ {
211
+ "name": "preserve-breaks",
212
+ "prose": "This value collapses white space as for collapse, but preserves segment breaks as forced line breaks.",
213
+ "type": "value",
214
+ "value": "preserve-breaks"
215
+ },
216
+ {
217
+ "name": "preserve-spaces",
218
+ "prose": "This value prevents user agents from collapsing sequences of white space, and converts tabs and segment breaks to spaces. (This value is intended to match the behavior of xml:space=\"preserve\" in SVG.)",
219
+ "type": "value",
220
+ "value": "preserve-spaces"
221
+ },
222
+ {
223
+ "name": "discard",
224
+ "prose": "This value directs user agents to “discard” all white space in the element. Does this preserve line break opportunities or no? Do we need a \"hide\" value?",
225
+ "type": "value",
226
+ "value": "discard"
227
+ }
228
+ ],
77
229
  "styleDeclaration": [
78
230
  "text-space-collapse",
79
231
  "textSpaceCollapse"
80
232
  ]
81
233
  },
82
- "text-space-trim": {
234
+ {
83
235
  "name": "text-space-trim",
84
236
  "value": "none | trim-inner || discard-before || discard-after",
85
237
  "initial": "none",
@@ -89,12 +241,32 @@
89
241
  "computedValue": "specified keyword(s)",
90
242
  "canonicalOrder": "per grammar",
91
243
  "animationType": "discrete",
244
+ "values": [
245
+ {
246
+ "name": "trim-inner",
247
+ "prose": "For block containers this value directs UAs to discard all whitespace at the beginning of the element up to and including the last segment break before the first non-white-space character in the element as well as to discard all white space at the end of the element starting with the first segment break after the last non-white-space character in the element. For other elements this value directs UAs to discard all whitespace at the beginning and end of the element.",
248
+ "type": "value",
249
+ "value": "trim-inner"
250
+ },
251
+ {
252
+ "name": "discard-before",
253
+ "prose": "This value directs the UA to collapse all collapsible whitespace immediately before the start of the element.",
254
+ "type": "value",
255
+ "value": "discard-before"
256
+ },
257
+ {
258
+ "name": "discard-after",
259
+ "prose": "This value directs the UA to collapse all collapsible whitespace immediately after the end of the element.",
260
+ "type": "value",
261
+ "value": "discard-after"
262
+ }
263
+ ],
92
264
  "styleDeclaration": [
93
265
  "text-space-trim",
94
266
  "textSpaceTrim"
95
267
  ]
96
268
  },
97
- "tab-size": {
269
+ {
98
270
  "name": "tab-size",
99
271
  "value": "<number> | <length>",
100
272
  "initial": "8",
@@ -109,7 +281,7 @@
109
281
  "tabSize"
110
282
  ]
111
283
  },
112
- "word-break": {
284
+ {
113
285
  "name": "word-break",
114
286
  "value": "normal | keep-all | break-all | break-word",
115
287
  "initial": "normal",
@@ -119,12 +291,38 @@
119
291
  "computedValue": "specified keyword",
120
292
  "canonicalOrder": "n/a",
121
293
  "animationType": "discrete",
294
+ "values": [
295
+ {
296
+ "name": "normal",
297
+ "prose": "Words break according to their customary rules, as described above. Korean, which commonly exhibits two different behaviors, allows breaks between any two consecutive Hangul/Hanja. For Ethiopic, which also exhibits two different behaviors, such breaks within words are not allowed.",
298
+ "type": "value",
299
+ "value": "normal"
300
+ },
301
+ {
302
+ "name": "break-all",
303
+ "prose": "Breaking is allowed within “words”: specifically, in addition to soft wrap opportunities allowed for normal, any typographic letter units (and any typographic character units resolving to the NU (“numeric”), AL (“alphabetic”), or SA (“Southeast Asian”) line breaking classes [UAX14]) are instead treated as ID (“ideographic characters”) for the purpose of line-breaking. Hyphenation is not applied.",
304
+ "type": "value",
305
+ "value": "break-all"
306
+ },
307
+ {
308
+ "name": "keep-all",
309
+ "prose": "Breaking is forbidden within “words”: implicit soft wrap opportunities between typographic letter units (or other typographic character units belonging to the NU, AL, AI, or ID Unicode line breaking classes [UAX14]) are suppressed, i.e. breaks are prohibited between pairs of such characters (regardless of line-break settings other than anywhere) except where opportunities exist due to dictionary-based breaking. Otherwise this option is equivalent to normal. In this style, sequences of CJK characters do not break.",
310
+ "type": "value",
311
+ "value": "keep-all"
312
+ },
313
+ {
314
+ "name": "break-word",
315
+ "prose": "For compatibility with legacy content, the word-break property also supports a deprecated break-word keyword. When specified, this has the same effect as word-break: normal and overflow-wrap: anywhere, regardless of the actual value of the overflow-wrap property.",
316
+ "type": "value",
317
+ "value": "break-word"
318
+ }
319
+ ],
122
320
  "styleDeclaration": [
123
321
  "word-break",
124
322
  "wordBreak"
125
323
  ]
126
324
  },
127
- "line-break": {
325
+ {
128
326
  "name": "line-break",
129
327
  "value": "auto | loose | normal | strict | anywhere",
130
328
  "initial": "auto",
@@ -134,12 +332,44 @@
134
332
  "computedValue": "specified keyword",
135
333
  "canonicalOrder": "n/a",
136
334
  "animationType": "discrete",
335
+ "values": [
336
+ {
337
+ "name": "auto",
338
+ "prose": "The UA determines the set of line-breaking restrictions to use, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.",
339
+ "type": "value",
340
+ "value": "auto"
341
+ },
342
+ {
343
+ "name": "loose",
344
+ "prose": "Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.",
345
+ "type": "value",
346
+ "value": "loose"
347
+ },
348
+ {
349
+ "name": "normal",
350
+ "prose": "Breaks text using the most common set of line-breaking rules.",
351
+ "type": "value",
352
+ "value": "normal"
353
+ },
354
+ {
355
+ "name": "strict",
356
+ "prose": "Breaks text using the most stringent set of line-breaking rules.",
357
+ "type": "value",
358
+ "value": "strict"
359
+ },
360
+ {
361
+ "name": "anywhere",
362
+ "prose": "There is a soft wrap opportunity around every typographic character unit, including around any punctuation character or preserved white spaces, or in the middle of words, disregarding any prohibition against line breaks, even those introduced by characters with the GL, WJ, or ZWJ line breaking classes or mandated by the word-break property. [UAX14] The different wrapping opportunities must not be prioritized. Hyphenation is not applied.",
363
+ "type": "value",
364
+ "value": "anywhere"
365
+ }
366
+ ],
137
367
  "styleDeclaration": [
138
368
  "line-break",
139
369
  "lineBreak"
140
370
  ]
141
371
  },
142
- "hyphens": {
372
+ {
143
373
  "name": "hyphens",
144
374
  "value": "none | manual | auto",
145
375
  "initial": "manual",
@@ -149,11 +379,31 @@
149
379
  "computedValue": "specified keyword",
150
380
  "canonicalOrder": "n/a",
151
381
  "animationType": "discrete",
382
+ "values": [
383
+ {
384
+ "name": "none",
385
+ "prose": "Words are not hyphenated, even if characters inside the word explicitly define hyphenation opportunities.",
386
+ "type": "value",
387
+ "value": "none"
388
+ },
389
+ {
390
+ "name": "manual",
391
+ "prose": "Words are only hyphenated where there are characters inside the word that explicitly suggest hyphenation opportunities. In Unicode, U+00AD is a conditional \"soft hyphen\" and U+2010 is an unconditional hyphen. Unicode Standard Annex #14 describes the role of soft hyphens in Unicode line breaking. [UAX14] In HTML, &shy; represents the soft hyphen character, which suggests a hyphenation opportunity. ex&shy;ample",
392
+ "type": "value",
393
+ "value": "manual"
394
+ },
395
+ {
396
+ "name": "auto",
397
+ "prose": "Words may be broken at hyphenation opportunities determined automatically by a language-appropriate hyphenation resource in addition to those indicated explicitly by a conditional hyphen. Automatic hyphenation opportunities within a word must be ignored if the word contains a conditional hyphen (&shy; or U+00AD SOFT HYPHEN), in favor of the conditional hyphen(s). However, if, even after breaking at such opportunities, a portion of that word is still too long to fit on one line, an automatic hyphenation opportunity may be used.",
398
+ "type": "value",
399
+ "value": "auto"
400
+ }
401
+ ],
152
402
  "styleDeclaration": [
153
403
  "hyphens"
154
404
  ]
155
405
  },
156
- "hyphenate-character": {
406
+ {
157
407
  "name": "hyphenate-character",
158
408
  "value": "auto | <string>",
159
409
  "initial": "auto",
@@ -163,12 +413,26 @@
163
413
  "computedValue": "specified keyword",
164
414
  "canonicalOrder": "per grammar",
165
415
  "animationType": "discrete",
416
+ "values": [
417
+ {
418
+ "name": "auto",
419
+ "prose": "Specifies that the user agent should find an appropriate string based on the content language’s typographic conventions, possibly from the same source as the hyphenation dictionary.",
420
+ "type": "value",
421
+ "value": "auto"
422
+ },
423
+ {
424
+ "name": "<string>",
425
+ "prose": "Specifies the string that appears at the end of the line before a hyphenation break. The UA may truncate the used value to a limited number of typographic character units. (It must not truncate only part of a typographic character unit.)",
426
+ "type": "value",
427
+ "value": "<string>"
428
+ }
429
+ ],
166
430
  "styleDeclaration": [
167
431
  "hyphenate-character",
168
432
  "hyphenateCharacter"
169
433
  ]
170
434
  },
171
- "hyphenate-limit-zone": {
435
+ {
172
436
  "name": "hyphenate-limit-zone",
173
437
  "value": "<length-percentage>",
174
438
  "initial": "0",
@@ -183,7 +447,7 @@
183
447
  "hyphenateLimitZone"
184
448
  ]
185
449
  },
186
- "hyphenate-limit-chars": {
450
+ {
187
451
  "name": "hyphenate-limit-chars",
188
452
  "value": "[ auto | <integer> ]{1,3}",
189
453
  "initial": "auto",
@@ -193,12 +457,20 @@
193
457
  "computedValue": "three values, each either the auto keyword or an integer",
194
458
  "canonicalOrder": "per grammar",
195
459
  "animationType": "by computed value type",
460
+ "values": [
461
+ {
462
+ "name": "auto",
463
+ "prose": "If three values are specified, the first value is the required minimum for the total characters in a word, the second value is the minimum for characters before the hyphenation point, and the third value is the minimum for characters after the hyphenation point. If the third value is missing, it is the same as the second. If the second value is missing, then it is auto. The auto value means that the UA chooses a value that adapts to the current layout.",
464
+ "type": "value",
465
+ "value": "auto"
466
+ }
467
+ ],
196
468
  "styleDeclaration": [
197
469
  "hyphenate-limit-chars",
198
470
  "hyphenateLimitChars"
199
471
  ]
200
472
  },
201
- "hyphenate-limit-lines": {
473
+ {
202
474
  "name": "hyphenate-limit-lines",
203
475
  "value": "no-limit | <integer>",
204
476
  "initial": "no-limit",
@@ -208,12 +480,44 @@
208
480
  "computedValue": "specified keyword or integer",
209
481
  "canonicalOrder": "per grammar",
210
482
  "animationType": "by computed value type",
483
+ "values": [
484
+ {
485
+ "name": "none",
486
+ "prose": "No restrictions imposed.",
487
+ "type": "value",
488
+ "value": "none"
489
+ },
490
+ {
491
+ "name": "always",
492
+ "prose": "The last full line of the element, or the last line before any column, page, or spread break inside the element should not be hyphenated.",
493
+ "type": "value",
494
+ "value": "always"
495
+ },
496
+ {
497
+ "name": "column",
498
+ "prose": "The last line before any column, page, or spread break inside the element should not be hyphenated.",
499
+ "type": "value",
500
+ "value": "column"
501
+ },
502
+ {
503
+ "name": "page",
504
+ "prose": "The last line before page or spread break inside the element should not be hyphenated.",
505
+ "type": "value",
506
+ "value": "page"
507
+ },
508
+ {
509
+ "name": "spread",
510
+ "prose": "The last line before any spread break inside the element should not be hyphenated.",
511
+ "type": "value",
512
+ "value": "spread"
513
+ }
514
+ ],
211
515
  "styleDeclaration": [
212
516
  "hyphenate-limit-lines",
213
517
  "hyphenateLimitLines"
214
518
  ]
215
519
  },
216
- "hyphenate-limit-last": {
520
+ {
217
521
  "name": "hyphenate-limit-last",
218
522
  "value": "none | always | column | page | spread",
219
523
  "initial": "none",
@@ -228,7 +532,7 @@
228
532
  "hyphenateLimitLast"
229
533
  ]
230
534
  },
231
- "overflow-wrap": {
535
+ {
232
536
  "name": "overflow-wrap",
233
537
  "value": "normal | break-word | anywhere",
234
538
  "initial": "normal",
@@ -238,12 +542,32 @@
238
542
  "computedValue": "specified keyword",
239
543
  "canonicalOrder": "n/a",
240
544
  "animationType": "discrete",
545
+ "values": [
546
+ {
547
+ "name": "normal",
548
+ "prose": "Lines may break only at allowed break points. However, the restrictions introduced by word-break: keep-all may be relaxed to match word-break: normal if there are no otherwise-acceptable break points in the line.",
549
+ "type": "value",
550
+ "value": "normal"
551
+ },
552
+ {
553
+ "name": "anywhere",
554
+ "prose": "An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line. Shaping characters are still shaped as if the word were not broken, and grapheme clusters must stay together as one unit. No hyphenation character is inserted at the break point. Soft wrap opportunities introduced by anywhere are considered when calculating min-content intrinsic sizes.",
555
+ "type": "value",
556
+ "value": "anywhere"
557
+ },
558
+ {
559
+ "name": "break-word",
560
+ "prose": "As for anywhere except that soft wrap opportunities introduced by break-word are not considered when calculating min-content intrinsic sizes.",
561
+ "type": "value",
562
+ "value": "break-word"
563
+ }
564
+ ],
241
565
  "styleDeclaration": [
242
566
  "overflow-wrap",
243
567
  "overflowWrap"
244
568
  ]
245
569
  },
246
- "word-wrap": {
570
+ {
247
571
  "name": "word-wrap",
248
572
  "value": "normal | break-word | anywhere",
249
573
  "initial": "normal",
@@ -258,7 +582,7 @@
258
582
  "wordWrap"
259
583
  ]
260
584
  },
261
- "text-wrap": {
585
+ {
262
586
  "name": "text-wrap",
263
587
  "value": "wrap | nowrap | balance | stable | pretty",
264
588
  "initial": "wrap",
@@ -268,12 +592,44 @@
268
592
  "computedValue": "specified keyword",
269
593
  "canonicalOrder": "per grammar",
270
594
  "animationType": "discrete",
595
+ "values": [
596
+ {
597
+ "name": "wrap",
598
+ "prose": "Inline-level content may break across lines at allowed soft wrap opportunities, as determined by the line-breaking rules in effect in order to minimize inline-axis overflow. The exact algorithm is UA-defined. The algorithm may consider multiple lines when making break decisions. The UA may bias for speed over best layout. The UA must not attempt to even out all lines (including the last) as for balance. This value selects the UA’s preferred (or most Web-compatible) wrapping algorithm.",
599
+ "type": "value",
600
+ "value": "wrap"
601
+ },
602
+ {
603
+ "name": "nowrap",
604
+ "prose": "Inline-level content does not break across lines; content that does not fit within the block container overflows it.",
605
+ "type": "value",
606
+ "value": "nowrap"
607
+ },
608
+ {
609
+ "name": "balance",
610
+ "prose": "Same as wrap for inline boxes. For block containers that establish an inline formatting context, line breaks are chosen to balance the remaining (empty) space in each line box, if better balance than wrap is possible. This must not change the number of line boxes the block would contain if text-wrap were set to wrap. The remaining space to consider is that which remains after placing floats and inline content, but before any adjustments due to text justification. Line boxes are balanced when the standard deviation from the average inline-size of the remaining space in each line box is reduced over the block (including lines that end in a forced break). The exact algorithm is UA-defined. UAs may treat this value as wrap if there are more than ten lines to balance.",
611
+ "type": "value",
612
+ "value": "balance"
613
+ },
614
+ {
615
+ "name": "stable",
616
+ "prose": "When applied to a block container that establishes an inline formatting context, specifies that content on subsequent lines should not be considered when making break decisions so that when editing text any content before the cursor remains stable; otherwise equivalent to wrap,",
617
+ "type": "value",
618
+ "value": "stable"
619
+ },
620
+ {
621
+ "name": "pretty",
622
+ "prose": "When applied to a block container that establishes an inline formatting context, specifies the UA should bias for better layout over speed, and is expected to consider multiple lines, when making break decisions. Otherwise equivalent to wrap,",
623
+ "type": "value",
624
+ "value": "pretty"
625
+ }
626
+ ],
271
627
  "styleDeclaration": [
272
628
  "text-wrap",
273
629
  "textWrap"
274
630
  ]
275
631
  },
276
- "wrap-before": {
632
+ {
277
633
  "name": "wrap-before",
278
634
  "value": "auto | avoid | avoid-line | avoid-flex | line | flex",
279
635
  "initial": "auto",
@@ -283,12 +639,50 @@
283
639
  "computedValue": "specified keyword",
284
640
  "canonicalOrder": "per grammar",
285
641
  "animationType": "discrete",
642
+ "values": [
643
+ {
644
+ "name": "auto",
645
+ "prose": "Lines may break at allowed break points before and after the box, as determined by the line-breaking rules in effect.",
646
+ "type": "value",
647
+ "value": "auto"
648
+ },
649
+ {
650
+ "name": "avoid",
651
+ "prose": "Line breaking is suppressed immediately before/after the box: the UA may only break there if there are no other valid break points in the line. If the text breaks, line-breaking restrictions are honored as for auto.",
652
+ "type": "value",
653
+ "value": "avoid"
654
+ },
655
+ {
656
+ "name": "avoid-line",
657
+ "prose": "Same as avoid, but only for line breaks.",
658
+ "type": "value",
659
+ "value": "avoid-line"
660
+ },
661
+ {
662
+ "name": "avoid-flex",
663
+ "prose": "Same as avoid, but only for flex line breaks.",
664
+ "type": "value",
665
+ "value": "avoid-flex"
666
+ },
667
+ {
668
+ "name": "line",
669
+ "prose": "Force a line break immediately before/after the box if the box is an inline-level box.",
670
+ "type": "value",
671
+ "value": "line"
672
+ },
673
+ {
674
+ "name": "flex",
675
+ "prose": "Force a flex line break immediately before/after the box if the box is a flex item in a multi-line flex container.",
676
+ "type": "value",
677
+ "value": "flex"
678
+ }
679
+ ],
286
680
  "styleDeclaration": [
287
681
  "wrap-before",
288
682
  "wrapBefore"
289
683
  ]
290
684
  },
291
- "wrap-after": {
685
+ {
292
686
  "name": "wrap-after",
293
687
  "value": "auto | avoid | avoid-line | avoid-flex | line | flex",
294
688
  "initial": "auto",
@@ -298,12 +692,50 @@
298
692
  "computedValue": "specified keyword",
299
693
  "canonicalOrder": "per grammar",
300
694
  "animationType": "discrete",
695
+ "values": [
696
+ {
697
+ "name": "auto",
698
+ "prose": "Lines may break at allowed break points before and after the box, as determined by the line-breaking rules in effect.",
699
+ "type": "value",
700
+ "value": "auto"
701
+ },
702
+ {
703
+ "name": "avoid",
704
+ "prose": "Line breaking is suppressed immediately before/after the box: the UA may only break there if there are no other valid break points in the line. If the text breaks, line-breaking restrictions are honored as for auto.",
705
+ "type": "value",
706
+ "value": "avoid"
707
+ },
708
+ {
709
+ "name": "avoid-line",
710
+ "prose": "Same as avoid, but only for line breaks.",
711
+ "type": "value",
712
+ "value": "avoid-line"
713
+ },
714
+ {
715
+ "name": "avoid-flex",
716
+ "prose": "Same as avoid, but only for flex line breaks.",
717
+ "type": "value",
718
+ "value": "avoid-flex"
719
+ },
720
+ {
721
+ "name": "line",
722
+ "prose": "Force a line break immediately before/after the box if the box is an inline-level box.",
723
+ "type": "value",
724
+ "value": "line"
725
+ },
726
+ {
727
+ "name": "flex",
728
+ "prose": "Force a flex line break immediately before/after the box if the box is a flex item in a multi-line flex container.",
729
+ "type": "value",
730
+ "value": "flex"
731
+ }
732
+ ],
301
733
  "styleDeclaration": [
302
734
  "wrap-after",
303
735
  "wrapAfter"
304
736
  ]
305
737
  },
306
- "wrap-inside": {
738
+ {
307
739
  "name": "wrap-inside",
308
740
  "value": "auto | avoid",
309
741
  "initial": "auto",
@@ -313,12 +745,26 @@
313
745
  "computedValue": "specified keyword",
314
746
  "canonicalOrder": "per grammar",
315
747
  "animationType": "discrete",
748
+ "values": [
749
+ {
750
+ "name": "auto",
751
+ "prose": "Lines may break at allowed break points within the box, as determined by the line-breaking rules in effect.",
752
+ "type": "value",
753
+ "value": "auto"
754
+ },
755
+ {
756
+ "name": "avoid",
757
+ "prose": "Line breaking is suppressed within the box: the UA may only break within the box if there are no other valid break points in the line. If the text breaks, line-breaking restrictions are honored as for auto. If boxes with avoid are nested and the UA must break within these boxes, a break in an outer box must be used before a break within an inner box may be used.",
758
+ "type": "value",
759
+ "value": "avoid"
760
+ }
761
+ ],
316
762
  "styleDeclaration": [
317
763
  "wrap-inside",
318
764
  "wrapInside"
319
765
  ]
320
766
  },
321
- "text-align": {
767
+ {
322
768
  "name": "text-align",
323
769
  "value": "start | end | left | right | center | <string> | justify | match-parent | justify-all",
324
770
  "initial": "start",
@@ -328,12 +774,73 @@
328
774
  "computedValue": "see individual properties",
329
775
  "animationType": "discrete",
330
776
  "canonicalOrder": "n/a",
777
+ "values": [
778
+ {
779
+ "name": "start",
780
+ "prose": "Inline-level content is aligned to the start edge of the line box.",
781
+ "type": "value",
782
+ "value": "start"
783
+ },
784
+ {
785
+ "name": "end",
786
+ "prose": "Inline-level content is aligned to the end edge of the line box.",
787
+ "type": "value",
788
+ "value": "end"
789
+ },
790
+ {
791
+ "name": "left",
792
+ "prose": "Inline-level content is aligned to the line-left edge of the line box. (In vertical writing modes, this can be either the physical top or bottom, depending on writing-mode.) [CSS-WRITING-MODES-4]",
793
+ "type": "value",
794
+ "value": "left"
795
+ },
796
+ {
797
+ "name": "right",
798
+ "prose": "Inline-level content is aligned to the line-right edge of the line box. (In vertical writing modes, this can be either the physical top or bottom, depending on writing-mode.) [CSS-WRITING-MODES-4]",
799
+ "type": "value",
800
+ "value": "right"
801
+ },
802
+ {
803
+ "name": "center",
804
+ "prose": "Inline-level content is centered within the line box.",
805
+ "type": "value",
806
+ "value": "center"
807
+ },
808
+ {
809
+ "name": "<string>",
810
+ "prose": "The string must be a single character; otherwise the declaration is invalid and must be ignored. When applied to a table cell, specifies the alignment character around which the cell’s contents will align. See below for further details and how this value combines with keywords.",
811
+ "type": "value",
812
+ "value": "<string>"
813
+ },
814
+ {
815
+ "name": "alignment character",
816
+ "type": "value",
817
+ "value": "alignment character"
818
+ },
819
+ {
820
+ "name": "justify",
821
+ "prose": "Text is justified according to the method specified by the text-justify property, in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned.",
822
+ "type": "value",
823
+ "value": "justify"
824
+ },
825
+ {
826
+ "name": "justify-all",
827
+ "prose": "Sets both text-align-all and text-align-last to justify, forcing the last line to justify as well.",
828
+ "type": "value",
829
+ "value": "justify-all"
830
+ },
831
+ {
832
+ "name": "match-parent",
833
+ "prose": "This value behaves the same as inherit (computes to its parent’s computed value) except that an inherited value of start or end is interpreted against the parent’s (or the initial containing block’s, if there is no parent) direction value and results in a computed value of either left or right. When specified on the text-align shorthand, sets both text-align-all and text-align-last to match-parent.",
834
+ "type": "value",
835
+ "value": "match-parent"
836
+ }
837
+ ],
331
838
  "styleDeclaration": [
332
839
  "text-align",
333
840
  "textAlign"
334
841
  ]
335
842
  },
336
- "text-align-all": {
843
+ {
337
844
  "name": "text-align-all",
338
845
  "value": "start | end | left | right | center | justify | match-parent",
339
846
  "initial": "start",
@@ -348,7 +855,7 @@
348
855
  "textAlignAll"
349
856
  ]
350
857
  },
351
- "text-align-last": {
858
+ {
352
859
  "name": "text-align-last",
353
860
  "value": "auto | start | end | left | right | center | justify | match-parent",
354
861
  "initial": "auto",
@@ -358,12 +865,20 @@
358
865
  "computedValue": "specified keyword",
359
866
  "canonicalOrder": "n/a",
360
867
  "animationType": "discrete",
868
+ "values": [
869
+ {
870
+ "name": "auto",
871
+ "prose": "If auto is specified, content on the affected line is aligned per text-align-all unless text-align-all is set to justify, in which case it is start-aligned. All other values are interpreted as described for text-align.",
872
+ "type": "value",
873
+ "value": "auto"
874
+ }
875
+ ],
361
876
  "styleDeclaration": [
362
877
  "text-align-last",
363
878
  "textAlignLast"
364
879
  ]
365
880
  },
366
- "text-justify": {
881
+ {
367
882
  "name": "text-justify",
368
883
  "value": "auto | none | inter-word | inter-character",
369
884
  "initial": "auto",
@@ -373,12 +888,44 @@
373
888
  "computedValue": "specified keyword (except for the distribute legacy value)",
374
889
  "canonicalOrder": "n/a",
375
890
  "animationType": "discrete",
891
+ "values": [
892
+ {
893
+ "name": "auto",
894
+ "prose": "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. Since justification rules vary by writing system and language, UAs should, where possible, use a justification algorithm appropriate to the text. For example, the UA could use by default a justification method that is a simple universal compromise for all writing systems—such as primarily expanding word separators and between CJK typographic letter units along with secondarily expanding between Southeast Asian typographic letter units. Then, in cases where the content language of the paragraph is known, it could choose a more language-tailored justification behavior e.g. following the Requirements for Japanese Text Layout for Japanese [JLREQ], using cursive elongation for Arabic, using inter-word for German, etc. An example of cursively-justified Arabic text, rendered by Tasmeem. Like English, Arabic can be justified by adjusting the spacing between words, but in most styles it can also be justified by calligraphically elongating or compressing the letterforms themselves. In this example, the upper text is extended to fill the line by the use of elongated (kashida) forms and swash forms, while the bottom line is compressed slightly by using a stacked combination for the characters between ت and م. By employing traditional calligraphic techniques, a typesetter can justify the line while preserving flow and color, providing a very high quality justification effect. However, this is by its nature a very script-specific effect. Mixed-script text with text-justify: auto: this interpretation uses a universal-compromise justification method, expanding at spaces as well as between CJK and Southeast Asian letters. This effectively uses inter-word + inter-ideograph spacing for lines that have word-separators and/or CJK characters and falls back to inter-cluster behavior for lines that don’t or for which the space stretches too far.",
895
+ "type": "value",
896
+ "value": "auto"
897
+ },
898
+ {
899
+ "name": "none",
900
+ "prose": "Justification is disabled: there are no justification opportunities within the text. Mixed-script text with text-justify: none",
901
+ "type": "value",
902
+ "value": "none"
903
+ },
904
+ {
905
+ "name": "inter-word",
906
+ "prose": "Justification adjusts spacing at word separators only (effectively varying the used word-spacing on the line). This behavior is typical for languages that separate words using spaces, like English or Korean. Mixed-script text with text-justify: inter-word",
907
+ "type": "value",
908
+ "value": "inter-word"
909
+ },
910
+ {
911
+ "name": "inter-character",
912
+ "prose": "Justification adjusts spacing between each pair of adjacent typographic character units (effectively varying the used letter-spacing on the line). This value is sometimes used in East Asian systems such as Japanese. Mixed-script text with text-justify: inter-character For legacy reasons, UAs must also support the alternate keyword distribute which must compute to inter-character, thus having the exact same meaning and behavior.",
913
+ "type": "value",
914
+ "value": "inter-character"
915
+ },
916
+ {
917
+ "name": "distribute",
918
+ "prose": "For legacy reasons, UAs must also support the alternate keyword distribute which must compute to inter-character, thus having the exact same meaning and behavior.",
919
+ "type": "value",
920
+ "value": "distribute"
921
+ }
922
+ ],
376
923
  "styleDeclaration": [
377
924
  "text-justify",
378
925
  "textJustify"
379
926
  ]
380
927
  },
381
- "text-group-align": {
928
+ {
382
929
  "name": "text-group-align",
383
930
  "value": "none | start | end | left | right | center",
384
931
  "initial": "none",
@@ -388,12 +935,50 @@
388
935
  "computedValue": "specified keyword",
389
936
  "canonicalOrder": "per grammar",
390
937
  "animationType": "discrete",
938
+ "values": [
939
+ {
940
+ "name": "none",
941
+ "prose": "Text alignment happens normally: group alignment is not performed.",
942
+ "type": "value",
943
+ "value": "none"
944
+ },
945
+ {
946
+ "name": "start",
947
+ "prose": "Inline-level content is group-aligned to the inline start side, by padding the inline end side of each line box.",
948
+ "type": "value",
949
+ "value": "start"
950
+ },
951
+ {
952
+ "name": "end",
953
+ "prose": "Inline-level content is group-aligned to the inline end side, by padding the inline start side of each line box.",
954
+ "type": "value",
955
+ "value": "end"
956
+ },
957
+ {
958
+ "name": "left",
959
+ "prose": "Inline-level content is group-aligned to the line-left side, by padding the line-right side of each line box.",
960
+ "type": "value",
961
+ "value": "left"
962
+ },
963
+ {
964
+ "name": "right",
965
+ "prose": "Inline-level content is group-aligned to the line-right side, by padding the line-left side of each line box.",
966
+ "type": "value",
967
+ "value": "right"
968
+ },
969
+ {
970
+ "name": "center",
971
+ "prose": "Inline-level content is group-aligned to the center, by padding both sides of each line box, half the spacing to each side.",
972
+ "type": "value",
973
+ "value": "center"
974
+ }
975
+ ],
391
976
  "styleDeclaration": [
392
977
  "text-group-align",
393
978
  "textGroupAlign"
394
979
  ]
395
980
  },
396
- "word-spacing": {
981
+ {
397
982
  "name": "word-spacing",
398
983
  "value": "normal | <length-percentage>",
399
984
  "initial": "normal",
@@ -403,12 +988,26 @@
403
988
  "computedValue": "an absolute length and/or a percentage",
404
989
  "canonicalOrder": "n/a",
405
990
  "animationType": "by computed value type",
991
+ "values": [
992
+ {
993
+ "name": "normal",
994
+ "prose": "No additional spacing is applied. Computes to zero.",
995
+ "type": "value",
996
+ "value": "normal"
997
+ },
998
+ {
999
+ "name": "<length-percentages>",
1000
+ "prose": "Specifies extra spacing in addition to the intrinsic inter-word spacing defined by the font.",
1001
+ "type": "value",
1002
+ "value": "<length-percentages>"
1003
+ }
1004
+ ],
406
1005
  "styleDeclaration": [
407
1006
  "word-spacing",
408
1007
  "wordSpacing"
409
1008
  ]
410
1009
  },
411
- "letter-spacing": {
1010
+ {
412
1011
  "name": "letter-spacing",
413
1012
  "value": "normal | <length-percentage>",
414
1013
  "initial": "normal",
@@ -418,12 +1017,26 @@
418
1017
  "computedValue": "an absolute length and/or a percentage",
419
1018
  "canonicalOrder": "n/a",
420
1019
  "animationType": "by computed value type",
1020
+ "values": [
1021
+ {
1022
+ "name": "normal",
1023
+ "prose": "No additional spacing is applied. Computes to zero.",
1024
+ "type": "value",
1025
+ "value": "normal"
1026
+ },
1027
+ {
1028
+ "name": "<length>",
1029
+ "prose": "Specifies additional spacing between typographic character units. Values may be negative, but there may be implementation-dependent limits.",
1030
+ "type": "value",
1031
+ "value": "<length>"
1032
+ }
1033
+ ],
421
1034
  "styleDeclaration": [
422
1035
  "letter-spacing",
423
1036
  "letterSpacing"
424
1037
  ]
425
1038
  },
426
- "line-padding": {
1039
+ {
427
1040
  "name": "line-padding",
428
1041
  "value": "<length>",
429
1042
  "initial": "0",
@@ -438,7 +1051,7 @@
438
1051
  "linePadding"
439
1052
  ]
440
1053
  },
441
- "text-spacing": {
1054
+ {
442
1055
  "name": "text-spacing",
443
1056
  "value": "normal | none | auto | no-compress || [ trim-start | space-start | space-first ] || [ trim-end | space-end | allow-end ] || [ trim-adjacent | space-adjacent ] || ideograph-alpha || ideograph-numeric || punctuation",
444
1057
  "initial": "normal",
@@ -448,12 +1061,104 @@
448
1061
  "computedValue": "specified keyword(s)",
449
1062
  "canonicalOrder": "per grammar",
450
1063
  "animationType": "discrete",
1064
+ "values": [
1065
+ {
1066
+ "name": "normal",
1067
+ "prose": "Specifies the baseline behavior, equivalent to space-start allow-end trim-adjacent.",
1068
+ "type": "value",
1069
+ "value": "normal"
1070
+ },
1071
+ {
1072
+ "name": "none",
1073
+ "prose": "Turns off all text-spacing features. All fullwidth characters are set with full-width glyphs.",
1074
+ "type": "value",
1075
+ "value": "none"
1076
+ },
1077
+ {
1078
+ "name": "auto",
1079
+ "prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values.",
1080
+ "type": "value",
1081
+ "value": "auto"
1082
+ },
1083
+ {
1084
+ "name": "no-compress",
1085
+ "prose": "Justification must not compress text-spacing. (If this value is not specified, the justification process may reduce autospacing except when the spacing is at the start or end of the line.)",
1086
+ "type": "value",
1087
+ "value": "no-compress"
1088
+ },
1089
+ {
1090
+ "name": "space-start",
1091
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) at the start of each line.",
1092
+ "type": "value",
1093
+ "value": "space-start"
1094
+ },
1095
+ {
1096
+ "name": "trim-start",
1097
+ "prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line.",
1098
+ "type": "value",
1099
+ "value": "trim-start"
1100
+ },
1101
+ {
1102
+ "name": "space-first",
1103
+ "prose": "Behaves as space-start on the first line the block container and each line after a forced line break but as trim-start on all other lines.",
1104
+ "type": "value",
1105
+ "value": "space-first"
1106
+ },
1107
+ {
1108
+ "name": "allow-end",
1109
+ "prose": "Set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification; otherwise set the punctuation with full-width glyphs.",
1110
+ "type": "value",
1111
+ "value": "allow-end"
1112
+ },
1113
+ {
1114
+ "name": "space-end",
1115
+ "prose": "Set fullwidth closing punctuation with full-width glyphs (spaced) at the end of each line.",
1116
+ "type": "value",
1117
+ "value": "space-end"
1118
+ },
1119
+ {
1120
+ "name": "trim-end",
1121
+ "prose": "Set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line.",
1122
+ "type": "value",
1123
+ "value": "trim-end"
1124
+ },
1125
+ {
1126
+ "name": "space-adjacent",
1127
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) when not at the start of the line. Set fullwidth closing punctuation with full-width glyphs (spaced) when not at the end of the line.",
1128
+ "type": "value",
1129
+ "value": "space-adjacent"
1130
+ },
1131
+ {
1132
+ "name": "trim-adjacent",
1133
+ "prose": "Collapse spacing between punctuation glyphs as described below.",
1134
+ "type": "value",
1135
+ "value": "trim-adjacent"
1136
+ },
1137
+ {
1138
+ "name": "ideograph-alpha",
1139
+ "prose": "Creates extra spacing between runs of ideographs and non-ideographic letters.",
1140
+ "type": "value",
1141
+ "value": "ideograph-alpha"
1142
+ },
1143
+ {
1144
+ "name": "ideograph-numeric",
1145
+ "prose": "Creates extra spacing between runs of ideographs and non-ideographic numerals glyphs.",
1146
+ "type": "value",
1147
+ "value": "ideograph-numeric"
1148
+ },
1149
+ {
1150
+ "name": "punctuation",
1151
+ "prose": "Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions. In this level, if the element’s content language is French, narrow no-break space (U+202F) and no-break space (U+00A0) is inserted where required by French typographic guidelines. Otherwise this value has no effect. However future specifications may add automatic spacing behavior for other languages. Integrate rules for correcting incorrect spaces? Issue 318",
1152
+ "type": "value",
1153
+ "value": "punctuation"
1154
+ }
1155
+ ],
451
1156
  "styleDeclaration": [
452
1157
  "text-spacing",
453
1158
  "textSpacing"
454
1159
  ]
455
1160
  },
456
- "text-indent": {
1161
+ {
457
1162
  "name": "text-indent",
458
1163
  "value": "[ <length-percentage> ] && hanging? && each-line?",
459
1164
  "initial": "0",
@@ -463,12 +1168,38 @@
463
1168
  "computedValue": "computed <length-percentage> value, plus any specified keywords",
464
1169
  "canonicalOrder": "per grammar",
465
1170
  "animationType": "by computed value type",
1171
+ "values": [
1172
+ {
1173
+ "name": "<length>",
1174
+ "prose": "Gives the amount of the indent as an absolute length.",
1175
+ "type": "value",
1176
+ "value": "<length>"
1177
+ },
1178
+ {
1179
+ "name": "<percentage>",
1180
+ "prose": "Gives the amount of the indent as a percentage of the block container’s own logical width. Percentages must be treated as 0 for the purpose of calculating intrinsic size contributions, but are always resolved normally when performing layout.",
1181
+ "type": "value",
1182
+ "value": "<percentage>"
1183
+ },
1184
+ {
1185
+ "name": "each-line",
1186
+ "prose": "Indentation affects the first line of each block container and each line after a forced line break (but not lines after a soft wrap break).",
1187
+ "type": "value",
1188
+ "value": "each-line"
1189
+ },
1190
+ {
1191
+ "name": "hanging",
1192
+ "prose": "Inverts which lines are affected.",
1193
+ "type": "value",
1194
+ "value": "hanging"
1195
+ }
1196
+ ],
466
1197
  "styleDeclaration": [
467
1198
  "text-indent",
468
1199
  "textIndent"
469
1200
  ]
470
1201
  },
471
- "hanging-punctuation": {
1202
+ {
472
1203
  "name": "hanging-punctuation",
473
1204
  "value": "none | [ first || [ force-end | allow-end ] || last ]",
474
1205
  "initial": "none",
@@ -478,16 +1209,45 @@
478
1209
  "computedValue": "specified keyword(s)",
479
1210
  "canonicalOrder": "per grammar",
480
1211
  "animationType": "discrete",
1212
+ "values": [
1213
+ {
1214
+ "name": "none",
1215
+ "prose": "No punctuation character is made to hang.",
1216
+ "type": "value",
1217
+ "value": "none"
1218
+ },
1219
+ {
1220
+ "name": "first",
1221
+ "prose": "An opening bracket or quote at the start of the first formatted line of an element hangs. This applies to all characters in the Unicode categories Ps, Pf, Pi plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 \" QUOTATION MARK.",
1222
+ "type": "value",
1223
+ "value": "first"
1224
+ },
1225
+ {
1226
+ "name": "last",
1227
+ "prose": "A closing bracket or quote at the end of the last formatted line of an element hangs. This applies to all characters in the Unicode categories Pe, Pf, Pi plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 \" QUOTATION MARK.",
1228
+ "type": "value",
1229
+ "value": "last"
1230
+ },
1231
+ {
1232
+ "name": "force-end",
1233
+ "prose": "A stop or comma at the end of a line hangs.",
1234
+ "type": "value",
1235
+ "value": "force-end"
1236
+ },
1237
+ {
1238
+ "name": "allow-end",
1239
+ "prose": "A stop or comma at the end of a line conditionally hangs.",
1240
+ "type": "value",
1241
+ "value": "allow-end"
1242
+ }
1243
+ ],
481
1244
  "styleDeclaration": [
482
1245
  "hanging-punctuation",
483
1246
  "hangingPunctuation"
484
1247
  ]
485
1248
  }
486
- },
487
- "atrules": {},
488
- "valuespaces": {
489
- "<lang>": {
490
- "prose": "<lang> must be a valid CSS <ident> or <string>. It represents an IETF BCP 47 language range (see [BCP47]). If the UA does not support word-boundary detection for all languages represented by the specified range, that specified value is invalid (and will cause the declaration to be ignored)."
491
- }
492
- }
1249
+ ],
1250
+ "atrules": [],
1251
+ "selectors": [],
1252
+ "values": []
493
1253
  }