Skip to content

Commit

Permalink
feat(css): add field-sizing property (#718)
Browse files Browse the repository at this point in the history
* Add field-sizing property

* Add group to field-sizing

* Update field-sizing initial and appliesto fields
  • Loading branch information
chrisdavidmills authored Apr 25, 2024
1 parent 2aac63f commit 3df37e7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -4637,6 +4637,22 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/empty-cells"
},
"field-sizing": {
"syntax": "content | fixed",
"media": "visual",
"inherited": false,
"animationType": "discrete",
"percentages": "no",
"groups": [
"CSS Basic User Interface"
],
"initial": "fixed",
"appliesto": "elementsWithDefaultPreferredSize",
"computed": "asSpecified",
"order": "perGrammar",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/field-sizing"
},
"filter": {
"syntax": "none | <filter-function-list>",
"media": "visual",
Expand Down
1 change: 1 addition & 0 deletions css/properties.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"elementsForWhichLayoutContainmentCanApply",
"elementsForWhichSizeContainmentCanApply",
"elementsThatAcceptInput",
"elementsWithDefaultPreferredSize",
"elementsWithDisplayBoxOrInlineBox",
"elementsWithDisplayMarker",
"elementsWithDisplayMozBoxMozInlineBox",
Expand Down
3 changes: 3 additions & 0 deletions l10n/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,9 @@
"elementsForWhichSizeContainmentCanApply": {
"en-US": "elements for which size containment can apply"
},
"elementsWithDefaultPreferredSize": {
"en-US": "Elements with default preferred size"
},
"elementsWithDisplayBoxOrInlineBox": {
"de": "Elemente mit einem CSS {{cssxref(\"display\")}} Wert von <code>box</code> oder <code>inline-box</code>",
"en-US": "elements with a CSS {{cssxref(\"display\")}} value of <code>box</code> or <code>inline-box</code>",
Expand Down

0 comments on commit 3df37e7

Please sign in to comment.