Skip to content

Commit

Permalink
feat(css): Add data for text-box-* (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Dec 17, 2024
1 parent 1f30436 commit ba25aa2
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
45 changes: 45 additions & 0 deletions css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -9774,6 +9774,51 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-anchor"
},
"text-box": {
"syntax": "normal | <'text-box-trim'> || <'text-box-edge'>",
"media": "visual",
"inherited": false,
"animationType": "discrete",
"percentages": "no",
"groups": [
"CSS Inline"
],
"initial": "normal",
"appliesto": "blockContainersAndInlineBoxes",
"computed": "theSpecifiedKeyword",
"order": "perGrammar",
"status": "standard"
},
"text-box-edge": {
"syntax": "auto | <text-edge>",
"media": "visual",
"inherited": false,
"animationType": "discrete",
"percentages": "no",
"groups": [
"CSS Inline"
],
"initial": "auto",
"appliesto": "blockContainersAndInlineBoxes",
"computed": "theSpecifiedKeyword",
"order": "perGrammar",
"status": "standard"
},
"text-box-trim": {
"syntax": "none | trim-start | trim-end | trim-both",
"media": "visual",
"inherited": false,
"animationType": "discrete",
"percentages": "no",
"groups": [
"CSS Inline"
],
"initial": "none",
"appliesto": "blockContainersAndInlineBoxes",
"computed": "theSpecifiedKeyword",
"order": "perGrammar",
"status": "standard"
},
"text-combine-upright": {
"syntax": "none | all | [ digits <integer>? ]",
"media": "visual",
Expand Down
2 changes: 2 additions & 0 deletions css/properties.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
"specifiedValueNumberClipped0To1",
"theComputedLengthAndVisualBox",
"theKeywordListStyleImageNoneOrComputedValue",
"theSpecifiedKeyword",
"translucentValuesRGBAOtherwiseRGB",
"twoAbsoluteLengthOrPercentages",
"twoAbsoluteLengths"
Expand Down Expand Up @@ -207,6 +208,7 @@
"beforeAndAfterPseudos",
"blockContainerElements",
"blockContainers",
"blockContainersAndInlineBoxes",
"blockContainersAndMultiColumnContainers",
"blockContainersExceptMultiColumnContainers",
"blockContainersExceptTableWrappers",
Expand Down
3 changes: 3 additions & 0 deletions css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,9 @@
"target-text()": {
"syntax": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"
},
"text-edge": {
"syntax": "[ text | cap | ex | ideographic | ideographic-ink ] [ text | alphabetic | ideographic | ideographic-ink ]?"
},
"time-percentage": {
"syntax": "<time> | <percentage>"
},
Expand Down
6 changes: 6 additions & 0 deletions l10n/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@
"ru": "блочные контейнеры",
"zh-CN": "区块容器"
},
"blockContainersAndInlineBoxes": {
"en-US": "Block containers and inline boxes"
},
"blockContainersAndMultiColumnContainers": {
"de": "Blockcontainer und mehrspaltige Container",
"en-US": "Block containers and multi-column containers",
Expand Down Expand Up @@ -1787,6 +1790,9 @@
"theKeywordListStyleImageNoneOrComputedValue": {
"en-US": "The keyword <code>none</code> or the computed &lt;image&gt;"
},
"theSpecifiedKeyword": {
"en-US": "the specified keyword"
},
"transform": {
"de": "Transformation",
"en-US": "a transform",
Expand Down

0 comments on commit ba25aa2

Please sign in to comment.