[animation-trigger] Enforce single trigger per animation [chromium/src : main]

0 views
Skip to first unread message

AI Code Reviewer (Gerrit)

unread,
Jan 9, 2026, 12:31:24 PM (5 days ago) Jan 9
to David Awogbemila, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

AI Code Reviewer added 2 comments

File third_party/blink/renderer/core/animation/animation.h
Line 489, Patchset 1 (Latest): const HeapHashSet<WeakMember<AnimationTrigger>>& GetTriggers();
AI Code Reviewer . unresolved

nit: Blink Style Guide: Precede setters with the word “Set”; use bare words for getters. Consider renaming 'GetTriggers' to 'Triggers'.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

File third_party/blink/renderer/core/animation/animation.cc
Line 3821, Patchset 1 (Latest):
AI Code Reviewer . unresolved

nit: Blink Style Guide: Precede setters with the word “Set”; use bare words for getters. Consider renaming 'GetTriggers' to 'Triggers'.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
Gerrit-Change-Number: 7416194
Gerrit-PatchSet: 1
Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
Gerrit-Comment-Date: Fri, 09 Jan 2026 17:31:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

David Awogbemila (Gerrit)

unread,
Jan 13, 2026, 9:14:11 AM (yesterday) Jan 13
to Kevin Ellis, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from Kevin Ellis

David Awogbemila voted and added 2 comments

Votes added by David Awogbemila

Commit-Queue+1

2 comments

File third_party/blink/renderer/core/animation/animation.h
Line 489, Patchset 1: const HeapHashSet<WeakMember<AnimationTrigger>>& GetTriggers();
AI Code Reviewer . resolved

nit: Blink Style Guide: Precede setters with the word “Set”; use bare words for getters. Consider renaming 'GetTriggers' to 'Triggers'.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

David Awogbemila

Acknowledged. Pre-existing function.

File third_party/blink/renderer/core/animation/animation.cc
Line 3821, Patchset 1:
AI Code Reviewer . resolved

nit: Blink Style Guide: Precede setters with the word “Set”; use bare words for getters. Consider renaming 'GetTriggers' to 'Triggers'.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

David Awogbemila

Acknowledged. Pre-existing function.

Open in Gerrit

Related details

Attention is currently required from:
  • Kevin Ellis
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
    Gerrit-Change-Number: 7416194
    Gerrit-PatchSet: 2
    Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
    Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
    Gerrit-Reviewer: Kevin Ellis <kev...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
    Gerrit-Attention: Kevin Ellis <kev...@chromium.org>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 14:14:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kevin Ellis (Gerrit)

    unread,
    Jan 13, 2026, 10:43:38 AM (yesterday) Jan 13
    to David Awogbemila, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
    Attention needed from David Awogbemila

    Kevin Ellis added 4 comments

    File third_party/blink/renderer/core/animation/animation_trigger.cc
    Line 171, Patchset 3 (Latest): // TODO(crbug.com/474398437): Support multiple triggers per animation.
    Kevin Ellis . unresolved

    Please also link the CSSWG issue where we resolved to only support a single trigger for now. Currently it looks like a WIP feature rather than a limitation in accordance with the spec.

    File third_party/blink/renderer/core/animation/compositor_animations_test.cc
    Line 3731, Patchset 3 (Latest): test_for_n_triggers(3);
    Kevin Ellis . unresolved

    I'm confused here. Looks like we are supporting multiple triggers here, whereas the CL for for enforcing a single trigger.

    File third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/parsing/animation-trigger-parsing.tentative.html
    Line 41, Patchset 3 (Latest):test_invalid_value('animation-trigger', '--abc play --abc play');
    Kevin Ellis . unresolved

    Can we add a note here pointing to the issue indicating that we intent to support multiple triggers in the future, but for now are limited to one.

    Line 50, Patchset 3 (Parent):test_computed_value('animation-trigger', '--abc play --abc play');
    Kevin Ellis . unresolved

    Should we keep these with updated expectations rather than remove them. Perhaps with an added comment about supporting multiple triggers in the future.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • David Awogbemila
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
      Gerrit-Change-Number: 7416194
      Gerrit-PatchSet: 3
      Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Kevin Ellis <kev...@chromium.org>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
      Gerrit-Attention: David Awogbemila <awogb...@chromium.org>
      Gerrit-Comment-Date: Tue, 13 Jan 2026 15:43:33 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      David Awogbemila (Gerrit)

      unread,
      Jan 13, 2026, 11:49:03 AM (yesterday) Jan 13
      to Kevin Ellis, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
      Attention needed from Kevin Ellis

      David Awogbemila added 4 comments

      File third_party/blink/renderer/core/animation/animation_trigger.cc
      Line 171, Patchset 3: // TODO(crbug.com/474398437): Support multiple triggers per animation.
      Kevin Ellis . resolved

      Please also link the CSSWG issue where we resolved to only support a single trigger for now. Currently it looks like a WIP feature rather than a limitation in accordance with the spec.

      David Awogbemila

      Done

      File third_party/blink/renderer/core/animation/compositor_animations_test.cc
      Line 3731, Patchset 3: test_for_n_triggers(3);
      Kevin Ellis . unresolved

      I'm confused here. Looks like we are supporting multiple triggers here, whereas the CL for for enforcing a single trigger.

      David Awogbemila

      This test is using multiple animations (separated by commas) but still only a single trigger (also separated by commas) per animation. (Multiple triggers attached to a single animation would be separated by spaces)

      File third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/parsing/animation-trigger-parsing.tentative.html
      Line 41, Patchset 3:test_invalid_value('animation-trigger', '--abc play --abc play');
      Kevin Ellis . resolved

      Can we add a note here pointing to the issue indicating that we intent to support multiple triggers in the future, but for now are limited to one.

      David Awogbemila

      Done

      Line 50, Patchset 3 (Parent):test_computed_value('animation-trigger', '--abc play --abc play');
      Kevin Ellis . unresolved

      Should we keep these with updated expectations rather than remove them. Perhaps with an added comment about supporting multiple triggers in the future.

      David Awogbemila

      Yeah they are modified to `test_invalid_value` cases below.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kevin Ellis
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
      Gerrit-Change-Number: 7416194
      Gerrit-PatchSet: 4
      Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Kevin Ellis <kev...@chromium.org>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
      Gerrit-Attention: Kevin Ellis <kev...@chromium.org>
      Gerrit-Comment-Date: Tue, 13 Jan 2026 16:48:57 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Kevin Ellis <kev...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Kevin Ellis (Gerrit)

      unread,
      11:02 AM (5 hours ago) 11:02 AM
      to David Awogbemila, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
      Attention needed from David Awogbemila

      Kevin Ellis voted and added 3 comments

      Votes added by Kevin Ellis

      Code-Review+1

      3 comments

      Patchset-level comments
      File-level comment, Patchset 4 (Latest):
      Kevin Ellis . resolved

      LGTM % optional nits

      File third_party/blink/renderer/core/animation/compositor_animations_test.cc
      Line 3731, Patchset 3: test_for_n_triggers(3);
      Kevin Ellis . unresolved

      I'm confused here. Looks like we are supporting multiple triggers here, whereas the CL for for enforcing a single trigger.

      David Awogbemila

      This test is using multiple animations (separated by commas) but still only a single trigger (also separated by commas) per animation. (Multiple triggers attached to a single animation would be separated by spaces)

      Kevin Ellis

      Optional nits:

      • s/single/single-animation s/multiple/multiple-animations.
      • Add comment to test_for_n_triggers to clarify that each trigger is for a separate animation.
      File third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/parsing/animation-trigger-parsing.tentative.html
      Line 50, Patchset 3 (Parent):test_computed_value('animation-trigger', '--abc play --abc play');
      Kevin Ellis . resolved

      Should we keep these with updated expectations rather than remove them. Perhaps with an added comment about supporting multiple triggers in the future.

      David Awogbemila

      Yeah they are modified to `test_invalid_value` cases below.

      Kevin Ellis

      Acknowledged

      Open in Gerrit

      Related details

      Attention is currently required from:
      • David Awogbemila
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
      Gerrit-Change-Number: 7416194
      Gerrit-PatchSet: 4
      Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Kevin Ellis <kev...@chromium.org>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
      Gerrit-Attention: David Awogbemila <awogb...@chromium.org>
      Gerrit-Comment-Date: Wed, 14 Jan 2026 16:02:09 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Kevin Ellis <kev...@chromium.org>
      Comment-In-Reply-To: David Awogbemila <awogb...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      David Awogbemila (Gerrit)

      unread,
      11:26 AM (5 hours ago) 11:26 AM
      to Kevin Ellis, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

      David Awogbemila voted and added 1 comment

      Votes added by David Awogbemila

      Code-Review+1
      Commit-Queue+2

      1 comment

      File third_party/blink/renderer/core/animation/compositor_animations_test.cc
      Line 3731, Patchset 3: test_for_n_triggers(3);
      Kevin Ellis . resolved

      I'm confused here. Looks like we are supporting multiple triggers here, whereas the CL for for enforcing a single trigger.

      David Awogbemila

      This test is using multiple animations (separated by commas) but still only a single trigger (also separated by commas) per animation. (Multiple triggers attached to a single animation would be separated by spaces)

      Kevin Ellis

      Optional nits:

      • s/single/single-animation s/multiple/multiple-animations.
      • Add comment to test_for_n_triggers to clarify that each trigger is for a separate animation.
      David Awogbemila

      Done

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
        Gerrit-Change-Number: 7416194
        Gerrit-PatchSet: 5
        Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
        Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
        Gerrit-Reviewer: Kevin Ellis <kev...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
        Gerrit-Comment-Date: Wed, 14 Jan 2026 16:25:50 +0000
        satisfied_requirement
        open
        diffy

        Blink W3C Test Autoroller (Gerrit)

        unread,
        11:46 AM (5 hours ago) 11:46 AM
        to David Awogbemila, Kevin Ellis, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

        Message from Blink W3C Test Autoroller

        Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/57166.

        When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

        WPT Export docs:
        https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
        Gerrit-Change-Number: 7416194
        Gerrit-PatchSet: 5
        Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
        Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
        Gerrit-Reviewer: Kevin Ellis <kev...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
        Gerrit-Comment-Date: Wed, 14 Jan 2026 16:46:09 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        David Awogbemila (Gerrit)

        unread,
        3:01 PM (1 hour ago) 3:01 PM
        to Blink W3C Test Autoroller, Kevin Ellis, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, apavlo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

        David Awogbemila voted Commit-Queue+2

        Commit-Queue+2
        Gerrit-Comment-Date: Wed, 14 Jan 2026 20:01:19 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages