Skip to content

Commit 90a89f1

Browse files
authored
[css-shapes][editorial] Define production rule for <basic-shape> (#9727)
1 parent 9b703d7 commit 90a89f1

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

css-shapes-1/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,11 @@ Basic Shapes</h2>
329329

330330
The <dfn>&lt;basic-shape&gt;</dfn> type
331331
can be specified using basic shape functions.
332+
333+
<pre class=prod>
334+
<<basic-shape>> = <<basic-shape-rect>> | <<circle()>> | <<ellipse()>> | <<polygon()>> | <<path()>>
335+
</pre>
336+
332337
When using this syntax
333338
to define shapes,
334339
the <dfn for="<basic-shape>" export>reference box</dfn> is defined
@@ -460,7 +465,7 @@ Supported Shapes</h3>
460465
shape-functions/xywh-function-valid.html
461466
</wpt>
462467

463-
<dt><dfn>rect()</dfn> =
468+
<dt><dfn>rect()</dfn>
464469
<dd>
465470
Defines a rectangle
466471
via insets from the top and left edges of the [=reference box=].

css-shapes-2/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ Basic Shapes</h2>
125125
<a href="https://www.w3.org/TR/css-shapes/#basic-shape-functions">level 1</a>
126126
section.
127127

128+
This level extends the <<basic-shape>> functions
129+
to include ''shape()'':
130+
131+
<pre class=prod>
132+
<<basic-shape>> = <<basic-shape-rect>> | <<circle()>> | <<ellipse()>> | <<polygon()>> | <<path()>> | <<shape()>>
133+
</pre>
134+
128135
<h3 id="supported-basic-shapes">
129136
Supported Shapes</h3>
130137

0 commit comments

Comments
 (0)