The Grid theme styles use :has() selectors on rows and cells. When the Grid updates rows, for example when locked columns are synchronized or the Grid is resized, these selectors force the browser to restyle every cell of the affected rows, which noticeably slows the Grid down.
Row updates in the Grid stay fast, as they were before the :has() selectors were introduced.
Rows with grouping, detail rows or locked columns restyle all of their cells on every update, which makes row height synchronization slow.
Grid
The :has() conditions are kept, but they now only set CSS custom properties on the row. Cells read those properties, so they are no longer restyled when the selector result changes. No markup changes are required and the rendering stays the same.