MCPcopy Create free account
hub / github.com/chokcoco/iCSS / analyzeCSSPropertyCategories

Method analyzeCSSPropertyCategories

MCP/scripts/fetch-issues.js:1088–1099  ·  view source on GitHub ↗
(properties)

Source from the content-addressed store, hash-verified

1086 }
1087
1088 analyzeCSSPropertyCategories(properties) {
1089 return properties.map(prop => ({
1090 property_name: prop,
1091 category: this.getCSSPropertyCategory(prop),
1092 sub_category: this.getCSSPropertySubCategory(prop),
1093 description: this.getPropertyDescription(prop),
1094 performance_impact: this.getPropertyPerformanceImpact(prop),
1095 best_practices: JSON.stringify(this.getPropertyBestPractices(prop)),
1096 common_pitfalls: JSON.stringify(this.getPropertyCommonPitfalls(prop)),
1097 browser_notes: this.getPropertyBrowserNotes(prop)
1098 }));
1099 }
1100
1101 getCSSPropertyCategory(prop) {
1102 if (prop.match(/margin|padding|width|height|position|top|left|right|bottom|float|clear|display/)) {

Callers

nothing calls this directly

Tested by

no test coverage detected