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

Adding the data for the container* properties #657

Merged
merged 6 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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