Opened 9 years ago
Closed 9 years ago
#15233 closed bug (migrated)
attributeContainsWord selector does not work for attributes with newlines
Reported by: | gharlan | Owned by: | gibson042 |
---|---|---|---|
Priority: | low | Milestone: | 1.12/2.2 |
Component: | selector | Version: | 2.1.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If an attribute contains newline characters the attributeContainsWord selector (~=) does not work.
http://jsbin.com/fejenanelevu/1/
I would expect that both divs are red.
Change History (3)
comment:1 Changed 9 years ago by
Milestone: | None → 1.12/2.2 |
---|---|
Owner: | set to gibson042 |
Status: | new → assigned |
comment:2 Changed 9 years ago by
Priority: | undecided → low |
---|
comment:3 Changed 9 years ago by
Resolution: | → migrated |
---|---|
Status: | assigned → closed |
Migrated to https://github.com/jquery/jquery/issues/1794
Note: See
TracTickets for help on using
tickets.
Fixed upstream and will be in the next jQuery release: https://github.com/jquery/sizzle/commit/aca006dd2d3fb3c407ff99bb25153852d73e0f6b