Re: [csswg-drafts] [css-navigation-1] Simplify `@navigation` matching between two pages, regardless of direction (#13199)

The CSS Working Group just discussed ``[css-navigation-1] Simplify `@navigation` matching between two pages, regardless of direction``, and agreed to the following:

* `RESOLVED: Add between with space-separated arguments`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> bramus: This issue is about @navigation matching regardless of direction<br>
&lt;emilio> bramus: this about @navigation matching between two pages regardless of direction<br>
&lt;fantasai> bramus: Currently you can say @navigation (from: a) (to:b), but often want opposite directions.<br>
&lt;noamr> q+<br>
&lt;fantasai> bramus: Proposal is to add a new keyword "between"<br>
&lt;astearns> ack emilio<br>
&lt;fantasai> bramus: Then question is, is it comma-separated, space-separated, etc.<br>
&lt;noamr> q-<br>
&lt;emilio> fantasai: shouldn't be comma separated<br>
&lt;astearns> ack fantasai<br>
&lt;emilio> ... space or slash<br>
&lt;emilio> ... but comma seems wrong<br>
&lt;emilio> ChrisL: we use comma to separate alternates<br>
&lt;emilio> ... and this is a to b or b to a<br>
&lt;emilio> fantasai: not really, we use it to separate stacks of things<br>
&lt;TabAtkins> We use it to separate *repetitions* of things, whether they're "stacked" or not<br>
&lt;emilio> ... fonts, counters, etc<br>
&lt;emilio> bramus: space separated seems better<br>
&lt;fantasai> +1 TabAtkins<br>
&lt;TabAtkins> i think it looks reasonable for space-separated here<br>
&lt;fantasai> PROPOSED: Add between with space-separated arguments<br>
&lt;fantasai> RESOLVED: Add between with space-separated arguments<br>
&lt;fantasai> ChrisL: Presumably you can't have all three, right?<br>
&lt;fantasai> bramus: You can combine multiple conditions. And you can use boolean logic, like MQ<br>
&lt;fantasai> bramus: So you could write [...] which will parse but not match<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13199#issuecomment-3812726459 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 January 2026 17:25:21 UTC