Changes between Version 1 and Version 2 of ImplementingCSSProperty
- Timestamp:
- Aug 27, 2015, 7:51:53 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ImplementingCSSProperty
v1 v2 3 3 There are a few steps necessary to implement a CSS property. 4 4 5 Initially, we have a list of properties and values inside CSSPropertyNames.in and CSSValueKeywords.in. When building WebCore, there is a compilation step which runs the preprocessor and creates twoenums with all the properties & values in CSSPropertyNames.h and CSSValueKeywords.h. You use these enum values to refer to the property and values in code.5 Initially, we have a list of properties and values inside CSSPropertyNames.in and CSSValueKeywords.in. When building WebCore, there is a compilation step which runs the preprocessor and creates enums with all the properties & values in CSSPropertyNames.h and CSSValueKeywords.h. You use these enum values to refer to the property and values in code. 6 6 7 7 Next up, we have to parse the syntax for the new property. This is the syntax for the property which is described in the CSS spec.