Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(css): Remove ::first-line from margin* props #706

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Jan 20, 2024

Description

Correct the alsoAppliesTo for the CSS margin and margin-{top,bottom,left,right.trim} properties.

Motivation

The data claims that margin* properties apply to the ::first-line pseudoelement, which is untrue. They apply to ::first-letter, but not ::first-line. As reported by @Akindin in mdn/content#31806.

Additional details

Related issues and pull requests

Fixes mdn/content#31806

Copy link
Contributor

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

Copy link
Contributor

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

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

👍 thank you @ferdnyc !

@wbamberg wbamberg merged commit 8858ac6 into mdn:main Jan 20, 2024
4 checks passed
Copy link
Contributor

Congratulations on your first merged pull request. 🎉 Thank you for your contribution! Did you know we have a project board with high-impact contribution opportunities? We look forward to your next contribution.

@ferdnyc ferdnyc deleted the first-line branch January 21, 2024 02:19
teoli2003 pushed a commit that referenced this pull request Jan 21, 2024
🤖 I have created a release *beep* *boop*
---


## [2.3.5](v2.3.4...v2.3.5)
(2024-01-20)


### Bug Fixes

* **css:** Remove ::first-line from margin* props
([#706](#706))
([8858ac6](8858ac6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

margin-left don't applies to ::first-line
2 participants