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-images-4] Allow a single color stop with two positions #10077

Closed
wants to merge 3 commits into from
Closed
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
6 changes: 3 additions & 3 deletions css-images-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1828,18 +1828,18 @@ Color Stop Lists</h4>

<a>Color stops</a> and [=transition hints=] are specified
in a <dfn export>color stop list</dfn>,
which is a list of two or more [=color stops=]
which is a list of one or more [=color stops=]
interleaved with optional [=transition hints=]:

<pre class=prod>
<dfn>&lt;color-stop-list></dfn> =
<<linear-color-stop>> , [ <<linear-color-hint>>? , <<linear-color-stop>> ]#
<<linear-color-stop>> , [ <<linear-color-hint>>? , <<linear-color-stop>> ]#?
<dfn>&lt;linear-color-stop></dfn> = <<color>> <<color-stop-length>>?
<dfn>&lt;linear-color-hint></dfn> = <<length-percentage>>
<dfn>&lt;color-stop-length></dfn> = <<length-percentage>>{1,2}

<dfn>&lt;angular-color-stop-list></dfn> =
<<angular-color-stop>> , [ <<angular-color-hint>>? , <<angular-color-stop>> ]#
<<angular-color-stop>> , [ <<angular-color-hint>>? , <<angular-color-stop>> ]#?
<dfn>&lt;angular-color-stop></dfn> = <<color>> <<color-stop-angle>>?
<dfn>&lt;angular-color-hint></dfn> = <<angle-percentage>>
<dfn>&lt;color-stop-angle></dfn> = <<angle-percentage>>{1,2}
Expand Down