Skip to content

Commit

Permalink
Delete webkit prefixes and other internal selectors in default CSS
Browse files Browse the repository at this point in the history
See #1560.

In particular, this helps because it takes out webkit prefixes in selectors,
which leads to much fewer exceptions being thrown.

I've tested this patch by running the test that runs slowly with breakpoints
set on "all exceptions". With this change, the only exceptions nwmatcher throws
are related to case insensitive attribute matchers (fixed in the next commit)
and "@namespace "http://www.w3.org/1999/xhtml";

This commit and the next commit improve performance in one of my tests from 28s
to 8s.
  • Loading branch information
flaviut authored and domenic committed May 20, 2017
1 parent 56fbd0d commit dfc9430
Showing 1 changed file with 30 additions and 372 deletions.
Loading

0 comments on commit dfc9430

Please sign in to comment.