You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, it looks like we have never tried to add support for the case-sensitivity attribute selectors. This is relatively new, in Selectors Level 4 which is still in draft (although we're probably all familiar with how that works).
I'm unlikely to work on adding this support while I'm still trying to get v1.11.0 out the door, but I'll prioritize it after that. In the meantime, if you have time to work on this, I'd be super happy to help you craft a PR!
Describe the bug
When using
.css(input[type=checkbox i]
Nokogiri kicks up an error:Nokogiri::CSS::SyntaxError (unexpected ' ' after '[:equal, "checkbox"]')
To Reproduce
Expected behavior
The
i
modifier should make the attribute selector case-insensitive.Environment
Additional context
More information on attribute selector operators: https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
The text was updated successfully, but these errors were encountered: