Ignore:
Timestamp:
Mar 7, 2022, 6:26:58 AM (3 years ago)
Author:
[email protected]
Message:

[web-animations] text-emphasis-style should support discrete animations
https://bugs.webkit.org/show_bug.cgi?id=237514

Reviewed by Antti Koivisto.

LayoutTests/imported/w3c:

  • web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-expected.txt:
  • web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt:
  • web-platform-tests/css/css-text-decor/inheritance-expected.txt:
  • web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt:
  • web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt:
  • web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt:

Source/WebCore:

  • animation/CSSPropertyAnimation.cpp:

(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::ComputedStyleExtractor::valueForPropertyInStyle):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp

    r290772 r290888  
    35713571            case TextEmphasisMark::Sesame:
    35723572                auto list = CSSValueList::createSpaceSeparated();
    3573                 list->append(cssValuePool.createValue(style.textEmphasisFill()));
     3573                if (style.textEmphasisFill() != TextEmphasisFill::Filled)
     3574                    list->append(cssValuePool.createValue(style.textEmphasisFill()));
    35743575                list->append(cssValuePool.createValue(style.textEmphasisMark()));
    35753576                return list;
Note: See TracChangeset for help on using the changeset viewer.