Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document rules: skip links which are not being rendered or in skipped contents #289

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

jeremyroman
Copy link
Collaborator

It's hard for the user to interact with these links, and the author may not even intend them to be part of the document's palpable content.

In at least Chromium (and likely other implementations), these are also elements where the author is trying to skip work related to selector matching etc, which makes selector_matches applying to them particularly problematic. Better to ignore them altogether.

Fixes #246.

… contents

It's hard for the user to interact with these links, and the author may
not even intend them to be part of the document's palpable content.

In at least Chromium (and likely other implementations), these are also
elements where the author is trying to skip work related to selector
matching etc, which makes selector_matches applying to them particularly
problematic. Better to ignore them altogether.

Fixes WICG#246.
Copy link

Preview:

@jeremyroman
Copy link
Collaborator Author

@a4sriniv ptal?

@a4sriniv
Copy link
Contributor

LGTM, thank you!

@jeremyroman jeremyroman merged commit 5c49115 into WICG:main Nov 23, 2023
2 checks passed
@jeremyroman jeremyroman deleted the being-rendered branch November 23, 2023 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document rules should be limited to rendered links
2 participants