- From: Dan Clark <notifications@github.com>
- Date: Tue, 22 Sep 2026 20:46:14 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3ctag/design-reviews/issues/1253/5788610481@github.com>
dandclark left a comment (w3ctag/design-reviews#1253)
Thanks @noamr for posting this. I had some mostly surface-level comments/questions.
- Which aspects of the feature, if any, will function for cross-origin navigations? Is this intended to be a same-origin-only feature like view transitions or are there cross-origin use cases we should be thinking about?
- I think the non-react HTML example in https://github.com/WICG/declarative-partial-updates/blob/main/route-matching-explainer.md#framework-routers is missing have a `spinner` element matching `:active-navigation(to --home) + spinner { opacity: 100%; }`
- Every instance of `@location` shown in the explainer has `base-url: document`. It'd be helpful to show a case where it's useful to set `base-url` to something else. If this is not common, maybe that should be a default rather than something that needs to be specified in every `@location` block.
- In general more examples would be helpful, especially examples of how this will be used together with view transitions.
- In https://github.com/WICG/declarative-partial-updates/blob/main/route-matching-explainer.md#url-matching, the code block has `from`, `to`, `between`, and `at`, but the explanation after has `with` instead of `between`. Which should be used here? The meaning of `between` seems self-explanatory but I'm not sure how `with` or `at` should be used even after reading the explanatory text a few times.
- On https://github.com/WICG/declarative-partial-updates/blob/main/route-matching-explainer.md#navigation-type-matching, what's the difference between `@navigation (history: navigate) { ... }` and `@navigation (history: traverse) { ... }`? In the spec https://drafts.csswg.org/css-navigation-1/#typedef-navigation-type-keyword only has `traverse` so maybe `navigate` shouldn't be there?
- The explainer has some formatting issues for example in https://github.com/WICG/declarative-partial-updates/blob/main/route-matching-explainer.md#link-matching and a few other places where there are literal `###` which I think are meant to be subsection headers.
- Is there a consistent way to define a `@location` rule that always matches "the current URL", outside of a navigation, without hardcoding any paths? That seems like it'd be useful e.g. in tandem with `a:link-to` so that any link that'd trigger a refresh is styled differently.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1253#issuecomment-5788610481
You are receiving this because you are subscribed to this thread.
Message ID: <w3ctag/design-reviews/issues/1253/5788610481@github.com>
Received on Wednesday, 23 September 2026 03:46:18 UTC