Moved CSSPropertyColor to appropriate API and renamed color APIs
This patch fixes an error introduced in patch crrev.com/2882603002, where the CSSPropertyBackgroundColor property was pulled out into a single property API when it should have been grouped with the CSSPropertyColor property. This error left CSSPropertyColor parsing logic to fall through to border color parsing logic. This patch - moved CSSPropertyColor to be grouped with CSSPropertyBorderColor in existing API implementation - renamed CSSPropertyAPIBackgroundColor to CSSPropertyAPIColor as a group API name for CSSPropertyColor and CSSPropertyBorderColor - because CSSPropertyAPIColor was already taken as an API name, renamed the pre-existing CSSPropertyAPIColor to CSSPropertyAPIColorNoQuirks (the difference between the 2 APIs parsing logic is only whether quirks mode is permitted) Bug: 668012 Change-Id: I119a2cafbd51b93bd1c9323745aae728cc74a2ca Reviewed-on: https://chromium-review.googlesource.com/562944Reviewed-by:meade_UTC10 <meade@chromium.org> Reviewed-by:
Eric Willigers <ericwilligers@chromium.org> Reviewed-by:
Suzy Howlett <suzyh@chromium.org> Commit-Queue: Bugs Nash <bugsnash@chromium.org> Cr-Commit-Position: refs/heads/master@{#485190}
Showing
Please register or sign in to comment