Changes between Version 1 and Version 2 of ImplementingCSSProperty


Ignore:
Timestamp:
Aug 27, 2015 7:51:53 PM (9 years ago)
Author:
mmaxfield@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImplementingCSSProperty

    v1 v2  
    33There are a few steps necessary to implement a CSS property.
    44
    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 two 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.
     5Initially, 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.
    66
    77Next 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.