Side navigation
#15215 closed bug (notabug)
Opened August 21, 2014 07:33AM UTC
Closed August 25, 2014 08:07PM UTC
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=]
Is this the correct behavior?
Attachments (0)
Change History (1)
Changed August 25, 2014 08:07PM UTC by comment:1
| component: | unfiled → selector |
|---|---|
| resolution: | → notabug |
| status: | new → closed |
1.11.1 behavior is correct; see #14793 and CSS Selectors.