Skip to content

case-insensitive attribute option #48

Open
@wildthink

Description

@wildthink

I've encountered a problem when I need to do a case-insensitive attribute match

As discussed here
http://stackoverflow.com/questions/5671238/css-selector-case-insensitive-for-attributes

Shouldn't these be equivalent?

let nodes = doc.firstNodeMatchingSelector("link[rel='shortcut icon']")

and

let nodes = doc.firstNodeMatchingSelector("link[rel='Shortcut icon' i]")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions