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

Explain searching for   and &nbsp in the DOM #250

Open
hsivonen opened this issue Dec 14, 2023 · 1 comment
Open

Explain searching for   and &nbsp in the DOM #250

hsivonen opened this issue Dec 14, 2023 · 1 comment

Comments

@hsivonen
Copy link

https://wicg.github.io/scroll-to-text-fragment/#next-non-whitespace-position searches for literal   and &nbps appearing in the DOM. This is strange enough that it could use an informative note explaining why these strings are special-cased. That is, why are these expected to appear in the post-parse DOM and often enough to require special handling?

@bokand
Copy link
Collaborator

bokand commented Jan 31, 2024

I think this is a carry-over from an early iteration of the spec and likely a bug. Will address.

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

No branches or pull requests

2 participants