mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 23:15:38 +00:00

Instead, we use the new CSSStyleRule.querySelectorAll method to retrieve the elements to highlight. We still compute a "selector", which is basically a concatenation of the ancestor rules, so we can still mark the rule as highlighted when we display a different StyleRule front for a rule that was previously highlighted. Differential Revision: https://phabricator.services.mozilla.com/D208364