- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Thu, 08 Jun 2023 13:08:52 +0000
- To: public-css-archive@w3.org
The thing with putting URL pattern in the media-query, is that if your routes change you have to update all of them, and you might have many. Sprinkling navigation routes all around CSS files seems brittle. So by putting them in their own rule we can achieve several things: - The author can put the routes themselves in one place, and the rules that correspond to them all over the place. - The rules can be extended without cluttering media-queries even more. The other parts of this proposal are perhaps what makes it seem complicated for the slides case: - Automatic navigation-matching on link clicks - Having only a "target" rather than from+to I think I'm OK with keeping the rule but spelling-out the to/from both in the rule and in the `startVT` function (in the SPA case) -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8925#issuecomment-1582552656 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 8 June 2023 13:08:54 UTC