Skip to content

Skip invalidation for identical ARIA and data attributes #554

Closed

Description

@wieslawsoltes

Parent: #243. CSS epic: #235.

Proven hot path

Pinned unchanged Code OSS virtual-list row refresh rewrites stable data-index, data-last-element, data-parity, aria-setsize, and aria-posinset values from four update/render paths. WebScene currently mutates and schedules selector invalidation/publication for exact present same-value metadata.

Scope

For exact present same-value data-* and aria-* writes only, preserve feature accounting and custom-element attribute reactions, then return before attribute mutation, selector invalidation and dirty publication. Do not generalize to side-effectful attributes such as src, canvas dimensions or form state.

Acceptance

  • Focused source and regression authored.
  • git diff --check passes.
  • 4,096 connected and 4,096 detached metadata rewrites preserve all reactions/reflection/selector styling with zero transition requests/layout/publications.
  • Reconnect requires one bounded layout/publication.
  • Dynamic Code OSS A/B/ABBA, browser/package, lifecycle, memory, pixel and physical-performance gates run later.

No build, test, benchmark or formatter was executed.

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