rrweb-io/CSSOM

cssRule.selectorText should not include at-rule

Opened this issue · 0 comments

Escalation from jsdom/cssstyle#193
I believe this bug is a CSSOM bug, so I'm reposting it here.

If we have CSS like below:

@namespace svg url(http://www.w3.org/2000/svg);

a {
  color: red;
}

cssstyle parse cssRule.selectorText as @namespace svg url("http://www.w3.org/2000/svg");\n\na