Skip to content

Commit

Permalink
Merge pull request #657 from yarusome/container
Browse files Browse the repository at this point in the history
Adding the data for the `container*` properties
  • Loading branch information
wbamberg authored Mar 30, 2023
2 parents 3cd5d02 + cf8af17 commit d0e0fce
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 3 deletions.
62 changes: 61 additions & 1 deletion css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@
],
"initial": "auto",
"appliesto": "allElements",
"computed": "listEachItemIdentifyerOrNoneAuto",
"computed": "listEachItemIdentifierOrNoneAuto",
"order": "uniqueOrder",
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline"
Expand Down Expand Up @@ -4348,6 +4348,66 @@
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width"
},
"container": {
"syntax": "<'container-name'> [ / <'container-type'> ]?",
"media": "visual",
"inherited": false,
"animationType": [
"container-name",
"container-type"
],
"percentages": [
"container-name",
"container-type"
],
"groups": [
"CSS Containment"
],
"initial": [
"container-name",
"container-type"
],
"appliesto": "allElements",
"computed": [
"container-name",
"container-type"
],
"order": "perGrammar",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/container"
},
"container-name": {
"syntax": "none | <custom-ident>+",
"media": "visual",
"inherited": false,
"animationType": "notAnimatable",
"percentages": "no",
"groups": [
"CSS Containment"
],
"initial": "none",
"appliesto": "allElements",
"computed": "noneOrOrderedListOfIdentifiers",
"order": "perGrammar",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/container-name"
},
"container-type": {
"syntax": "normal | size | inline-size",
"media": "visual",
"inherited": false,
"animationType": "color",
"percentages": "no",
"groups": [
"CSS Containment"
],
"initial": "normal",
"appliesto": "allElements",
"computed": "asSpecified",
"order": "perGrammar",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/container-type"
},
"content": {
"syntax": "normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> ]+ ]?",
"media": "all",
Expand Down
3 changes: 2 additions & 1 deletion css/properties.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,10 @@
"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
"listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin",
"listEachItemHasTwoKeywordsOnePerDimension",
"listEachItemIdentifyerOrNoneAuto",
"listEachItemIdentifierOrNoneAuto",
"listEachItemTwoKeywordsOriginOffsets",
"noneOrImageWithAbsoluteURI",
"noneOrOrderedListOfIdentifiers",
"normalizedAngle",
"normalOnElementsForPseudosNoneAbsoluteURIStringOrAsSpecified",
"oneToFourPercentagesOrAbsoluteLengthsPlusFill",
Expand Down
5 changes: 4 additions & 1 deletion l10n/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@
"ja": "1 つの方向につき 2 つのキーワードで構成される項目のリスト",
"ru": "список, каждый элемент которого содержит 2 ключевых слова, по одному на размер"
},
"listEachItemIdentifyerOrNoneAuto": {
"listEachItemIdentifierOrNoneAuto": {
"en-US": "a list, each item either a case-sensitive CSS identifier or the keywords <code>none</code>, <code>auto</code>"
},
"listEachItemTwoKeywordsOriginOffsets": {
Expand Down Expand Up @@ -1047,6 +1047,9 @@
"ja": "<code>none</code> または画像の絶対化した URI",
"ru": "<code>none</code> или изображение с абсолютным URI"
},
"noneOrOrderedListOfIdentifiers": {
"en-US": "<code>none</code> or an ordered list of identifiers"
},
"nonReplacedBlockAndInlineBlockElements": {
"de": "nicht ersetzte Blocklevel Elemente und nicht ersetzte Inlineblock Elemente",
"en-US": "non-replaced block-level elements and non-replaced inline-block elements",
Expand Down

0 comments on commit d0e0fce

Please sign in to comment.