jQuery ticket: http://bugs.jquery.com/ticket/15233
Spec reference: http://www.w3.org/TR/css3-selectors/#attribute-representation http://www.w3.org/TR/css3-selectors/#whitespace
The "[attribute~=word]" selector should split the attribute value on all CSS whitespace (space U+0020, tab U+0009, line feed U+000A, carriage return U+000D, form feed U+000C) and look for the test word in the resulting list. Webkit appears to only split on space characters.
Thank you for filing a bug for this! I'll fix this asap.
Created attachment 238233 [details]
Comment on attachment 238233 [details]
Clearing flags on attachment: 238233
Committed r173697: <http://trac.webkit.org/changeset/173697>
All reviewed patches have been landed. Closing bug.
*** Bug 115954 has been marked as a duplicate of this bug. ***