Skip to content

Commit 095c472

Browse files
committed
[css-borders-4][editorial] Fix Bikeshed issues
1 parent ea83cc0 commit 095c472

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

css-borders-4/Overview.bs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ Line Thickness: the 'border-width' properties</h3>
379379
i.e. the <dfn export id="border-width-dfn">border width</dfn>.
380380
Where
381381

382-
<pre class=prod><dfn><<line-width>></dfn> = <<length [0,&infin;]>> | thin | medium | thick</pre>
382+
<pre class=prod><dfn><<line-width>></dfn> = <<length [0,]>> | thin | medium | thick</pre>
383383

384384
<p dfn-type=value dfn-for="<line-width>, border-width, border-top-width, border-left-width, border-bottom-width, border-right-width, border">
385385
Negative values are invalid.
@@ -865,8 +865,8 @@ Corner Sizing: the 'border-*-*-radius' properties</h3>
865865

866866
<pre class="prod">
867867
<dfn><<border-radius>></dfn> = <<slash-separated-border-radius-syntax>> | <<legacy-border-radius-syntax>>
868-
<dfn><<slash-separated-border-radius-syntax>></dfn> = <<length-percentage [0,&infin;]>> [ / <<length-percentage [0,&infin;]>> ]?
869-
<dfn><<legacy-border-radius-syntax>></dfn> = <<length-percentage [0,&infin;]>>{1,2}
868+
<dfn><<slash-separated-border-radius-syntax>></dfn> = <<length-percentage [0,]>> [ / <<length-percentage [0,]>> ]?
869+
<dfn><<legacy-border-radius-syntax>></dfn> = <<length-percentage [0,]>>{1,2}
870870
</pre>
871871

872872
The two <<length-percentage>> values of the 'border-*-radius' properties
@@ -936,7 +936,7 @@ The 'border-top-radius', 'border-right-radius',
936936
<pre class="propdef shorthand">
937937
Name: border-top-radius, border-right-radius, border-bottom-radius, border-left-radius,
938938
border-block-start-radius, border-block-end-radius, border-inline-start-radius, border-inline-end-radius
939-
Value: <<length-percentage [0,&infin;]>>{1,2} [ / <<length-percentage [0,&infin;]>>{1,2} ]?
939+
Value: <<length-percentage [0,]>>{1,2} [ / <<length-percentage [0,]>>{1,2} ]?
940940
Initial: 0
941941
Applies to: all elements (but see prose)
942942
Inherited: no
@@ -1057,7 +1057,7 @@ The 'border-radius' shorthand</h4>
10571057

10581058
<pre class="propdef shorthand">
10591059
Name: border-radius
1060-
Value: <<length-percentage [0,&infin;]>>{1,4} [ / <<length-percentage [0,&infin;]>>{1,4} ]?
1060+
Value: <<length-percentage [0,]>>{1,4} [ / <<length-percentage [0,]>>{1,4} ]?
10611061
</pre>
10621062

10631063
The 'border-radius' shorthand sets all four 'border-*-radius' properties.
@@ -1521,13 +1521,13 @@ To compute an [=/element=] |element|'s <dfn>border contour path</dfn> given an [
15211521
To <dfn>add corner to path</dfn> given a path |path|, a rectangle |cornerRect|, a rectangle |trimRect|,
15221522
and numbers |orientation|, |startThickness|, |endThickness|, |curvature|:
15231523

1524-
1. If |cornerRect| is empty, or if |curvature| is &infin;:
1524+
1. If |cornerRect| is empty, or if |curvature| is :
15251525
1. Let |innerQuad| be |trimRect|'s [=clockwise quad=] .
15261526
1. Extend |path| by drawing a line to |innerQuad|[<code>(|orienation| + 1) % 4</code>].
15271527
1. Return.
15281528

15291529
1. Let |cornerQuad| be |cornerRect|'s [=clockwise quad=].
1530-
1. If |curvature| is -&infin;:
1530+
1. If |curvature| is -:
15311531
1. Extend |path| by drawing a line from |cornerQuad|[0] to |cornerQuad|[3], trimmed by |trimRect|.
15321532
1. Extend |path| by drawing a line from |cornerQuad|[3] to |cornerQuad|[2], trimmed by |trimRect|.
15331533
1. Return.
@@ -1626,10 +1626,10 @@ To balance that, the <dfn>superellipse interpolation</dfn> formula describes how
16261626
To compute the <dfn>normalized superellipse half corner</dfn> given a [=superellipse parameter=] |s|, return the first matching statement, switching on |s|:
16271627

16281628
<dl class=switch>
1629-
: -&infin;
1629+
: -
16301630
:: Return 0.
16311631

1632-
: &infin;
1632+
:
16331633
:: Return 1.
16341634

16351635
: Otherwise
@@ -1663,13 +1663,13 @@ To interpolate a [=superellipse parameter=] |s| to an interpolation value betwee
16631663

16641664
<dl class=switch>
16651665
: 0
1666-
:: Return -&infin;.
1666+
:: Return -.
16671667

16681668
: 0.5
16691669
:: Return 0.
16701670

16711671
: 1
1672-
:: Return &infin;.
1672+
:: Return .
16731673

16741674
: Otherwise
16751675
::
@@ -1846,7 +1846,7 @@ Image Slicing: the 'border-image-slice' property</h3>
18461846

18471847
<pre class="propdef">
18481848
Name: border-image-slice
1849-
Value: [<<number [0,&infin;]>> | <<percentage [0,&infin;]>>]{1,4} &amp;&amp; fill?
1849+
Value: [<<number [0,]>> | <<percentage [0,]>>]{1,4} &amp;&amp; fill?
18501850
Initial: 100%
18511851
Applies to: All elements, except internal table elements when 'border-collapse' is ''border-collapse/collapse''
18521852
Inherited: no
@@ -1897,13 +1897,13 @@ Image Slicing: the 'border-image-slice' property</h3>
18971897
they apply to the top, right, bottom, and left, respectively.
18981898

18991899
<dl dfn-for=border-image-slice dfn-type=value>
1900-
<dt><dfn><<percentage [0,&infin;]>></dfn>
1900+
<dt><dfn><<percentage [0,]>></dfn>
19011901
<dd>
19021902
Percentages are relative to the size of the image:
19031903
the width of the image for the horizontal offsets,
19041904
the height for vertical offsets.
19051905

1906-
<dt><dfn><<number [0,&infin;]>></dfn>
1906+
<dt><dfn><<number [0,]>></dfn>
19071907
<dd>
19081908
Numbers represent pixels in the image
19091909
(if the image is a raster image)
@@ -1948,7 +1948,7 @@ Drawing Areas: the 'border-image-width' property</h3>
19481948

19491949
<pre class="propdef">
19501950
Name: border-image-width
1951-
Value: [ <<length-percentage [0,&infin;]>> | <<number [0,&infin;]>> | auto ]{1,4}
1951+
Value: [ <<length-percentage [0,]>> | <<number [0,]>> | auto ]{1,4}
19521952
Initial: 1
19531953
Applies to: All elements,
19541954
except internal table elements when 'border-collapse' is ''border-collapse/collapse''
@@ -1999,13 +1999,13 @@ Drawing Areas: the 'border-image-width' property</h3>
19991999
Values have the following meanings:
20002000

20012001
<dl dfn-for=border-image-width dfn-type=value>
2002-
<dt><dfn><<length-percentage [0,&infin;]>></dfn>
2002+
<dt><dfn><<length-percentage [0,]>></dfn>
20032003
<dd>
20042004
Percentages refer to the size of the [=border image area=]:
20052005
the width of the area for horizontal offsets,
20062006
the height for vertical offsets.
20072007

2008-
<dt><dfn><<number [0,&infin;]>></dfn>
2008+
<dt><dfn><<number [0,]>></dfn>
20092009
<dd>
20102010
Numbers represent multiples of the corresponding computed
20112011
<a href="#border-width">border-width</a>.
@@ -2042,7 +2042,7 @@ Edge Overhang: the 'border-image-outset' property</h3>
20422042

20432043
<pre class="propdef">
20442044
Name: border-image-outset
2045-
Value: [ <<length [0,&infin;]>> | <<number [0,&infin;]>> ]{1,4}
2045+
Value: [ <<length [0,]>> | <<number [0,]>> ]{1,4}
20462046
Initial: 0
20472047
Applies to: All elements, except internal table elements when 'border-collapse' is ''border-collapse/collapse''
20482048
Inherited: no
@@ -2076,11 +2076,11 @@ Edge Overhang: the 'border-image-outset' property</h3>
20762076
they apply to the top, right, bottom, and left, respectively.
20772077

20782078
<dl dfn-for=border-image-outset dfn-type=value>
2079-
<dt><<length [0,&infin;]>>
2079+
<dt><<length [0,]>>
20802080
<dd>
20812081
Represents an outset of the specified length.
20822082

2083-
<dt><<number [0,&infin;]>>
2083+
<dt><<number [0,]>>
20842084
<dd>
20852085
Represents an outset of the specified multiple of
20862086
the corresponding computed <a href="#border-width">border-width</a>.
@@ -2361,8 +2361,8 @@ Partial Borders: the 'border-limit' property</h3>
23612361

23622362
<pre class="propdef">
23632363
Name: border-limit
2364-
Value: all | [ sides | corners ] <<length-percentage [0,&infin;]>>?
2365-
| [ top | right | bottom | left ] <<length-percentage [0,&infin;]>>
2364+
Value: all | [ sides | corners ] <<length-percentage [0,]>>?
2365+
| [ top | right | bottom | left ] <<length-percentage [0,]>>
23662366
Initial: all
23672367
Applies to: all elements, except table element when 'border-collapse' is ''collapse''
23682368
Inherited: no
@@ -2464,7 +2464,7 @@ The 'border-clip' properties</h3>
24642464
<pre class="propdef">
24652465
Name: border-top-clip, border-right-clip, border-bottom-clip, border-left-clip,
24662466
border-block-start-clip, border-block-end-clip, border-inline-start-clip, border-inline-end-clip
2467-
Value: none | [ <<length-percentage [0,&infin;]>> | <<flex>> ]+
2467+
Value: none | [ <<length-percentage [0,]>> | <<flex>> ]+
24682468
Initial: none
24692469
Inherited: no
24702470
Logical property group: border-clip
@@ -2796,7 +2796,7 @@ Blurring shadows: the 'box-shadow-blur' property</h3>
27962796

27972797
<pre class="propdef">
27982798
Name: box-shadow-blur
2799-
Value: <<length [0,&infin;]>>#
2799+
Value: <<length [0,]>>#
28002800
Initial: 0
28012801
Applies to: all elements
28022802
Inherited: no

0 commit comments

Comments
 (0)