Skip to content

Commit f17db8a

Browse files
committed
[css-properties-values-api] Move PropertyDefinition to after the method that uses it, for readability.
1 parent 213cac1 commit f17db8a

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

css-properties-values-api/Overview.bs

+19-19
Original file line numberDiff line numberDiff line change
@@ -87,25 +87,6 @@ partial namespace CSS {
8787
Additional, the {{Document}} object gains a new <dfn attribute for=Window>\[[registeredPropertySet]]</dfn> private slot,
8888
which is a set of records that describe registered custom properties.
8989

90-
The {{PropertyDefinition}} Dictionary {#the-propertydefinition-dictionary}
91-
--------------------------------------------------------------------------
92-
93-
A <dfn dictionary>PropertyDefinition</dfn> dictionary represents author-specified configuration
94-
options for a custom property. {{PropertyDefinition}} dictionaries contain the
95-
following members:
96-
97-
: <dfn dict-member for=PropertyDefinition>name</dfn>
98-
:: The name of the custom property being defined.
99-
100-
: <dfn dict-member for=PropertyDefinition>syntax</dfn>
101-
:: A string representing how this custom property is parsed.
102-
103-
: <dfn dict-member for=PropertyDefinition>inherits</dfn>
104-
:: True if this custom property should inherit down the DOM tree; False otherwise.
105-
106-
: <dfn dict-member for=PropertyDefinition>initialValue</dfn>
107-
:: The initial value of this custom property.
108-
10990
The {{registerProperty()}} Function {#the-registerproperty-function}
11091
--------------------------------------------------------------------
11192

@@ -274,6 +255,25 @@ the property becomes [=invalid at computed-value time=]
274255
and becoming ''inherit''.
275256
</div>
276257

258+
The {{PropertyDefinition}} Dictionary {#the-propertydefinition-dictionary}
259+
--------------------------------------------------------------------------
260+
261+
A <dfn dictionary>PropertyDefinition</dfn> dictionary represents author-specified configuration
262+
options for a custom property. {{PropertyDefinition}} dictionaries contain the
263+
following members:
264+
265+
: <dfn dict-member for=PropertyDefinition>name</dfn>
266+
:: The name of the custom property being defined.
267+
268+
: <dfn dict-member for=PropertyDefinition>syntax</dfn>
269+
:: A string representing how this custom property is parsed.
270+
271+
: <dfn dict-member for=PropertyDefinition>inherits</dfn>
272+
:: True if this custom property should inherit down the DOM tree; False otherwise.
273+
274+
: <dfn dict-member for=PropertyDefinition>initialValue</dfn>
275+
:: The initial value of this custom property.
276+
277277
Calculation of Computed Values {#calculation-of-computed-values}
278278
----------------------------------------------------------------
279279

0 commit comments

Comments
 (0)