Implement parseShorthand for scroll-padding-inline and scroll-snap-margin-[block|inline].

Desktop / Chromium - Jia [chromium.org] - 14 July 2017 04:16 EDT

All these shorthand properties call the same helper function ConsumeShorthandVia2LonghandAPIs. Hence these properties are grouped in one cl.

Bug: 668012 Change-Id: I308be0165a6e7962874053e6cbefd831cac6f410 Diff: https://gist.github.com/06821a4b93df191366b1b8a2ac9d01ad/revisions Reviewed-on: https://chromium-review.googlesource.com/571338 Commit-Queue: Jia Meng

7f1acbb Implement parseShorthand for scroll-padding-inline and scroll-snap-margin-[block|inline].
third_party/WebKit/Source/core/BUILD.gn | 3 +++
third_party/WebKit/Source/core/css/BUILD.gn | 3 +++
.../WebKit/Source/core/css/CSSProperties.json5 | 6 ++++++
.../Source/core/css/parser/CSSPropertyParser.cpp | 6 ------
.../CSSShorthandPropertyAPIScrollPaddingInline.cpp | 21 +++++++++++++++++++++
...CSSShorthandPropertyAPIScrollSnapMarginBlock.cpp | 21 +++++++++++++++++++++
...SSShorthandPropertyAPIScrollSnapMarginInline.cpp | 21 +++++++++++++++++++++
7 files changed, 75 insertions(+), 6 deletions(-)

Upstream: git.chromium.org


  • Share