getsentry / rrweb

record and replay the web
https://www.rrweb.io/
Other
9 stars 5 forks source link

fix: Fix CSS rules captured in Safari #86

Closed mydea closed 1 year ago

mydea commented 1 year ago

Safari does not escape : in attribute selectors correctly, so we need to do that instead.

See https://github.com/rrweb-io/rrweb/issues/1208

ref https://github.com/getsentry/sentry-javascript/issues/7703

mydea commented 1 year ago

OK, so I tried this, and a problem is that getCssRulesString is currently only called for CSS files & empty (??!)