Skip to content

Conversation

@dbaron
Copy link
Member

@dbaron dbaron commented Nov 26, 2025

This extracts the defintions of current from URL and current to URL from the definition of the @navigation rule, which both allows them to be used more formally in the definition of the ::link-to() pseudo-class and also makes the definitions a bit more readable.

This also cleans up some whitespace in the spec.

This extracts the defintions of current from URL and current to URL from the definition of the @navigation rule, which both allows them to be used more formally in the definition of the ::link-to() pseudo-class and also makes the definitions a bit more readable. This also cleans up some whitespace in the spec.
@dbaron dbaron requested a review from noamr November 26, 2025 16:14
@dbaron dbaron self-assigned this Nov 26, 2025
Copy link
Collaborator

@noamr noamr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should have an editorial review for this soon, probably use more algorithm steps. Some of these if statements with a lot of conditions are a bit hard to read.

But lets move quickly and revisit this as we go along.

@dbaron
Copy link
Member Author

dbaron commented Nov 26, 2025

Yeah, I agree this needs more work -- I had been thinking the next step for this (now that it's better encapsulated in this spec) was to file an HTML issue on how to export the definitions we need so that we're not linking into non-exported terms in HTML.

@dbaron dbaron merged commit 338a423 into w3c:main Nov 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants