Skip to content

Commit 6732de5

Browse files
mcmimikbsmth
andauthored
fix(css): overflow-wrap applies to text elements (#705)
### 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](https://www.w3.org/TR/2018/WD-css-text-3-20180920/#ref-for-inline-box%E2%91%A6) of the "CSS Text Module Level 3", the `overflow-wrap` property was applied to _inline boxes_. This was updated in the [2020 revision](https://www.w3.org/TR/2020/CR-css-text-3-20201222/#overflow-wrap-property), changing its application to _text_. Co-authored-by: Brian Thomas Smith <[email protected]>
1 parent cd8d5db commit 6732de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: css/properties.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7566,7 +7566,7 @@
75667566
"CSS Text"
75677567
],
75687568
"initial": "normal",
7569-
"appliesto": "nonReplacedInlineElements",
7569+
"appliesto": "textElements",
75707570
"computed": "asSpecified",
75717571
"order": "uniqueOrder",
75727572
"status": "standard",

0 commit comments

Comments
 (0)