Chromium Code Reviews| Index: third_party/WebKit/Source/build/scripts/make_css_property_metadata.py |
| diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py b/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py |
| index 1fa4eba59cf01d6d187b049973cb69b7dc41c44c..500c85a3345567c34565f2fd34ad48aa100aa104 100755 |
| --- a/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py |
| +++ b/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py |
| @@ -18,7 +18,13 @@ class CSSPropertyMetadataWriter(css_properties.CSSProperties): |
| def __init__(self, json5_file_path): |
| super(CSSPropertyMetadataWriter, self).__init__(json5_file_path) |
| - self._outputs = {'CSSPropertyMetadata.cpp': self.generate_css_property_metadata_cpp} |
| + self._outputs = { |
| + 'CSSPropertyMetadata.cpp': |
| + self.generate_css_property_metadata_cpp |
|
shend
2017/05/29 23:42:08
nit: I think it'll look better on the same line.
shend
2017/05/29 23:42:08
nit: I think it'll look better on the same line.
meade_UTC10
2017/05/30 04:11:05
The style checker was complaining about the line b
|
| + } |
| + for property_value in self._properties.values(): |
| + property_value['supports_percentage'] = ( |
| + 'Percent' in property_value['typedom_types']) |
| @template_expander.use_jinja('CSSPropertyMetadata.cpp.tmpl', filters=filters) |
| def generate_css_property_metadata_cpp(self): |