@node-projects/web-component-designer 0.1.63 → 0.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -114,16 +114,18 @@ export class AbstractStylesheetService {
|
|
|
114
114
|
if (!noPatch) {
|
|
115
115
|
let parts = rule.selectorText.split(',');
|
|
116
116
|
for (let p of parts) {
|
|
117
|
-
if (
|
|
118
|
-
sel +=
|
|
117
|
+
if (sel)
|
|
118
|
+
sel += ',';
|
|
119
|
+
if (p.startsWith(':host')) {
|
|
120
|
+
sel += p.replace(':host', DesignerCanvas.cssprefixConstant);
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
119
123
|
else if (p == ':root')
|
|
120
124
|
sel += p;
|
|
121
125
|
else if (p.includes(DesignerCanvas.cssprefixConstant)) {
|
|
122
126
|
sel += p;
|
|
123
127
|
continue;
|
|
124
128
|
}
|
|
125
|
-
if (sel)
|
|
126
|
-
sel += ',';
|
|
127
129
|
sel += DesignerCanvas.cssprefixConstant + p.trimStart();
|
|
128
130
|
}
|
|
129
131
|
}
|