- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Tue, 12 Aug 2025 12:43:56 +0000
- To: public-css-archive@w3.org
noamr has just created a new issue for https://github.com/w3c/csswg-drafts: == Exposing navigation/route matching == Following from a past discussion around navigation-matching for view-transitions in #8925, there is an emerging proposal to expose "routes" (URL patterns) directly in the platform, and allow CSS to respond to them. See explainer https://github.com/WICG/declarative-partial-updates?tab=readme-ov-file#part-2-route-matching. The proposal currently is to have a `<script type=routemap>` that gives names to different URL(pattern)s, and then allowing to select them via CSS, for example: ```html <script type=routemap> { "article": "/article/:id" } </script> <style> @route article { section[name=article] { display: block; } } </style> ``` Opening this issue for an introductory presentation at the F2F and see if this kind of direction resonates. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12594 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 12 August 2025 12:43:57 UTC