RuleSet::evaluteDynamicMediaQueryRules has complexity num(media queries) * num(style rules) for queries that flip value. This can become significant for pages that have 1000s of media queries.
<rdar://63997043>
Created attachment 401995 [details] patch
Created attachment 401997 [details] patch
Committed r263092: <https://trac.webkit.org/changeset/263092> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401997 [details].