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
14 changes: 14 additions & 0 deletions css-typed-om/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,19 @@ The <dfn attribute for=CSSUnparsedValue>length</dfn> attribute indicates how man

The <dfn for=CSSUnparsedValue>indexed getter</dfn> retrieves the string fragment or variable reference at the provided index.

<div algorithm="CSSVariableReferenceValue.variable">
The <dfn attribute for=CSSVariableReferenceValue>variable</dfn> attribute
of a {{CSSVariableReferenceValue}} |this| must, on setting a
variable |variable|, perform the following steps:

1. If |variable| is not a [=custom property name string=],
[=throw=] a {{TypeError}},
and exit this algorithm.

2. Otherwise, set |this|’s {{CSSVariableReferenceValue/variable}} internal slot
to |variable|.
</div>

<div algorithm>
The <dfn constructor for=CSSVariableReferenceValue>CSSVariableReferenceValue(|variable|, |fallback|)</dfn> constructor must,
when called,
Expand All @@ -574,6 +587,7 @@ The <dfn for=CSSUnparsedValue>indexed getter</dfn> retrieves the string fragment
or `null` otherwise.
</div>


<!--
██ ██ ████████ ██ ██ ██ ██ ███████ ████████ ████████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
Expand Down