This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(infrastructure): Ensure grid pattern renders correctly in IE (#2729)
### How to test ```bash export CBT_USERNAME='...' export CBT_AUTHKEY='...' export MDC_GCLOUD_SERVICE_ACCOUNT_KEY_FILE_PATH='...' npm run screenshot:build npm run screenshot:test echo '.mdc-button:not(:disabled){color:red}' >> packages/mdc-button/mdc-button.scss echo '.mdc-button:disabled{margin-left:10px}' >> packages/mdc-button/mdc-button.scss npm run screenshot:build npm run screenshot:test -- --mdc-include-url=button/classes/ --mdc-include-browser=ie@11 ``` ### What it does - Uses PNG `background-image` instead of `linear-gradient` - Adds Webpack loader `base64-inline-loader` to base64-encode `data:` URIs from background images in Sass IE occasionally renders the `linear-gradient` version incorrectly, shifting it 1px to the left, which generates noisy, flaky diffs.
- Loading branch information