jquery / sizzle

A sizzlin' hot selector engine.
https://sizzlejs.com
Other
6.29k stars 951 forks source link

Selector: Allow whitespace after hex escapes in CSS identifiers #450

Closed gibson042 closed 5 years ago

gibson042 commented 5 years ago

Ref jquery/jquery#4424

   raw     gz Sizes
 66770  19908 dist/sizzle.js
 19893   7398 dist/sizzle.min.js

   raw     gz Compared to master @ 9ffbb8b6e18d79bdc8cc9ee94d7b923de0661b32
   +92    +35 dist/sizzle.js
   +48     -3 dist/sizzle.min.js
mgol commented 5 years ago

Remember to port the new tests to jQuery as well.

mgol commented 5 years ago

I incorporated this PR into https://github.com/jquery/jquery/pull/4395. Of course, this would still be good to land in Sizzle so that we can release the fix in jQuery 3.4.2.

mgol commented 5 years ago

One of the added tests fails in Firefox 3.6: #454