### Is this a regression? - [ ] Yes, this behavior used to work in the previous version ### The previous version in which this bug was not present was _No response_ ### Description mat-label is not showing on a mat-form-field when styles are generated with density: -2 ### Reproduction Steps to reproduce: 1. https://stackblitz.com/edit/angular-fxdho2?file=src/theme.scss 2. mat-label is not visible 3. change theme density to -1 and mat-label becomes visible ### Expected Behavior mat-label should be visible on density: -2 generated styles ### Actual Behavior mat-label is not visible :) ### Environment - Angular: 15.0.0 - CDK/Material: 15.0.1 - Browser(s): google chrome - Operating System (e.g. Windows, macOS, Ubuntu): Windows