Skip to content

Animate bounded foreground filters in CSS keyframes #543

Closed

Description

@wieslawsoltes

Parent tracker: #242. CSS epic: #235. Release epic: #227.

Proven gap

Code OSS Chat/dictation and workbench effects use CSS @keyframes that animate foreground filter values such as brightness(.9) to brightness(1.14) and blur(2px) to blur(0). WebScene retained static filter lists and transitions, but keyframe compilation/runtime did not carry or interpolate filter stops.

Scope

  • Preserve raw filter stops through both stylesheet parser paths.
  • Resolve each node's stops once through the shared bounded retained filter-list parser.
  • Normalize compatible authored-order lists with correct identity padding.
  • Interpolate blur, brightness, contrast, grayscale, and saturate on the host clock.
  • Project temporal values into CSSOM, scene paint, and stacking behavior.
  • Support finite forwards fill, animationend, visible-only frame demand, detach cleanup, memory accounting, and compaction.
  • Fail closed for invalid or reordered incompatible lists.
  • Keep the change paint-only; do not introduce WAAPI or unrelated property animation.

Acceptance

  • Native source implementation and focused Code OSS, identity, order, lifecycle, temporal, pixel-reference, and performance regressions are authored.
  • git diff --check passes.
  • Focused tests, pixel comparison, benchmarks, and unchanged Code OSS package acceptance run in the deferred validation lane.

No build, test, benchmark, formatter, or visual comparison was executed under the current fast-merge instruction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vscode-oss/planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions