Skip to content

Expose live CSS keyframes rule reflection and mutation #569

Closed

Description

@wieslawsoltes

Parent: #239. CSS epic: #235. Preceding CSSOM child: #567/#568.

Expose native-supported @keyframes and @-webkit-keyframes definitions as live browser-shaped CSSKeyframesRule/CSSKeyframeRule objects instead of opaque generic rules.

Focused scope

  • Add interface brands/inheritance, types 7/8, realm constructors and stable parent identity.
  • Provide SameObject live cssRules, indexed access/length, normalized from/to/percentage reflection, name/serialization, last-match findRule/deleteRule, and silent-invalid appendRule behavior.
  • Support keyText normalization and SyntaxError, SameObject mutable style/cssText, synchronous animation-definition staged publication/invalidation, recursive detach and isolated detached mutation.
  • Retain the native-supported prefix only; do not expand animation properties, timing, grammar or unsupported vendor forms.

Lookup/delete and selector parsing are linear in bounded child/text input. Each attached mutation uses one existing staged publication. Existing owner/adoption limits remain 1,024/32 MiB; imports remain 1,024 loads, 16 levels and 32 MiB. No new queue, timer, native copy or strong realm registry is added.

WPT revision 2c705104a295c48053eeddf7fe0170d790a4e853 and native/browser contracts are authored. Under the current implementation-throughput direction only git diff --check ran; runtime, performance, memory, teardown, package and CI gates remain on #239.

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