Moved generated apply methods to property class for 'auto' properties
Moved the generated apply* methods from StyleBuilderFunctions.cpp to the property classes for 'auto' properties which share a non custom template: - clip - column-count - column-gap - column-width - z-index Also fixed includes so that headers required for apply* functions are only included when those functions are implemented, not when they are to be declared only. Note that this patch creates duplicated logic in make_css_property_headers.py and make_style_builder.py. Since it is planned to remove style builder as part of this project I have not bothered factoring this logic out. Diff of generated files: https://gist.github.com/1bad2de3801d6d75d77e9b08c7b128f8/revisions Bug: 751354 Change-Id: I75d9a85a50771541f8c8be64c62c4dfa0796cd8a Reviewed-on: https://chromium-review.googlesource.com/760079Reviewed-by:Renée Wright <rjwright@chromium.org> Commit-Queue: Bugs Nash <bugsnash@chromium.org> Cr-Commit-Position: refs/heads/master@{#515888}
Showing
Please register or sign in to comment