Skip to content

Commit 9579c53

Browse files
committed
[css-properties-values] Pull specified-value behavior out of a note to a section of its own, and align the related headings to all use the same structure.
1 parent b7047d3 commit 9579c53

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

css-properties-values-api/Overview.bs

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ the last such one in document order is the registration.
126126
Otherwise there is no registration,
127127
and the [=custom property=] is <em>not</em> a [=registered custom property=].
128128

129-
Parsing Custom Properties {#parsing-custom-properties}
130-
------------------------------------------------------
129+
Parse-Time Behavior {#parsing-custom-properties}
130+
------------------------------------------------
131131

132132
[=Registered custom properties=] parse exactly like unregistered [=custom properties=];
133133
almost anything is allowed.
@@ -182,18 +182,21 @@ See [[#calculation-of-computed-values]].
182182
not a necessity like for UA-defined properties.
183183
</details>
184184

185+
[=Specified Value=]-Time Behavior {#specified-value}
186+
----------------------------------------------------
185187

186-
Calculation of Computed Values {#calculation-of-computed-values}
187-
----------------------------------------------------------------
188+
Just like unregistered [=custom properties=],
189+
all [=registered custom properties=], regardless of registered syntax,
190+
accept the [=CSS-wide keywords=],
191+
such as ''inherit'' or ''revert''.
192+
Their behavior is defined in [[css-cascade-4#defaulting-keywords]].
193+
194+
[=Computed Value=]-Time Behavior {#calculation-of-computed-values}
195+
------------------------------------------------------------------
188196

189197
The [=computed value=] of a [=registered custom property=]
190198
is determined by the syntax of its [=registration=].
191199

192-
Note: All properties, regardless of registered syntax,
193-
accept the [=CSS-wide keywords=],
194-
such as ''inherit'' or ''revert''.
195-
These are handled at [=specified value=] time,
196-
as defined in [[css-cascade-4#defaulting-keywords]].
197200

198201
For <code>"&lt;length>"</code>,
199202
<code>"&lt;length-percentage>"</code>,

0 commit comments

Comments
 (0)