Skip to content

Complete cascade layers, origins, global keywords, and custom-property resolution #238

Description

@wieslawsoltes

Parent tracker: #235

Problem

CSS correctness requires the same winning declaration and computed value as a browser across origins, importance, layers, specificity, inheritance, shorthand expansion, global keywords, and custom-property dependencies. Current contracts cover important paths but not a complete interaction matrix.

Proposed work

  • Add a table-driven cascade oracle fixture compared with Chromium.
  • Cover author/user-agent origins available to WebScene, !important, source order, layers, specificity, inline declarations, inheritance, and shorthand/longhand interaction.
  • Complete initial, inherit, unset, and revert behavior at specified/computed-value boundaries.
  • Cover custom-property fallback, cycles, invalid-at-computed-value-time behavior, and dependency invalidation.
  • Cache/compile only after equivalent results and invalidation lifetimes are proven.

Acceptance

Activity

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

    bugSomething isn't workingvscode-oss/plannedPlanned for the AppScene/WebScene VS Code OSS integration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions