Skip to content

Commit b59751e

Browse files
feat(css): add remaining missing formal definitions (#1041)
1 parent ef18b7f commit b59751e

4 files changed

Lines changed: 181 additions & 0 deletions

File tree

css/properties.json

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,6 +2383,22 @@
23832383
"order": "perGrammar",
23842384
"status": "standard"
23852385
},
2386+
"baseline-source": {
2387+
"syntax": "auto | first | last",
2388+
"media": "visual",
2389+
"inherited": false,
2390+
"animationType": "discrete",
2391+
"percentages": "no",
2392+
"groups": [
2393+
"CSS Inline"
2394+
],
2395+
"initial": "auto",
2396+
"appliesto": "inlineLevelBoxes",
2397+
"computed": "asSpecified",
2398+
"order": "perGrammar",
2399+
"status": "standard",
2400+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/baseline-source"
2401+
},
23862402
"block-size": {
23872403
"syntax": "<'width'>",
23882404
"media": "visual",
@@ -4728,6 +4744,22 @@
47284744
"status": "standard",
47294745
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/dominant-baseline"
47304746
},
4747+
"dynamic-range-limit": {
4748+
"syntax": "standard | no-limit | constrained | <dynamic-range-limit-mix()>",
4749+
"media": "visual",
4750+
"inherited": true,
4751+
"animationType": "byDynamicRangeLimitMix",
4752+
"percentages": "no",
4753+
"groups": [
4754+
"CSS Color"
4755+
],
4756+
"initial": "no-limit",
4757+
"appliesto": "allElements",
4758+
"computed": "computedValueForDynamicRangeLimit",
4759+
"order": "perGrammar",
4760+
"status": "standard",
4761+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/dynamic-range-limit"
4762+
},
47314763
"empty-cells": {
47324764
"syntax": "show | hide",
47334765
"media": "visual",
@@ -6390,6 +6422,79 @@
63906422
"status": "standard",
63916423
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/isolation"
63926424
},
6425+
"interactivity": {
6426+
"syntax": "auto | inert",
6427+
"media": "visual",
6428+
"inherited": true,
6429+
"animationType": "discrete",
6430+
"percentages": "no",
6431+
"groups": [
6432+
"CSS Basic User Interface"
6433+
],
6434+
"initial": "auto",
6435+
"appliesto": "allElements",
6436+
"computed": "asSpecified",
6437+
"order": "perGrammar",
6438+
"status": "standard",
6439+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/interactivity"
6440+
},
6441+
"interest-delay": {
6442+
"syntax": "<'interest-delay-start'>{1,2}",
6443+
"media": "visual",
6444+
"inherited": true,
6445+
"animationType": [
6446+
"interest-delay-start",
6447+
"interest-delay-end"
6448+
],
6449+
"percentages": "no",
6450+
"groups": [
6451+
"CSS Basic User Interface"
6452+
],
6453+
"initial": [
6454+
"interest-delay-start",
6455+
"interest-delay-end"
6456+
],
6457+
"appliesto": "allElements",
6458+
"computed": [
6459+
"interest-delay-start",
6460+
"interest-delay-end"
6461+
],
6462+
"order": "perGrammar",
6463+
"status": "standard",
6464+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/interest-delay-end"
6465+
},
6466+
"interest-delay-end": {
6467+
"syntax": "normal | <time>",
6468+
"media": "visual",
6469+
"inherited": true,
6470+
"animationType": "byComputedValueType",
6471+
"percentages": "no",
6472+
"groups": [
6473+
"CSS Basic User Interface"
6474+
],
6475+
"initial": "normal",
6476+
"appliesto": "allElements",
6477+
"computed": "normalOrComputedTime",
6478+
"order": "perGrammar",
6479+
"status": "standard",
6480+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/interest-delay-end"
6481+
},
6482+
"interest-delay-start": {
6483+
"syntax": "normal | <time>",
6484+
"media": "visual",
6485+
"inherited": true,
6486+
"animationType": "byComputedValueType",
6487+
"percentages": "no",
6488+
"groups": [
6489+
"CSS Basic User Interface"
6490+
],
6491+
"initial": "normal",
6492+
"appliesto": "allElements",
6493+
"computed": "normalOrComputedTime",
6494+
"order": "perGrammar",
6495+
"status": "standard",
6496+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/interest-delay-start"
6497+
},
63936498
"justify-content": {
63946499
"syntax": "normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",
63956500
"media": "visual",
@@ -8672,6 +8777,38 @@
86728777
"status": "standard",
86738778
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/r"
86748779
},
8780+
"reading-flow": {
8781+
"syntax": "normal | source-order | flex-visual | flex-flow | grid-rows | grid-columns | grid-order",
8782+
"media": "visual",
8783+
"inherited": false,
8784+
"animationType": "notAnimatable",
8785+
"percentages": "no",
8786+
"groups": [
8787+
"CSS Display"
8788+
],
8789+
"initial": "normal",
8790+
"appliesto": "blockContainersFlexContainersGridContainers",
8791+
"computed": "asSpecified",
8792+
"order": "perGrammar",
8793+
"status": "standard",
8794+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/reading-flow"
8795+
},
8796+
"reading-order": {
8797+
"syntax": "<integer>",
8798+
"media": "visual",
8799+
"inherited": false,
8800+
"animationType": "byComputedValueType",
8801+
"percentages": "no",
8802+
"groups": [
8803+
"CSS Display"
8804+
],
8805+
"initial": "0",
8806+
"appliesto": "blockContainersFlexContainersGridContainers",
8807+
"computed": "specifiedInteger",
8808+
"order": "perGrammar",
8809+
"status": "standard",
8810+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/reading-order"
8811+
},
86758812
"resize": {
86768813
"syntax": "none | both | horizontal | vertical | block | inline",
86778814
"media": "visual",
@@ -10037,6 +10174,27 @@
1003710174
"status": "standard",
1003810175
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"
1003910176
},
10177+
"text-decoration-inset": {
10178+
"syntax": "<length>{1,2} | auto",
10179+
"media": "visual",
10180+
"inherited": false,
10181+
"animationType": "byComputedValue",
10182+
"percentages": "no",
10183+
"groups": [
10184+
"CSS Text Decoration"
10185+
],
10186+
"initial": "0",
10187+
"appliesto": "allElements",
10188+
"computed": "absoluteLengthOrKeyword",
10189+
"order": "perGrammar",
10190+
"alsoAppliesTo": [
10191+
"::first-letter",
10192+
"::first-line",
10193+
"::placeholder"
10194+
],
10195+
"status": "standard",
10196+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration-inset"
10197+
},
1004010198
"text-decoration-line": {
1004110199
"syntax": "none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",
1004210200
"media": "visual",

css/properties.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"byComputedValue",
2222
"byComputedValueType",
2323
"byComputedValueTypeNormalAnimatesAsObliqueZeroDeg",
24+
"byDynamicRangeLimitMix",
2425
"color",
2526
"discrete",
2627
"discreteButVisibleForDurationWhenAnimatedHidden",
@@ -141,6 +142,7 @@
141142
"autoOrAbsoluteLength",
142143
"colorPlusThreeAbsoluteLengths",
143144
"computedColor",
145+
"computedValueForDynamicRangeLimit",
144146
"consistsOfTwoDimensionKeywords",
145147
"consistsOfTwoKeywordsForOriginAndOffsets",
146148
"forLengthAbsoluteValueOtherwisePercentage",
@@ -159,6 +161,7 @@
159161
"noneOrOrderedListOfIdentifiers",
160162
"normalizedAngle",
161163
"normalOnElementsForPseudosNoneAbsoluteURIStringOrAsSpecified",
164+
"normalOrComputedTime",
162165
"oneToFourPercentagesOrAbsoluteLengthsPlusFill",
163166
"optimumValueOfAbsoluteLengthOrNormal",
164167
"percentage",
@@ -170,6 +173,7 @@
170173
"sameAsMaxWidthAndMaxHeight",
171174
"sameAsMinWidthAndMinHeight",
172175
"sameAsWidthAndHeight",
176+
"specifiedInteger",
173177
"specifiedIntegerOrAbsoluteLength",
174178
"specifiedKeywordOrComputedFunction",
175179
"specifiedValue",
@@ -255,6 +259,7 @@
255259
"inlineBoxesAndBlockContainers",
256260
"inFlowChildrenOfBoxElements",
257261
"inlineLevelAndTableCellElements",
262+
"inlineLevelBoxes",
258263
"inlineLevelBoxesAndSVGTextContentElements",
259264
"inlineLevelBoxesFlexItemsGridItemsTableCellsAndSVGTextContentElements",
260265
"limitedSVGElements",

css/syntaxes.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@
323323
"drop-shadow()": {
324324
"syntax": "drop-shadow( [ <color>? && <length>{2,3} ] )"
325325
},
326+
"dynamic-range-limit-mix()": {
327+
"syntax": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )"
328+
},
326329
"easing-function": {
327330
"syntax": "<linear-easing-function> | <cubic-bezier-easing-function> | <step-easing-function>"
328331
},

l10n/css.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,9 @@
679679
"byComputedValueTypeNormalAnimatesAsObliqueZeroDeg": {
680680
"en-US": "by computed value type; <code>normal</code> animates as <code>oblique 0deg</code>"
681681
},
682+
"byDynamicRangeLimitMix": {
683+
"en-US": "By <a href=\"/en-US/docs/Web/CSS/Reference/Values/dynamic-range-limit-mix\"><code>dynamic-range-limit-mix()</code></a>"
684+
},
682685
"canonicalOrder": {
683686
"de": "Kanonische Reihenfolge",
684687
"en-US": "Canonical order",
@@ -716,6 +719,9 @@
716719
"ru": "вычисленный цвет",
717720
"zh-CN": "颜色计算值"
718721
},
722+
"computedValueForDynamicRangeLimit": {
723+
"en-US": "See <a href=\"https://drafts.csswg.org/css-color-hdr/#computing-dynamic-range-limit\">Computed value for dynamic-range-limit</a>"
724+
},
719725
"consistsOfTwoDimensionKeywords": {
720726
"de": "Besteht aus zwei Schlüsselwörtern, einem pro Richtung",
721727
"en-US": "Consists of two keywords, one per dimension",
@@ -978,6 +984,9 @@
978984
"ru": "строчным элементам и ячейкам таблиц",
979985
"zh-TW": "行內層和表格儲存格元素"
980986
},
987+
"inlineLevelBoxes": {
988+
"en-US": "inline-level boxes"
989+
},
981990
"inlineLevelBoxesAndSVGTextContentElements": {
982991
"en-US": "inline-level boxes and SVG text content elements"
983992
},
@@ -1328,6 +1337,9 @@
13281337
"ja": "要素の場合は、常に <code>normal</code> と計算される。 {{cssxref(\"::before\")}} および {{cssxref(\"::after\")}} の場合、 <code>normal</code> が指定されていれば計算値は <code>none</code>。それ以外の場合、 URI 値の場合は絶対 URI、 <code>attr()</code> 値の場合は結果の文字列、その他のキーワードについては指定通り。",
13291338
"ru": "На элементах всегда вычисляется как <code>normal</code>. На {{cssxref(\"::before\")}} и {{cssxref(\"::after\")}}, если <code>normal</code> указано, интерпретируется как <code>none</code>. Иначе, для значений URI, абсолютного URI; для значений <code>attr()</code> - результирующая строка; для других ключевых слов, как указано."
13301339
},
1340+
"normalOrComputedTime": {
1341+
"en-US": "<code>normal</code> or a computed time"
1342+
},
13311343
"notAnimatable": {
13321344
"en-US": "Not animatable",
13331345
"ja": "アニメーション不可",
@@ -1851,6 +1863,9 @@
18511863
"en-US": "simple list of length, percentage, or calc, provided the only differences are in the values of the length, percentage, or calc components in the list",
18521864
"ja": "長さ、パーセント値、 calc の単純なリストであり、唯一の違いはリスト内の長さ、パーセント値、 calc の部分の値のみ"
18531865
},
1866+
"specifiedInteger": {
1867+
"en-US": "The specified integer"
1868+
},
18541869
"specifiedIntegerOrAbsoluteLength": {
18551870
"de": "die angegebene Ganzzahl oder eine absolute Länge",
18561871
"en-US": "the specified integer or an absolute length",

0 commit comments

Comments
 (0)