Use css parser to add hover class name to selectors.
Previously we use a regexp to match all the CSS selectors and add our hover class name to it, which has been proved not solid and may be very slow in some situation. Using a production ready css parser can handle this better and also provide ability's to do more accurate things to the recorded stylesheets.
This commit is contained in:
6
test/css/benchmark.css
Normal file
6
test/css/benchmark.css
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user