Implement parseShorthand API for 4 background related properties.
This cl implements parseShorthand APIs for background, -webkit-mask, background-repeat and -webkit-mask-repeat. Properties background and -webkit-mask are handled by the same API. This is because their parsing logic is too similar. In order to avoid duplicating the code and also without having to pass shorthand id to util functions, we check shorthand id within the API class and parses property according to shorthand id. Bug: 668012 Change-Id: I0751a2b7517fb3fbff53adeb54797fda8f89dd80 Reviewed-on: https://chromium-review.googlesource.com/601770 Commit-Queue: Jia Meng <jiameng@chromium.org> Reviewed-by:meade_UTC10 <meade@chromium.org> Reviewed-by:
Bugs Nash <bugsnash@chromium.org> Cr-Commit-Position: refs/heads/master@{#496591}
Showing
This diff is collapsed.
Please register or sign in to comment