Parts of the CSS engine use CSSPropertyIDs to identify CSS descriptors (e.g. see the
name: "width"
entry in https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/css/CSSProperties.json5).
CSS descriptors are often handled similarly to CSS properties, but a descriptor and a property with the same name (e.g. width) are not the same entity. Descriptors are values given to at-rules. Having them share a CSSPropertyID is confusing and could lead to errors.
Parts of the CSS engine use CSSPropertyIDs to identify CSS descriptors
(e.g. see the
name: "width"
entry in https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/css/CSSProperties.json5).
CSS descriptors are often handled similarly to CSS properties, but a descriptor and a property with the same name (e.g. width) are not the same entity. Descriptors are values given to at-rules. Having them share a CSSPropertyID is confusing and could lead to errors.
Comment 1 by rjwright@chromium.org
, Aug 5 2017