Re: [csswg-drafts] Exposing navigation/route matching (#12594)

Some quick questions/feedback:

- I see `<route-with-params>` defined, but it’s not used anywhere in the snippet. Do you have an example?
- I see you’re trying to capture “a route matches” and “a navigation { from x / to y / from x to y }” both under `@route`. Maybe this should be split up into `@route` and `@navigation`?
- I don’t understand the explanation “a matching route is in the element's scope” for the `#some-element:route(<route-query>)` example.
- Shouldn’t `:link(<route-query>)` be `:link([<route-name> || <route-name-with-params>])`?
- I still would like to be able to define routes in just CSS, withou the need for the routemap script.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12594#issuecomment-3250580389 using your GitHub account


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

Received on Wednesday, 3 September 2025 19:57:26 UTC