cxs-css / cxs

fast af css-in-js in 0.7kb
MIT License
1.19k stars 68 forks source link

Failed to parse the rule '.xd::-moz-focus-inner{border:none}'. #104

Closed stereobooster closed 3 years ago

stereobooster commented 5 years ago

I know this is rare edge case. I'm trying to remove outline in FireFox. This code

  "::-moz-focus-inner": {
    border: "none"
  },

works in FireFox, but fails in Chrome. Maybe simple try/catch would work?

Without style:

Screenshot 2019-06-05 at 18 53 50

With style

Screenshot 2019-06-05 at 18 54 03