Skip to content

Commit 45fa7ea

Browse files
committed
Fix serializing CSSNamespaceRule with omitted prefix
1 parent 1e0babc commit 45fa7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cssom/CSSNamespaceRule-impl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default class CSSNamespaceRuleImpl extends CSSRuleImpl {
1717
super(globalObject, args, privateData)
1818
const { prelude: [prefix, location] } = privateData
1919
this.namespaceURI = isFunction(location) ? location.value[0].value : location.value
20-
this.prefix = serializeIdentifier(prefix)
20+
this.prefix = serializeComponentValue(prefix)
2121
}
2222

2323
/**

0 commit comments

Comments
 (0)