Skip to content

Commit 213cac1

Browse files
committed
[css-properties-values-api] Fix heading casing.
1 parent 5f5b80f commit 213cac1

File tree

1 file changed

+29
-17
lines changed

1 file changed

+29
-17
lines changed

css-properties-values-api/Overview.bs

+29-17
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ via two methods:
6868
This specification is complementary to [[css-paint-api-1]] and [[css-layout-api-1]], which
6969
allow custom properties to directly impact paint and layout behaviours respectively.
7070

71-
Registering custom properties {#registering-custom-properties}
71+
Registering Custom Properties {#registering-custom-properties}
7272
==============================================================
7373

7474
<pre class='idl'>
@@ -87,7 +87,7 @@ 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}
90+
The {{PropertyDefinition}} Dictionary {#the-propertydefinition-dictionary}
9191
--------------------------------------------------------------------------
9292

9393
A <dfn dictionary>PropertyDefinition</dfn> dictionary represents author-specified configuration
@@ -106,7 +106,7 @@ following members:
106106
: <dfn dict-member for=PropertyDefinition>initialValue</dfn>
107107
:: The initial value of this custom property.
108108

109-
The {{registerProperty()}} function {#the-registerproperty-function}
109+
The {{registerProperty()}} Function {#the-registerproperty-function}
110110
--------------------------------------------------------------------
111111

112112
The <dfn method for=CSS>registerProperty(PropertyDefinition definition)</dfn> method
@@ -353,7 +353,7 @@ but be automatically [=invalid at computed-value time=].
353353
As ''@supports'' tests parse behavior,
354354
it thus also accepts all values as valid regardless of the registered syntax.
355355

356-
Dependency cycles via relative units {#dependency-cycles}
356+
Dependency Cycles Via Relative Units {#dependency-cycles}
357357
---------------------------------------------------------
358358

359359
Registered custom properties follow the same rules for dependency cycle
@@ -450,7 +450,7 @@ that more closely resemble the full breadth of what CSS properties allow.
450450
The remainder of this chapter describes the internal grammar of the syntax
451451
strings.
452452

453-
Supported names {#supported-names}
453+
Supported Names {#supported-names}
454454
----------------------------------
455455

456456
This section defines the <dfn for=CSS lt="supported syntax component name">supported syntax component names</dfn>, and the
@@ -507,7 +507,7 @@ Note: A syntax string of <code>"*"</code> will produce the
507507
Therefore, <code>"*"</code> may not be [[#multipliers|multiplied]] or
508508
[[#combinator|combined]] with anything else.
509509

510-
The '+' and '#' multipliers {#multipliers}
510+
The '+' and '#' Multipliers {#multipliers}
511511
------------------------------------------
512512

513513
Any <a>syntax component name</a> except
@@ -529,7 +529,7 @@ Any <a>syntax component name</a> except
529529
Note: The multiplier must appear immediately after the <a>syntax component name</a>
530530
being multiplied.
531531

532-
The '|' combinator {#combinator}
532+
The '|' Combinator {#combinator}
533533
--------------------------------
534534

535535
<a>Syntax strings</a> may use U+007C VERTICAL LINE (|) to provide multiple
@@ -550,7 +550,7 @@ while matching the value ''blue'' will parse as a <<color>>.
550550
:: accepts foo, a comma-separated list of color values, or a single integer
551551
</div>
552552

553-
Parsing the syntax string {#parsing-syntax}
553+
Parsing The Syntax String {#parsing-syntax}
554554
-------------------------------------------
555555

556556
### Definitions ### {#parsing-definitions}
@@ -574,7 +574,7 @@ Parsing the syntax string {#parsing-syntax}
574574
: <dfn>universal syntax definition</dfn>
575575
:: A special syntax definition which accepts any valid token stream.
576576

577-
### Consume a syntax definition ### {#consume-syntax-definition}
577+
### Consume a Syntax Definition ### {#consume-syntax-definition}
578578

579579
<div algorithm>
580580
This section describes how to <dfn export>consume a syntax definition</dfn> from a [=string=] |string|.
@@ -614,7 +614,7 @@ Parsing the syntax string {#parsing-syntax}
614614

615615
</div>
616616

617-
### Consume a syntax component ### {#consume-syntax-component}
617+
### Consume a Syntax Component ### {#consume-syntax-component}
618618

619619
<div algorithm>
620620
To <dfn>consume a syntax component</dfn> from a stream of <a>code points</a> |stream|:
@@ -657,7 +657,7 @@ Parsing the syntax string {#parsing-syntax}
657657
Return |component|.
658658
</div>
659659

660-
### Consume a data type name ### {#consume-data-type-name}
660+
### Consume a Data Type Name ### {#consume-data-type-name}
661661

662662
<div algorithm>
663663
To <dfn>consume a data type name</dfn> from a stream of <a>code points</a>:
@@ -765,7 +765,7 @@ to full URLs as described in [[!css3-values]].
765765
</div>
766766

767767

768-
Fallbacks in ''var()'' references {#fallbacks-in-var-references}
768+
Fallbacks In ''var()'' References {#fallbacks-in-var-references}
769769
----------------------------------------------------------------
770770

771771
References to registered custom properties using the ''var()'' function may
@@ -855,7 +855,7 @@ CSSOM {#cssom}
855855
</div>
856856

857857

858-
The <dfn>@property</dfn> rule {#at-property-rule}
858+
The <dfn>@property</dfn> Rule {#at-property-rule}
859859
=================================================
860860

861861
The ''@property'' rule provides an alternative way to register a custom property,
@@ -902,7 +902,7 @@ Note: This might change in the future,
902902
as the behavior of concept-defining at-rules in shadow trees
903903
becomes more consistently defined.
904904

905-
The 'syntax' descriptor {#the-syntax-descriptor}
905+
The 'syntax' Descriptor {#the-syntax-descriptor}
906906
------------------------------------------------
907907

908908
<pre class='descdef'>
@@ -923,7 +923,7 @@ If the provided string does not successfully [=consume a syntax definition|parse
923923
the descriptor is invalid and must be ignored.
924924

925925

926-
The 'inherits' descriptor {#inherits-descriptor}
926+
The 'inherits' Descriptor {#inherits-descriptor}
927927
------------------------------------------------
928928

929929
<pre class='descdef'>
@@ -940,7 +940,7 @@ The inherits descriptor is required for the ''@property'' rule to be valid;
940940
if it's missing, the ''@property'' rule is invalid.
941941

942942

943-
The 'initial-value' descriptor {#initial-value-descriptor}
943+
The 'initial-value' Descriptor {#initial-value-descriptor}
944944
----------------------------------------------------------
945945

946946
<pre class='descdef'>
@@ -968,7 +968,19 @@ the following conditions must be met for the the ''@property'' rule to be valid:
968968

969969
If the above conditions are not met, the ''@property'' rule is invalid.
970970

971-
The <dfn interface>CSSPropertyRule</dfn> interface {#the-css-property-rule-interface}
971+
972+
Extensions to the {{CSSRule}} Interface {#extensions-to-css-rule-interface}
973+
------------------------------------------------------------------------------------
974+
975+
The {{CSSRule}} interface is extended as follows:
976+
977+
<pre class='idl'>
978+
partial interface CSSRule {
979+
const unsigned short PROPERTY_RULE = 18;
980+
};
981+
</pre>
982+
983+
The <dfn interface>CSSPropertyRule</dfn> Interface {#the-css-property-rule-interface}
972984
-----------------------------------------------------------------------------
973985

974986
The {{CSSPropertyRule}} interface represents an ''@property'' rule.

0 commit comments

Comments
 (0)