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

fix: [#1414] Normalize selector parameter #1499

Merged

Conversation

syi0808
Copy link
Contributor

@syi0808 syi0808 commented Jul 27, 2024

To keep the browser behavior, I submit this PR. (However, dom spec doesn't seem to detail the implementation.)

Fixes: #1414 #1461

@syi0808 syi0808 requested a review from capricorn86 as a code owner July 27, 2024 11:40
Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution @syi0808! 🌟

It seems like it should be supported to use new lines and tabs as white-space character (e.g. .a\n.b), so I added support for it as well.

@capricorn86 capricorn86 merged commit 6aa044d into capricorn86:master Aug 29, 2024
3 checks passed
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.

Selector starting with new line throws error
2 participants