Skip to content

Remove legacy browser-support CSS - #1137

Open
stephaniehobson wants to merge 1 commit into
v23/support-configfrom
v23/support-css
Open

stephaniehobson wants to merge 1 commit into
v23/support-configfrom
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
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 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.

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