Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions css-mixins-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,29 @@ with its [=function parameters=] overriding "inherited" custom properties of the
is the [=guaranteed-invalid value=].

* On custom properties,
the [=CSS-wide keywords=] ''initial'' and ''inherit'' have their usual effect;
all other [=CSS-wide keywords=] resolve to the [=guaranteed-invalid value=].
the [=CSS-wide keywords=] have the following effects:

<dl>
<dt>''initial''</dt>
<dd>
Resolves to the initial value of the custom property
within |registrations|.
</dd>

<dt>''inherit''</dt>
<dd>
Resolves like an ''inherit()'' function
with the custom property name as its one and only argument.

Note: This ensures that a [=function parameter=] defaulted to ''inherit''
is reinterpreted using the local [=parameter type=].
</dd>

<dt>any other [=CSS-wide keyword=]</dt>
<dd>
Resolves to the [=guaranteed-invalid value=].
</dd>
</dl>

Note: ''initial'' references the [=custom property registration=]
created from the [=function parameters=],
Expand Down