Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-shapes][editorial] Define production rule for <basic-shape> #9727

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion css-shapes-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,11 @@ Basic Shapes</h2>

The <dfn>&lt;basic-shape&gt;</dfn> type
can be specified using basic shape functions.

<pre class=prod>
<<basic-shape>> = <<basic-shape-rect>> | <<circle()>> | <<ellipse()>> | <<polygon()>> | <<path()>>
</pre>

When using this syntax
to define shapes,
the <dfn for="<basic-shape>" export>reference box</dfn> is defined
Expand Down Expand Up @@ -417,7 +422,7 @@ Supported Shapes</h3>
define rounded corners for the inset rectangle
using the 'border-radius' shorthand syntax.

<dt><dfn>rect()</dfn> =
<dt><dfn>rect()</dfn>
<dd>
Defines a rectangle
via insets from the top and left edges of the [=reference box=].
Expand Down
7 changes: 7 additions & 0 deletions css-shapes-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ Basic Shapes</h3>
<a href="https://www.w3.org/TR/css-shapes/#basic-shape-functions">level 1</a>
section.

This level extends the <<basic-shape>> functions
to include ''shape()'':

<pre class=prod>
<<basic-shape>> = <<basic-shape-rect>> | <<circle()>> | <<ellipse()>> | <<polygon()>> | <<path()>> | <<shape()>>
</pre>

<h3 id="supported-basic-shapes">
Supported Shapes</h3>

Expand Down