212
continue;
213
}
214
>
// Display: keep only inheritable properties from cssText
cssHelpers.ts
215
>
const filtered = filterInheritableDeclarations(cssText);
216
if (!filtered || seenCssTexts.has(filtered)) {
217
continue;
218
}
220
>
// Track: use cssProperties longhands, inheritable only
221
>
collectVarReferences(filtered, referencedVars);
222
>
collectPropertyNames(ruleEntry.rule.style.cssProperties, authorPropertyNames, true);
223
>
const selectors = ruleEntry.rule.selectorList.selectors.map(s => s.text).join(', ');
224
>
inheritedLines.push(`${selectors} { ${filtered} }`);
225
>
}
226
}
227
228
if (inheritedLines.length > 0) {
230
>
lines.push('/* Inherited */');
231
>
lines.push(...inheritedLines);
232
>
}
233
234
// Always include DevTools' alwaysShownComputedProperties