[webkit-changes] [WebKit/WebKit] 5c08dd: Implement counter-style additive-symbols translation

Vitor Roriz noreply at github.com
Mon Feb 27 17:24:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5c08dda8b880c88f13e7c9ff3139c3cfcc59ccd7
      https://github.com/WebKit/WebKit/commit/5c08dda8b880c88f13e7c9ff3139c3cfcc59ccd7
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M Source/WebCore/css/CSSCounterStyleDescriptors.cpp
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp

  Log Message:
  -----------
  Implement counter-style additive-symbols translation
https://bugs.webkit.org/show_bug.cgi?id=252926
rdar://103837257
Reviewed by Darin Adler and Tim Nguyen.

We are missing translation of the counter-styles
additive-symbols for the CSSCounterStylesDescriptor.

We are also introducing some fixes and style
adequation to the other translation functions.

* Source/WebCore/css/CSSCounterStyleDescriptors.cpp:
(WebCore::translateRangeFromStyleProperties):
(WebCore::symbolToString):
(WebCore::translateAdditiveSymbolsFromStyleProperties):
(WebCore::translatePadFromStyleProperties):
(WebCore::translateNegativeSymbolsFromStyleProperties):
(WebCore::translateSymbolsFromStyleProperties):
(WebCore::translateFallbackNameFromStyleProperties):
(WebCore::translatePrefixFromStyleProperties):
(WebCore::translateSuffixFromStyleProperties):
(WebCore::extractDataFromSystemDescriptor):
(WebCore::CSSCounterStyleDescriptors::create):
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeCounterStyleAdditiveSymbols):

Canonical link: https://commits.webkit.org/260912@main




More information about the webkit-changes mailing list