[animation-trigger] Rename range boundaries of TimelineTrigger IDLs [chromium/src : main]

0 views
Skip to first unread message

David Awogbemila (Gerrit)

unread,
Jan 12, 2026, 3:50:05 PM (4 days ago) Jan 12
to Kentaro Hara, Raphael Kubo da Costa, AyeAye, Robert Flack, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org

David Awogbemila added 1 comment

File third_party/blink/renderer/core/animation/timeline_trigger_range.cc
Line 136, Patchset 6 (Latest): // Both are undefined: normal auto.
David Awogbemila . resolved

I suppose another option is to leave "auto" in the realm of CSS. I.e. "auto" would only be valid as a CSS value as a way of setting the value of the underlying object `TimelineTrigger` object whose only valid values are the same as `Animation.rangeStart`.

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: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
Gerrit-Change-Number: 7417144
Gerrit-PatchSet: 6
Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Comment-Date: Mon, 12 Jan 2026 20:49:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

David Awogbemila (Gerrit)

unread,
Jan 13, 2026, 10:22:32 AM (3 days ago) Jan 13
to Kentaro Hara, Raphael Kubo da Costa, AyeAye, Robert Flack, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Robert Flack

David Awogbemila added 1 comment

File third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-addAnimation.tentative.html
Line 70, Patchset 3: entryRangeEnd: `${TRIGGER_END_PX}px`
Robert Flack . unresolved

Does it work if you just set activeRange? Can you make the test do this?

Per the discussion the intention is that developers will just set the active range unless they specifically want to narrow the entry range. See https://github.com/w3c/csswg-drafts/issues/13174#:~:text=primary%20thing%20author%20wants%20to%20set%20is%20active%20range%2C%20don%27t%20want%20to%20set%20an%20entry%20rannge%2C%20then%20entry%20range%20is%20a%20narrowing%20of%20the%20primary%20thing%20they%27re%20setting

primary thing author wants to set is active range, don't want to set an entry rannge, then entry range is a narrowing of the primary thing they're setting

David Awogbemila

Added a test case for this now.

Open in Gerrit

Related details

Attention is currently required from:
  • Robert Flack
Gerrit-Attention: Robert Flack <fla...@chromium.org>
Gerrit-Comment-Date: Tue, 13 Jan 2026 15:22:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Robert Flack <fla...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Robert Flack (Gerrit)

unread,
Jan 13, 2026, 2:24:41 PM (3 days ago) Jan 13
to David Awogbemila, Kentaro Hara, Raphael Kubo da Costa, AyeAye, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from David Awogbemila

Robert Flack voted and added 2 comments

Votes added by Robert Flack

Code-Review+1

2 comments

File third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-addAnimation.tentative.html
Line 66, Patchset 6 (Latest): use_active_range=false) {
Robert Flack . unresolved

Personally I think it's better to just ensure you have at least one explicit test that directly tests each type of trigger rather than trying to test every combination of options with parameterization. I.e. given that setting one range implicitly sets the other, other than ensuring that this happens all of the extra assertions are redundant.

Line 70, Patchset 3: entryRangeEnd: `${TRIGGER_END_PX}px`
Robert Flack . resolved

Does it work if you just set activeRange? Can you make the test do this?

Per the discussion the intention is that developers will just set the active range unless they specifically want to narrow the entry range. See https://github.com/w3c/csswg-drafts/issues/13174#:~:text=primary%20thing%20author%20wants%20to%20set%20is%20active%20range%2C%20don%27t%20want%20to%20set%20an%20entry%20rannge%2C%20then%20entry%20range%20is%20a%20narrowing%20of%20the%20primary%20thing%20they%27re%20setting

primary thing author wants to set is active range, don't want to set an entry rannge, then entry range is a narrowing of the primary thing they're setting

David Awogbemila

Added a test case for this now.

Robert Flack

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: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
Gerrit-Change-Number: 7417144
Gerrit-PatchSet: 6
Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: David Awogbemila <awogb...@chromium.org>
Gerrit-Comment-Date: Tue, 13 Jan 2026 19:24:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: David Awogbemila <awogb...@chromium.org>
Comment-In-Reply-To: Robert Flack <fla...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

David Awogbemila (Gerrit)

unread,
Jan 13, 2026, 3:19:16 PM (3 days ago) Jan 13
to Robert Flack, Kentaro Hara, Raphael Kubo da Costa, AyeAye, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org

David Awogbemila voted and added 1 comment

Votes added by David Awogbemila

Commit-Queue+2

1 comment

File third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-addAnimation.tentative.html
Line 66, Patchset 6: use_active_range=false) {
Robert Flack . resolved

Personally I think it's better to just ensure you have at least one explicit test that directly tests each type of trigger rather than trying to test every combination of options with parameterization. I.e. given that setting one range implicitly sets the other, other than ensuring that this happens all of the extra assertions are redundant.

David Awogbemila

Okay, I think that makes the tests added to `TimelineTrigger/constructor.html` sufficient. I've reverted this change.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement 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: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
    Gerrit-Change-Number: 7417144
    Gerrit-PatchSet: 7
    Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
    Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
    Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 20:19:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Robert Flack <fla...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    David Awogbemila (Gerrit)

    unread,
    Jan 13, 2026, 3:25:54 PM (3 days ago) Jan 13
    to Robert Flack, Kentaro Hara, Raphael Kubo da Costa, AyeAye, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org

    David Awogbemila voted

    Code-Review+1
    Commit-Queue+2
    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: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
      Gerrit-Change-Number: 7417144
      Gerrit-PatchSet: 7
      Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Comment-Date: Tue, 13 Jan 2026 20:25:43 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Blink W3C Test Autoroller (Gerrit)

      unread,
      Jan 13, 2026, 3:33:07 PM (3 days ago) Jan 13
      to David Awogbemila, Robert Flack, Kentaro Hara, Raphael Kubo da Costa, AyeAye, AI Code Reviewer, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@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/57156.

      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: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
      Gerrit-Change-Number: 7417144
      Gerrit-PatchSet: 7
      Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Robert Flack <fla...@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: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Comment-Date: Tue, 13 Jan 2026 20:32:52 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Jan 13, 2026, 5:23:37 PM (3 days ago) Jan 13
      to David Awogbemila, Blink W3C Test Autoroller, Robert Flack, Kentaro Hara, Raphael Kubo da Costa, AyeAye, AI Code Reviewer, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      [animation-trigger] Rename range boundaries of TimelineTrigger IDLs

      This is the last part of the rename resolved[1] on.

      [1] https://github.com/w3c/csswg-drafts/issues/13174
      Bug: 390314945
      Change-Id: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
      Commit-Queue: David Awogbemila <awogb...@chromium.org>
      Reviewed-by: Robert Flack <fla...@chromium.org>
      Reviewed-by: David Awogbemila <awogb...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1568706}
      Files:
      • M android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt
      • M third_party/blink/renderer/bindings/generated_in_core.gni
      • M third_party/blink/renderer/core/animation/animation_test.cc
      • M third_party/blink/renderer/core/animation/animation_trigger_test.cc
      • M third_party/blink/renderer/core/animation/css/css_animations.cc
      • M third_party/blink/renderer/core/animation/css/css_animations_test.cc
      • M third_party/blink/renderer/core/animation/timeline_trigger.h
      • M third_party/blink/renderer/core/animation/timeline_trigger.idl
      • M third_party/blink/renderer/core/animation/timeline_trigger_options.idl
      • M third_party/blink/renderer/core/animation/timeline_trigger_range.cc
      • M third_party/blink/renderer/core/animation/timeline_trigger_range.h
      • M third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-addAnimation.tentative.html
      • M third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-disarmed-by-apis.tentative.html
      • M third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-multiple-animations.tentative.html
      • M third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-multiple-triggers.tentative.html
      • M third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/animation-trigger-range-px-roundtrip.tentative.html
      • M third_party/blink/web_tests/external/wpt/scroll-animations/animation-trigger/support/support.js
      • M third_party/blink/web_tests/external/wpt/web-animations/interfaces/TimelineTrigger/constructor.html
      • M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
      Change size: L
      Delta: 19 files changed, 359 insertions(+), 225 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by David Awogbemila, +1 by Robert Flack
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
      Gerrit-Change-Number: 7417144
      Gerrit-PatchSet: 8
      Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      open
      diffy
      satisfied_requirement

      Blink W3C Test Autoroller (Gerrit)

      unread,
      Jan 13, 2026, 5:57:10 PM (3 days ago) Jan 13
      to David Awogbemila, Chromium LUCI CQ, Robert Flack, Kentaro Hara, Raphael Kubo da Costa, AyeAye, AI Code Reviewer, Menard, Alexis, chromium...@chromium.org, Olga Gerchikov, blink-revie...@chromium.org, ashleynewson+w...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org

      Message from Blink W3C Test Autoroller

      The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/57156

      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: I1520cfe1501af3a53fb21ee8fdd6f0f91f9f4a64
      Gerrit-Change-Number: 7417144
      Gerrit-PatchSet: 8
      Gerrit-Owner: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: David Awogbemila <awogb...@chromium.org>
      Gerrit-Reviewer: Robert Flack <fla...@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: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Comment-Date: Tue, 13 Jan 2026 22:57:03 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages