message: silently ignore css selector match failures (!)
diff: @@ -87,10 +87,7 @@ export function getComputedStyles(className) {
  return computed
  function readRule(rule, dest) {
  - const cleanSelector = rule.selectorText.replace(/::-(moz|ms|webkit)-([-a-z]+)/, '')
  - if (!cleanSelector) {
  - // console.warn('no selector text:', rule)
  - } else if (div.matches(cleanSelector)) {
  + if (matchesSafe(div, rule.selectorText)) {
  const {style} = rule
  for (let i = 0; i < style.length; i++) {
  const prop = style[i]
  @@ -108,6 +105,18 @@ export function getComputedStyles(className) {
  readRule(rule, dest)
  }
  }
  +
  + function matchesSafe(node, selector) {
  + if (!selector) {
  + return false
  + }
  + let matches
  + try {
  + return div.matches(selector)
  + } catch (error) {
  + return false
  + }
  + }
  }
  /**
  