Skip to content

Allow -n in an-b, allow comments within +n and -n #1498

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

Closed
wants to merge 1 commit 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
14 changes: 7 additions & 7 deletions css-syntax/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2655,23 +2655,23 @@ The <code>&lt;an+b></code> type</h3>
<var>&lt;integer></var> |

<var>&lt;n-dimension></var> |
'+'?<sup><a href="#anb-plus">†</a></sup> n |
['+' | '-']?<sup><a href="#anb-plus">†</a></sup> n |
-n |

<var>&lt;ndashdigit-dimension></var> |
'+'?<sup><a href="#anb-plus">†</a></sup> <var>&lt;ndashdigit-ident></var> |
['+' | '-']?<sup><a href="#anb-plus">†</a></sup> <var>&lt;ndashdigit-ident></var> |
<var>&lt;dashndashdigit-ident></var> |

<var>&lt;n-dimension></var> <var>&lt;signed-integer></var> |
'+'?<sup><a href="#anb-plus">†</a></sup> n <var>&lt;signed-integer></var> |
['+' | '-']?<sup><a href="#anb-plus">†</a></sup> n <var>&lt;signed-integer></var> |
-n <var>&lt;signed-integer></var> |

<var>&lt;ndash-dimension></var> <var>&lt;signless-integer></var> |
'+'?<sup><a href="#anb-plus">†</a></sup> n- <var>&lt;signless-integer></var> |
['+' | '-']?<sup><a href="#anb-plus">†</a></sup> n- <var>&lt;signless-integer></var> |
-n- <var>&lt;signless-integer></var> |

<var>&lt;n-dimension></var> ['+' | '-'] <var>&lt;signless-integer></var>
'+'?<sup><a href="#anb-plus">†</a></sup> n ['+' | '-'] <var>&lt;signless-integer></var> |
['+' | '-']?<sup><a href="#anb-plus">†</a></sup> n ['+' | '-'] <var>&lt;signless-integer></var> |
-n ['+' | '-'] <var>&lt;signless-integer></var>
</pre>

Expand All @@ -2689,9 +2689,9 @@ The <code>&lt;an+b></code> type</h3>
</ul>

<p id="anb-plus">
<sup>†</sup>: When a plus sign (+) precedes an ident starting with "n", as in the cases marked above,
<sup>†</sup>: When a plus sign (+) or a minus sign (-) precedes an ident starting with "n", as in the cases marked above,
there must be no whitespace between the two tokens,
or else the tokens do not match the above grammar.
or else the tokens do not match the above grammar. Comments are allowed between these tokens provided that there is no whitespace.
Whitespace is valid (and ignored) between any other two tokens.

The clauses of the production are interpreted as follows:
Expand Down