Skip to content

Commit e7f9e68

Browse files
committed
[css-values-5][editorial] markup fixes
1 parent bde1a66 commit e7f9e68

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

css-values-5/Overview.bs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Boolean Expression Multiplier <<boolean-expr[]>></h3>
224224
specify conditions,
225225
and allow combining those conditions with boolean logic (and/or/not/grouping).
226226
Because they use the same non-trivial recursive syntax structure,
227-
the special <dfn type><<boolean-expr[]>></dfn> production represents this pattern generically.
227+
the special <dfn type><<boolean-expr>></dfn> production represents this pattern generically.
228228

229229
The <<boolean-expr[]>> notation wraps another value type in the square brackets within it,
230230
e.g. &lt;boolean[ &lt;test&gt; ]&gt;,
@@ -376,7 +376,7 @@ since parse results might be ambiguous
376376
and need further massaging.
377377

378378
To avoid these issues and get a well-defined result,
379-
use [=parse with a &lt;syntax>=]:
379+
use [=parse with a <syntax>=]:
380380

381381
<div algorithm>
382382
To <dfn export>parse with a <<syntax>></dfn>
@@ -419,7 +419,7 @@ the invoking algorithm will need to handle that on its own.
419419

420420

421421
<h2 id="level-4-extensions">
422-
Extensions to Level 4 Value Types</h3>
422+
Extensions to Level 4 Value Types</h2>
423423

424424
See <a href="https://www.w3.org/TR/css-values-4/">CSS Values and Units Level 4</a>.
425425

@@ -632,7 +632,7 @@ Request URL Modifiers</h4>
632632
<figcaption>
633633
Diagram of the meaning of ''background-position: 75% 50%''.
634634
</figcaption>
635-
</div>
635+
</figure>
636636
</div>
637637

638638
<dt><dfn>top</dfn>
@@ -652,7 +652,7 @@ Request URL Modifiers</h4>
652652
<dd>
653653
Computes the same as the physical edge keyword
654654
corresponding to the [=start=]/[=end=] side
655-
in the [=y-axis|y/[=x-axis|x=] axis.
655+
in the [=y-axis|y=]/[=x-axis|x=] axis.
656656

657657
<dt><dfn>block-start</dfn>
658658
<dt><dfn>block-end</dfn>
@@ -947,7 +947,7 @@ Mixing and Interpolation Notations: the *-mix() family</h2>
947947
These [=functional notations=] follow the syntactic pattern:
948948

949949
<pre class=prod>
950-
<var>mix-function</var>() = <var>mix-function</var>( <<progress>>, [=mix start value|start-value=], [=mix end value|end-value=] )
950+
<var>mix-function</var>() = <var>mix-function</var>( <<progress>>, <l>[=mix start value|start-value=]</l>, <l>[=mix end value|end-value=]</l> )
951951
</pre>
952952

953953
The [=mix notations=] in CSS include:
@@ -1645,7 +1645,7 @@ Ian's proposal:
16451645
and those functions are syntactically valid,
16461646
the entire property's grammar must be assumed to be valid at parse time.
16471647
It is only syntax-checked at computed-value time,
1648-
after ''attr()'' functions have been [=substitute an attr()|substituted=].
1648+
after ''attr()'' functions have been [=arbitrary substitution|substituted=].
16491649

16501650
<div class='note'>
16511651
Note that the default value need not be of the type given.
@@ -1717,7 +1717,7 @@ Attribute Value Substitution: the ''attr()'' notation</h4>
17171717

17181718
Note: No parsing or modification of any kind is performed on the value.
17191719

1720-
4. [=Parse with a &lt;syntax>=] |attr value|, with |syntax| and |el|.
1720+
4. [=Parse with a <syntax>=] |attr value|, with |syntax| and |el|.
17211721
Return the result and |fallback|.
17221722
</div>
17231723

@@ -1800,7 +1800,7 @@ Cycles</h4>
18001800

18011801
An attribute value may contain ''attr()'' functions,
18021802
or other [=arbitrary substitution functions=],
1803-
that are substituted during [=parse with a &lt;syntax>=].
1803+
that are substituted during [=parse with a <syntax>=].
18041804
This can cause cyclic dependecies,
18051805
either by an attribute referring to itself,
18061806
through multiple attributes referring to each other,
@@ -1877,7 +1877,7 @@ Constructing <<custom-ident>> values: the ''ident()'' function</h3>
18771877
and can be used to manually construct <<custom-ident>> values from several parts.
18781878

18791879
<pre class=prod>
1880-
<dfn function lt="ident()"><<ident()>></dfn> = ident( <<ident-arg>>+ )
1880+
<<ident()>> = ident( <<ident-arg>>+ )
18811881
<dfn><<ident-arg>></dfn> = <<string>> | <<integer>> | <<ident>>
18821882
</pre>
18831883

@@ -2448,7 +2448,7 @@ Tree Counting Functions: the ''sibling-count()'' and ''sibling-index()'' notatio
24482448
operate on the [=flat tree=].
24492449

24502450
Note: These functions may, in the future,
2451-
be extended to accept an ''of <<selector>>'' argument,
2451+
be extended to accept an ''of <<complex-real-selector-list>>'' argument,
24522452
similar to '':nth-child()'',
24532453
to filter on a subset of the children.
24542454

0 commit comments

Comments
 (0)