File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ const parsers = require("../parsers");
66const { AST_TYPES } = parsers ;
77
88/**
9- * Creates a generic property descriptor for a CSS property.
9+ * Creates a generic property descriptor for a given property. Such descriptors are used whenever we don't have a
10+ * specific handler in `./properties/*.js`. They perform some basic logic that works as a fallback, and is correct for
11+ * simple properties, but properties with more complex grammars will need their own handlers.
1012 *
11- * @param {string } property - The name of the CSS property .
13+ * @param {string } property - The canonical CSS property name (e.g. "backdrop-filter", not "backdropFilter") .
1214 * @returns {object } The property descriptor object.
1315 */
1416function createGenericPropertyDescriptor ( property ) {
You can’t perform that action at this time.
0 commit comments