Implement API for shorthand property -webkit-margin-collapse

Desktop / Chromium - jiameng [chromium.org] - 16 June 2017 03:32 EDT

This cl implements parseShorthand method of CSSShorthandPropertyAPIWebkitMarginCollapse.

Diff: https://gist.github.com/abdf1b761f0dfc00ebd2afcb86442ceb/revisions Review-Url: https://codereview.chromium.org/2930703005 Cr-Commit-Position: refs/heads/master@{#479980}

c0ca0fa Implement API for shorthand property -webkit-margin-collapse.
third_party/WebKit/Source/core/BUILD.gn | 1 +
third_party/WebKit/Source/core/css/BUILD.gn | 1 +
.../WebKit/Source/core/css/CSSProperties.json5 | 4 +-
.../Source/core/css/parser/CSSPropertyParser.cpp | 27 +-----------
.../css/properties/CSSPropertyAPIMethods.json5 | 2 +-
.../CSSShorthandPropertyAPIBorderRadius.cpp | 5 +--
.../css/properties/CSSShorthandPropertyAPIFlex.cpp | 4 +-
...CSSShorthandPropertyAPIWebkitMarginCollapse.cpp | 48 ++++++++++++++++++++++
8 files changed, 60 insertions(+), 32 deletions(-)

Upstream: git.chromium.org


  • Share