Skip to content

Commit 842bd98

Browse files
committed
add ISTF vocabularies
1 parent 28b07a9 commit 842bd98

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

readme.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ Do not confuse this format with an AST. It is designed purely for interoperabili
1414

1515
The following are some terms that are used throughout the spec, or are relevant when discussing the spec.
1616

17+
- **ISTF array:** Array containing ISTF Rules
18+
- **ISTF rule:** Subset of ISTF array, containing rule selector and declaration
19+
- **ISTF selector:** Subset of ISTF rule, containing only rule selector
20+
- **ISTF declaration:** Subset of ISTF rule, containing only properties and values
21+
- **ISTF property:** Subset of ISTF rule declaration, containing only property
22+
- **ISTF values:** Subset of ISTF rule declaration, containing only values
1723
- **Markers:** Like nodes in an AST format, these tuples indicate significant literals and values (See [Markers](#markers))
1824
- **References:** References to primitives in the host language, typically known as "interpolations" in tagged template literals in JavaScript
19-
- **ISTF array:** An array of markers representing the CSS input, including references
2025
- **Parsing:** The process of converting the input to an ISTF array
2126
- **Transformation:** The act of changing an ISTF array
2227
- **Runtime:** The user environment wherein ISTF is turned into CSS and rendered
@@ -233,12 +238,12 @@ E.g. `@media all` => `[RULE_START, 4], [CONDITION, 'all']`
233238

234239
`[VALUE_REF, ref]`
235240

236-
Variable `ref` can be ISTF, a string or a function returning any of those. Using ISTF value gives more power to post-processors. Using string value results in better performance.
241+
Variable `ref` can be ISTF values, a string or a function returning any of those. Using ISTF values gives more power to post-processors. Using string value results in better performance.
237242

238243
`border: red, green` =>
239244

240245
```js
241-
// Using ISTF value:
246+
// Using ISTF values:
242247
[PROPERTY, 'border'],
243248
[VALUE_REF, () => [
244249
[VALUE, 'red'],

0 commit comments

Comments
 (0)