Skip to content

Remove legacy browser-support CSS - #1137

Merged
stephaniehobson merged 1 commit into
mainfrom
v23/support-css
Sep 22, 2026
Merged

stephaniehobson merged 1 commit into
mainfrom
v23/support-css

Conversation

@stephaniehobson

@stephaniehobson stephaniehobson commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

Removes some vendor prefixes. Unwraps some @supports declarations. Updates comments that are IE specific to explain they're legacy parts of the reset.

  • I have documented this change in the design system.
  • I have recorded this change in CHANGELOG.md. (covered by existing messages)

Issue

#1135

Testing

@stephaniehobson
stephaniehobson changed the base branch from main to v23/support-config September 10, 2026 20:16
@stephaniehobson
stephaniehobson added this pull request to stack #1146 September 11, 2026 17:21
@stephaniehobson stephaniehobson changed the title V23/support css Remove legacy browser-support CSS Sep 15, 2026
@stephaniehobson
stephaniehobson marked this pull request as ready for review September 17, 2026 19:13
@stephaniehobson stephaniehobson added the Needs:Review 👋 Ready for Developer Review label Sep 17, 2026

@knowler knowler left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Base automatically changed from v23/support-config to main September 21, 2026 19:18
Everything here is unconditionally true for Firefox ESR, Safari 15.6+,
and evergreen browsers, so the feature-query gates and legacy prefixes
around it are dead weight.

- Unwrapped @supports
- Removed the _reset.scss which made HTML5 elements display:block
  (except summary which would revert to display: list-item)
- Removed the &::-ms-expand selector in the Select form reset.
- Replaced -webkit-appearance with the standard unprefixed appearance
- Re-enabled property-no-vendor-prefix and value-no-vendor-prefix in
 .stylelintrc.json
- appearance: button changed to appearance: auto
- Removed "in IE"/"in Edge and IE" references and replaced them with
  comments explaining we're stuck with them.
@stephaniehobson

Copy link
Copy Markdown
Contributor Author

@knowler We should leave those. It's possible to invoke MzpDetails without using the details/summary elements and we want the styles between the two to match.

There's a demo but it seems to be broken 🤦‍♀️. I made #1158

@stephaniehobson
stephaniehobson merged commit 17256d9 into main Sep 22, 2026
1 check passed
@stephaniehobson
stephaniehobson deleted the v23/support-css branch September 22, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs:Review 👋 Ready for Developer Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants