Opened 9 years ago
Closed 9 years ago
#15215 closed bug (notabug)
Select on data attributes without value
Reported by: | Linuus | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | selector | Version: | 1.11.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi
In 1.11.0 this works:
$('.foobar[data-foo-bar=]').length
But in 1.11.1 it throws an error: Syntax error, unrecognized expression: .foobar[data-foo-bar=]
http://jsfiddle.net/wtfstx4j/ http://jsfiddle.net/3kmgshqo/
Is this the correct behavior?
Change History (1)
comment:1 Changed 9 years ago by
Component: | unfiled → selector |
---|---|
Resolution: | → notabug |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
1.11.1 behavior is correct; see #14793 and CSS Selectors.