Changeset 287764 in webkit


Ignore:
Timestamp:
Jan 7, 2022 10:56:47 AM (6 months ago)
Author:
graouts@webkit.org
Message:

Transitions without an explicit property-name should not be considered
https://bugs.webkit.org/show_bug.cgi?id=234960

Reviewed by Darin Adler.

LayoutTests/imported/w3c:

Mark WPT progression.

  • web-platform-tests/css/css-transitions/events-004-expected.txt:

Source/WebCore:

When we fill the transition-property to match the number of another transition-
property, we should not consider running a transition for that property.

  • style/Styleable.cpp:

(WebCore::transitionMatchesProperty):

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r287760 r287764  
     12022-01-07  Antoine Quint  <graouts@webkit.org>
     2
     3        Transitions without an explicit property-name should not be considered
     4        https://bugs.webkit.org/show_bug.cgi?id=234960
     5
     6        Reviewed by Darin Adler.
     7
     8        Mark WPT progression.
     9
     10        * web-platform-tests/css/css-transitions/events-004-expected.txt:
     11
    1122022-01-07  Youenn Fablet  <youenn@apple.com>
    213
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/events-004-expected.txt

    r267650 r287764  
    11
    22PASS repeating lists
    3 FAIL truncating lists assert_approx_equals: expected 0.02 +/- 0.0005 but got 0.01
     3PASS truncating lists
    44
  • trunk/Source/WebCore/ChangeLog

    r287763 r287764  
     12022-01-07  Antoine Quint  <graouts@webkit.org>
     2
     3        Transitions without an explicit property-name should not be considered
     4        https://bugs.webkit.org/show_bug.cgi?id=234960
     5
     6        Reviewed by Darin Adler.
     7
     8        When we fill the transition-property to match the number of another `transition-`
     9        property, we should not consider running a transition for that property.
     10
     11        * style/Styleable.cpp:
     12        (WebCore::transitionMatchesProperty):
     13
    1142022-01-07  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Source/WebCore/style/Styleable.cpp

    r287762 r287764  
    317317static bool transitionMatchesProperty(const Animation& transition, CSSPropertyID property)
    318318{
     319    if (transition.isPropertyFilled())
     320        return false;
     321
    319322    auto mode = transition.property().mode;
    320323    if (mode == Animation::TransitionMode::None || mode == Animation::TransitionMode::UnknownProperty)
Note: See TracChangeset for help on using the changeset viewer.