@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.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Text Module Level 3",
4
4
  "url": "https://drafts.csswg.org/css-text-3/"
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
- "white-space": {
60
+ {
23
61
  "name": "white-space",
24
62
  "value": "normal | pre | nowrap | pre-wrap | break-spaces | pre-line",
25
63
  "initial": "normal",
@@ -29,12 +67,50 @@
29
67
  "computedValue": "specified keyword",
30
68
  "canonicalOrder": "n/a",
31
69
  "animationType": "discrete",
70
+ "values": [
71
+ {
72
+ "name": "normal",
73
+ "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.",
74
+ "type": "value",
75
+ "value": "normal"
76
+ },
77
+ {
78
+ "name": "pre",
79
+ "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.",
80
+ "type": "value",
81
+ "value": "pre"
82
+ },
83
+ {
84
+ "name": "nowrap",
85
+ "prose": "Like normal, this value collapses white space; but like pre, it does not allow wrapping.",
86
+ "type": "value",
87
+ "value": "nowrap"
88
+ },
89
+ {
90
+ "name": "pre-wrap",
91
+ "prose": "Like pre, this value preserves white space; but like normal, it allows wrapping.",
92
+ "type": "value",
93
+ "value": "pre-wrap"
94
+ },
95
+ {
96
+ "name": "break-spaces",
97
+ "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)",
98
+ "type": "value",
99
+ "value": "break-spaces"
100
+ },
101
+ {
102
+ "name": "pre-line",
103
+ "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.",
104
+ "type": "value",
105
+ "value": "pre-line"
106
+ }
107
+ ],
32
108
  "styleDeclaration": [
33
109
  "white-space",
34
110
  "whiteSpace"
35
111
  ]
36
112
  },
37
- "tab-size": {
113
+ {
38
114
  "name": "tab-size",
39
115
  "value": "<number> | <length>",
40
116
  "initial": "8",
@@ -49,7 +125,7 @@
49
125
  "tabSize"
50
126
  ]
51
127
  },
52
- "word-break": {
128
+ {
53
129
  "name": "word-break",
54
130
  "value": "normal | keep-all | break-all | break-word",
55
131
  "initial": "normal",
@@ -59,12 +135,38 @@
59
135
  "computedValue": "specified keyword",
60
136
  "canonicalOrder": "n/a",
61
137
  "animationType": "discrete",
138
+ "values": [
139
+ {
140
+ "name": "normal",
141
+ "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.",
142
+ "type": "value",
143
+ "value": "normal"
144
+ },
145
+ {
146
+ "name": "break-all",
147
+ "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.",
148
+ "type": "value",
149
+ "value": "break-all"
150
+ },
151
+ {
152
+ "name": "keep-all",
153
+ "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.",
154
+ "type": "value",
155
+ "value": "keep-all"
156
+ },
157
+ {
158
+ "name": "break-word",
159
+ "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.",
160
+ "type": "value",
161
+ "value": "break-word"
162
+ }
163
+ ],
62
164
  "styleDeclaration": [
63
165
  "word-break",
64
166
  "wordBreak"
65
167
  ]
66
168
  },
67
- "line-break": {
169
+ {
68
170
  "name": "line-break",
69
171
  "value": "auto | loose | normal | strict | anywhere",
70
172
  "initial": "auto",
@@ -74,12 +176,44 @@
74
176
  "computedValue": "specified keyword",
75
177
  "canonicalOrder": "n/a",
76
178
  "animationType": "discrete",
179
+ "values": [
180
+ {
181
+ "name": "auto",
182
+ "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.",
183
+ "type": "value",
184
+ "value": "auto"
185
+ },
186
+ {
187
+ "name": "loose",
188
+ "prose": "Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.",
189
+ "type": "value",
190
+ "value": "loose"
191
+ },
192
+ {
193
+ "name": "normal",
194
+ "prose": "Breaks text using the most common set of line-breaking rules.",
195
+ "type": "value",
196
+ "value": "normal"
197
+ },
198
+ {
199
+ "name": "strict",
200
+ "prose": "Breaks text using the most stringent set of line-breaking rules.",
201
+ "type": "value",
202
+ "value": "strict"
203
+ },
204
+ {
205
+ "name": "anywhere",
206
+ "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.",
207
+ "type": "value",
208
+ "value": "anywhere"
209
+ }
210
+ ],
77
211
  "styleDeclaration": [
78
212
  "line-break",
79
213
  "lineBreak"
80
214
  ]
81
215
  },
82
- "hyphens": {
216
+ {
83
217
  "name": "hyphens",
84
218
  "value": "none | manual | auto",
85
219
  "initial": "manual",
@@ -89,11 +223,31 @@
89
223
  "computedValue": "specified keyword",
90
224
  "canonicalOrder": "n/a",
91
225
  "animationType": "discrete",
226
+ "values": [
227
+ {
228
+ "name": "none",
229
+ "prose": "Words are not hyphenated, even if characters inside the word explicitly define hyphenation opportunities.",
230
+ "type": "value",
231
+ "value": "none"
232
+ },
233
+ {
234
+ "name": "manual",
235
+ "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",
236
+ "type": "value",
237
+ "value": "manual"
238
+ },
239
+ {
240
+ "name": "auto",
241
+ "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.",
242
+ "type": "value",
243
+ "value": "auto"
244
+ }
245
+ ],
92
246
  "styleDeclaration": [
93
247
  "hyphens"
94
248
  ]
95
249
  },
96
- "overflow-wrap": {
250
+ {
97
251
  "name": "overflow-wrap",
98
252
  "value": "normal | break-word | anywhere",
99
253
  "initial": "normal",
@@ -103,12 +257,32 @@
103
257
  "computedValue": "specified keyword",
104
258
  "canonicalOrder": "n/a",
105
259
  "animationType": "discrete",
260
+ "values": [
261
+ {
262
+ "name": "normal",
263
+ "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.",
264
+ "type": "value",
265
+ "value": "normal"
266
+ },
267
+ {
268
+ "name": "anywhere",
269
+ "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.",
270
+ "type": "value",
271
+ "value": "anywhere"
272
+ },
273
+ {
274
+ "name": "break-word",
275
+ "prose": "As for anywhere except that soft wrap opportunities introduced by break-word are not considered when calculating min-content intrinsic sizes.",
276
+ "type": "value",
277
+ "value": "break-word"
278
+ }
279
+ ],
106
280
  "styleDeclaration": [
107
281
  "overflow-wrap",
108
282
  "overflowWrap"
109
283
  ]
110
284
  },
111
- "word-wrap": {
285
+ {
112
286
  "name": "word-wrap",
113
287
  "value": "normal | break-word | anywhere",
114
288
  "initial": "normal",
@@ -123,7 +297,7 @@
123
297
  "wordWrap"
124
298
  ]
125
299
  },
126
- "text-align": {
300
+ {
127
301
  "name": "text-align",
128
302
  "value": "start | end | left | right | center | justify | match-parent | justify-all",
129
303
  "initial": "start",
@@ -133,12 +307,62 @@
133
307
  "computedValue": "see individual properties",
134
308
  "animationType": "discrete",
135
309
  "canonicalOrder": "n/a",
310
+ "values": [
311
+ {
312
+ "name": "start",
313
+ "prose": "Inline-level content is aligned to the start edge of the line box.",
314
+ "type": "value",
315
+ "value": "start"
316
+ },
317
+ {
318
+ "name": "end",
319
+ "prose": "Inline-level content is aligned to the end edge of the line box.",
320
+ "type": "value",
321
+ "value": "end"
322
+ },
323
+ {
324
+ "name": "left",
325
+ "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]",
326
+ "type": "value",
327
+ "value": "left"
328
+ },
329
+ {
330
+ "name": "right",
331
+ "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]",
332
+ "type": "value",
333
+ "value": "right"
334
+ },
335
+ {
336
+ "name": "center",
337
+ "prose": "Inline-level content is centered within the line box.",
338
+ "type": "value",
339
+ "value": "center"
340
+ },
341
+ {
342
+ "name": "justify",
343
+ "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.",
344
+ "type": "value",
345
+ "value": "justify"
346
+ },
347
+ {
348
+ "name": "justify-all",
349
+ "prose": "Sets both text-align-all and text-align-last to justify, forcing the last line to justify as well.",
350
+ "type": "value",
351
+ "value": "justify-all"
352
+ },
353
+ {
354
+ "name": "match-parent",
355
+ "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.",
356
+ "type": "value",
357
+ "value": "match-parent"
358
+ }
359
+ ],
136
360
  "styleDeclaration": [
137
361
  "text-align",
138
362
  "textAlign"
139
363
  ]
140
364
  },
141
- "text-align-all": {
365
+ {
142
366
  "name": "text-align-all",
143
367
  "value": "start | end | left | right | center | justify | match-parent",
144
368
  "initial": "start",
@@ -153,7 +377,7 @@
153
377
  "textAlignAll"
154
378
  ]
155
379
  },
156
- "text-align-last": {
380
+ {
157
381
  "name": "text-align-last",
158
382
  "value": "auto | start | end | left | right | center | justify | match-parent",
159
383
  "initial": "auto",
@@ -163,12 +387,20 @@
163
387
  "computedValue": "specified keyword",
164
388
  "canonicalOrder": "n/a",
165
389
  "animationType": "discrete",
390
+ "values": [
391
+ {
392
+ "name": "auto",
393
+ "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.",
394
+ "type": "value",
395
+ "value": "auto"
396
+ }
397
+ ],
166
398
  "styleDeclaration": [
167
399
  "text-align-last",
168
400
  "textAlignLast"
169
401
  ]
170
402
  },
171
- "text-justify": {
403
+ {
172
404
  "name": "text-justify",
173
405
  "value": "auto | none | inter-word | inter-character",
174
406
  "initial": "auto",
@@ -178,12 +410,44 @@
178
410
  "computedValue": "specified keyword (except for the distribute legacy value)",
179
411
  "canonicalOrder": "n/a",
180
412
  "animationType": "discrete",
413
+ "values": [
414
+ {
415
+ "name": "auto",
416
+ "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.",
417
+ "type": "value",
418
+ "value": "auto"
419
+ },
420
+ {
421
+ "name": "none",
422
+ "prose": "Justification is disabled: there are no justification opportunities within the text. Mixed-script text with text-justify: none",
423
+ "type": "value",
424
+ "value": "none"
425
+ },
426
+ {
427
+ "name": "inter-word",
428
+ "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",
429
+ "type": "value",
430
+ "value": "inter-word"
431
+ },
432
+ {
433
+ "name": "inter-character",
434
+ "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.",
435
+ "type": "value",
436
+ "value": "inter-character"
437
+ },
438
+ {
439
+ "name": "distribute",
440
+ "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.",
441
+ "type": "value",
442
+ "value": "distribute"
443
+ }
444
+ ],
181
445
  "styleDeclaration": [
182
446
  "text-justify",
183
447
  "textJustify"
184
448
  ]
185
449
  },
186
- "word-spacing": {
450
+ {
187
451
  "name": "word-spacing",
188
452
  "value": "normal | <length>",
189
453
  "initial": "normal",
@@ -193,12 +457,26 @@
193
457
  "computedValue": "an absolute length",
194
458
  "canonicalOrder": "n/a",
195
459
  "animationType": "by computed value type",
460
+ "values": [
461
+ {
462
+ "name": "normal",
463
+ "prose": "No additional spacing is applied. Computes to zero.",
464
+ "type": "value",
465
+ "value": "normal"
466
+ },
467
+ {
468
+ "name": "<length>",
469
+ "prose": "Specifies extra spacing in addition to the intrinsic inter-word spacing defined by the font.",
470
+ "type": "value",
471
+ "value": "<length>"
472
+ }
473
+ ],
196
474
  "styleDeclaration": [
197
475
  "word-spacing",
198
476
  "wordSpacing"
199
477
  ]
200
478
  },
201
- "letter-spacing": {
479
+ {
202
480
  "name": "letter-spacing",
203
481
  "value": "normal | <length>",
204
482
  "initial": "normal",
@@ -208,12 +486,26 @@
208
486
  "computedValue": "an absolute length",
209
487
  "canonicalOrder": "n/a",
210
488
  "animationType": "by computed value type",
489
+ "values": [
490
+ {
491
+ "name": "normal",
492
+ "prose": "No additional spacing is applied. Computes to zero.",
493
+ "type": "value",
494
+ "value": "normal"
495
+ },
496
+ {
497
+ "name": "<length>",
498
+ "prose": "Specifies additional spacing between typographic character units. Values may be negative, but there may be implementation-dependent limits.",
499
+ "type": "value",
500
+ "value": "<length>"
501
+ }
502
+ ],
211
503
  "styleDeclaration": [
212
504
  "letter-spacing",
213
505
  "letterSpacing"
214
506
  ]
215
507
  },
216
- "text-indent": {
508
+ {
217
509
  "name": "text-indent",
218
510
  "value": "[ <length-percentage> ] && hanging? && each-line?",
219
511
  "initial": "0",
@@ -223,12 +515,38 @@
223
515
  "computedValue": "computed <length-percentage> value, plus any specified keywords",
224
516
  "canonicalOrder": "per grammar",
225
517
  "animationType": "by computed value type",
518
+ "values": [
519
+ {
520
+ "name": "<length>",
521
+ "prose": "Gives the amount of the indent as an absolute length.",
522
+ "type": "value",
523
+ "value": "<length>"
524
+ },
525
+ {
526
+ "name": "<percentage>",
527
+ "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.",
528
+ "type": "value",
529
+ "value": "<percentage>"
530
+ },
531
+ {
532
+ "name": "each-line",
533
+ "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).",
534
+ "type": "value",
535
+ "value": "each-line"
536
+ },
537
+ {
538
+ "name": "hanging",
539
+ "prose": "Inverts which lines are affected.",
540
+ "type": "value",
541
+ "value": "hanging"
542
+ }
543
+ ],
226
544
  "styleDeclaration": [
227
545
  "text-indent",
228
546
  "textIndent"
229
547
  ]
230
548
  },
231
- "hanging-punctuation": {
549
+ {
232
550
  "name": "hanging-punctuation",
233
551
  "value": "none | [ first || [ force-end | allow-end ] || last ]",
234
552
  "initial": "none",
@@ -238,12 +556,45 @@
238
556
  "computedValue": "specified keyword(s)",
239
557
  "canonicalOrder": "per grammar",
240
558
  "animationType": "discrete",
559
+ "values": [
560
+ {
561
+ "name": "none",
562
+ "prose": "No punctuation character is made to hang.",
563
+ "type": "value",
564
+ "value": "none"
565
+ },
566
+ {
567
+ "name": "first",
568
+ "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.",
569
+ "type": "value",
570
+ "value": "first"
571
+ },
572
+ {
573
+ "name": "last",
574
+ "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.",
575
+ "type": "value",
576
+ "value": "last"
577
+ },
578
+ {
579
+ "name": "force-end",
580
+ "prose": "A stop or comma at the end of a line hangs.",
581
+ "type": "value",
582
+ "value": "force-end"
583
+ },
584
+ {
585
+ "name": "allow-end",
586
+ "prose": "A stop or comma at the end of a line conditionally hangs.",
587
+ "type": "value",
588
+ "value": "allow-end"
589
+ }
590
+ ],
241
591
  "styleDeclaration": [
242
592
  "hanging-punctuation",
243
593
  "hangingPunctuation"
244
594
  ]
245
595
  }
246
- },
247
- "atrules": {},
248
- "valuespaces": {}
596
+ ],
597
+ "atrules": [],
598
+ "selectors": [],
599
+ "values": []
249
600
  }