Implement parseShorthand API for property "margin".
Shorthand property "margin" is parsed by delegating parsing logic to its component longhands API, using ConsumeShorthandVia4LonghandsAPI. This cl also serves as a use case of ConsumeShorthandVia4LonghandsAPI. This cl contains the following changes * Implemented of "margin" parseShorthand API. * Changed the system to use the new API for parsing. - Changed CSSPropertyParser.cpp to use property API to parse "margin". - Added api parsing to json file. - Updated BUILD files to include the new API files. Bug: 668012 Change-Id: Ide0737ab44088cc882191b53278e56c65a075208 Reviewed-on: https://chromium-review.googlesource.com/560801 Commit-Queue: Jia Meng <jiameng@chromium.org> Reviewed-by:Alan Cutter <alancutter@chromium.org> Reviewed-by:
Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#485241}
Showing
Please register or sign in to comment