Skip to content

Disallow selectors that look like regular expressions

nzakas edited this page Oct 24, 2011 · 2 revisions

CSS3 adds complex attribute selectors such as ~= that are slow. When using attribute selectors, don't use the complex equality operators to avoid performance penalties.

Rule ID: regex-selectors

Clone this wiki locally