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): overflow-wrap applies to text elements #705

Merged
merged 3 commits into from
Feb 27, 2024
Merged

fix(css): overflow-wrap applies to text elements #705

merged 3 commits into from
Feb 27, 2024

Conversation

mcmimik
Copy link
Contributor

@mcmimik mcmimik commented Jan 15, 2024

Description

According to the current standard, the property is not applied to inline elements, but to text. See: https://www.w3.org/TR/css-text-3/#overflow-wrap-property

Motivation

Aligning MDN documentation with current version of W3C standard.

Additional details

In the 2018 version of the "CSS Text Module Level 3", the overflow-wrap property was applied to inline boxes. This was updated in the 2020 revision, changing its application to text.

According to the current standard, the property is not applied to inline elements, but to text. See: https://www.w3.org/TR/css-text-3/#overflow-wrap-property
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.

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Feb 16, 2024
@github-actions github-actions bot removed the idle Issues and pull requests with no activity for three months. label Feb 23, 2024
@bsmth bsmth changed the title Fixed what the property overflow-wrap applies to fix(css): overflow-wrap applies to text elements Feb 27, 2024
Copy link
Member

@bsmth bsmth 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!

@bsmth bsmth merged commit 6732de5 into mdn:main Feb 27, 2024
3 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.

bsmth pushed a commit that referenced this pull request Feb 27, 2024
🤖 I have created a release *beep* *boop*
---


## [2.4.2](v2.4.1...v2.4.2)
(2024-02-27)


### Bug Fixes

* **css:** overflow-wrap applies to text elements
([#705](#705))
([6732de5](6732de5))
* Update font-palette animation type
([#716](#716))
([cd8d5db](cd8d5db))

---
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.

2 participants