Skip to content

fix: CSS prop -webkit-margin-*#43537

Merged
chrisdavidmills merged 1 commit intomdn:mainfrom
n0099:main
Mar 24, 2026
Merged

fix: CSS prop -webkit-margin-*#43537
chrisdavidmills merged 1 commit intomdn:mainfrom
n0099:main

Conversation

@n0099
Copy link
Copy Markdown
Contributor

@n0099 n0099 commented Mar 23, 2026

Description

-webkit-margin-{start,end} should map to margin-inline-* instead of margin-block-*
-webkit-margin-{after,before} is mapped by autoprefixer in postcss/autoprefixer#324 (comment) to margin-inline-*, they are also corrected in mdn/browser-compat-data#1897

Motivation

Additional details

Related issues and pull requests

@n0099 n0099 requested a review from a team as a code owner March 23, 2026 16:28
@n0099 n0099 requested review from chrisdavidmills and removed request for a team March 23, 2026 16:28
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed labels Mar 23, 2026
Copy link
Copy Markdown
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

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

This makes sense to me; thanks, @n0099!

@chrisdavidmills chrisdavidmills merged commit 73f3b26 into mdn:main Mar 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants