Skip to content

Commit ef18b7f

Browse files
feat(css): add caret-animation (#1039)
Co-authored-by: Ruth John <Rumyra@users.noreply.github.com>
1 parent 95d0b81 commit ef18b7f

3 files changed

Lines changed: 27 additions & 4 deletions

File tree

css/properties.json

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3957,11 +3957,12 @@
39573957
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/caption-side"
39583958
},
39593959
"caret": {
3960-
"syntax": "<'caret-color'> || <'caret-shape'>",
3960+
"syntax": "<'caret-color'> || <'caret-animation'> || <'caret-shape'>",
39613961
"media": "interactive",
39623962
"inherited": true,
39633963
"animationType": [
39643964
"caret-color",
3965+
"caret-animation",
39653966
"caret-shape"
39663967
],
39673968
"percentages": "no",
@@ -3970,16 +3971,34 @@
39703971
],
39713972
"initial": [
39723973
"caret-color",
3974+
"caret-animation",
39733975
"caret-shape"
39743976
],
3975-
"appliesto": "elementsThatAcceptInput",
3977+
"appliesto": "textOrElementsThatAcceptInput",
39763978
"computed": [
39773979
"caret-color",
3980+
"caret-animation",
39783981
"caret-shape"
39793982
],
39803983
"order": "perGrammar",
39813984
"status": "standard"
39823985
},
3986+
"caret-animation": {
3987+
"syntax": "auto | manual",
3988+
"media": "interactive",
3989+
"inherited": true,
3990+
"animationType": "discrete",
3991+
"percentages": "no",
3992+
"groups": [
3993+
"CSS Basic User Interface"
3994+
],
3995+
"initial": "auto",
3996+
"appliesto": "textOrElementsThatAcceptInput",
3997+
"computed": "asSpecified",
3998+
"order": "perGrammar",
3999+
"status": "standard",
4000+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/caret-animation"
4001+
},
39834002
"caret-color": {
39844003
"syntax": "auto | <color>",
39854004
"media": "interactive",
@@ -3990,7 +4009,7 @@
39904009
"CSS Basic User Interface"
39914010
],
39924011
"initial": "auto",
3993-
"appliesto": "allElements",
4012+
"appliesto": "textOrElementsThatAcceptInput",
39944013
"computed": "asAutoOrColor",
39954014
"order": "perGrammar",
39964015
"status": "standard",
@@ -4006,7 +4025,7 @@
40064025
"CSS Basic User Interface"
40074026
],
40084027
"initial": "auto",
4009-
"appliesto": "elementsThatAcceptInput",
4028+
"appliesto": "textOrElementsThatAcceptInput",
40104029
"computed": "asSpecified",
40114030
"order": "perGrammar",
40124031
"status": "standard"

css/properties.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@
297297
"textAndBlockContainers",
298298
"textAndSVGShapes",
299299
"textElements",
300+
"textOrElementsThatAcceptInput",
300301
"textFields",
301302
"transformableElements"
302303
]

l10n/css.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,6 +1931,9 @@
19311931
"zh-CN": "文本元素",
19321932
"zh-TW": "文字元素"
19331933
},
1934+
"textOrElementsThatAcceptInput": {
1935+
"en-US": "Text or elements that accept text input"
1936+
},
19341937
"textFields": {
19351938
"de": "Textfelder",
19361939
"en-US": "text fields",

0 commit comments

Comments
 (0)