Skip to content

Close remaining CSS layout gaps with browser-referenced geometry contracts #240

Description

@wieslawsoltes

Current layout checkpoint — 20 September 2026

Exact merged heads: WebScene a46b62e14eb197603f7e227c1558afb9088633b0; AppScene 97702daeb9ad71341ced7226f0aa966dc77ea53c; unchanged Code OSS 645f29cc3176500b4b5762ba887cf2a7f0ffdf2c; local vscode-demo e4b98e5470cd7856aff3dfd6843c8e125d7db933 (clean, intentionally unpushed). Open consolidations remain WebScene #76 085bba760fa571c8f08ea866dc5dd1ec27c4d376, AppScene #65 ce66ef6ceb776b3f14e129f853bfc08b5c5e608c, and vscode-demo #1; do not merge them. One-agent mode is active.

Focused layout slices recorded here are merged through the later isolation, text-wrap, word-break/overflow-wrap, retained image fit/alignment, overscroll and touch-action work now present on current main. No focused layout branch is active.

Continue implementation only from a reduced current-main geometry defect. Browser/native geometry, mutation scope, 4,096-node bounds, editor/Settings/Explorer/terminal pixels, package and cross-RID acceptance remain deferred.

Parent tracker: #235

Problem

Remaining CSS layout gaps surface as product-specific visual differences. We need browser-referenced, product-neutral geometry contracts across the layout algorithms used by desktop applications.

Proposed work

  • Inventory layout features used by unchanged VS Code after Fix catalog script and logical sizing compatibility #148 lands.
  • Expand contracts for physical/logical axes, intrinsic/min/max sizing, percentage resolution, box sizing, margin/padding/border, absolute/fixed/sticky positioning, overflow/scrolling, flex, grid, tables, and native form controls.
  • Compare bounding rectangles, scroll metrics, baselines, and computed values with Chromium.
  • Exercise dynamic insertion/removal, resize, writing-mode changes, and inherited/custom-property inputs.
  • Add layout/scene counters and representative performance budgets.

Acceptance

#148 owns its current logical sizing, responsive grid, scrolling, and catalog layout changes; do not duplicate them.

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

    vscode-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