mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-13 17:24:27 +01:00
Add best practice: never anchor :has() on body or a workbench-wide root A body:has() selector forces the style engine to re-evaluate against the whole document on nearly every DOM mutation, degrading workbench interaction perf even in builds where the feature is disabled. Document the class-on-container alternative under the Styling best practices.