| Index: Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
|
| diff --git a/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl b/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1c1f341fe6ead904a4d5116841ab55d818e7c7d3
|
| --- /dev/null
|
| +++ b/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
|
| @@ -0,0 +1,24 @@
|
| +{% from 'macros.tmpl' import license %}
|
| +{{license()}}
|
| +
|
| +#include "config.h"
|
| +#include "core/css/CSSPropertyMetadata.h"
|
| +
|
| +namespace blink {
|
| +
|
| +bool CSSPropertyMetadata::isAnimatableProperty(CSSPropertyID property)
|
| +{
|
| + switch(property) {
|
| + case CSSPropertyInvalid:
|
| + ASSERT_NOT_REACHED();
|
| + return false;
|
| + {% for property_id, property in properties.items() if property.animatable %}
|
| + case {{property_id}}:
|
| + {% endfor %}
|
| + return true;
|
| + default:
|
| + return false;
|
| + }
|
| +}
|
| +
|
| +} // namespace blink
|
|
|