Bug Tracker

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:



In 1.11.0 this works:


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 gibson042

Component: unfiledselector
Resolution: notabug
Status: newclosed

1.11.1 behavior is correct; see #14793 and CSS Selectors.

Note: See TracTickets for help on using tickets.