Skip to content

Commit a325940

Browse files
Add many missing CSS property values (added since ~2015) (#28138)
This PR is a part of a process to add all of the missing spec-defined CSS property values. These values are added by the mdn-bcd-collector, following an upgrade of Webref CSS to v7 and directly parsing the syntax for each property. This specific PR focuses on CSS property values that were added in browser versions after ~2012. This PR includes a combination of values added when the properties were introduced, as well as values added afterwards. Any values that didn't seem plausible were omitted. Spec URLs were obtained for as many values as possible. Notes: - Chrome: Chrome 15+ was tested, with only a few versions that failed to be tested. - Firefox: Firefox 5 through 49 crashed during tests, so no results were obtained for those versions. Versions within this range were guesstimated by parent data, with the intent to fine-tune the version numbers later if needed. - Safari: Not all Safari versions were tested during this process (partially due to a lack of VM access), but test results were collected for every major Safari version. Specific minor versions were inferred by parent data, with the intent to fine-tune the version numbers later if needed. - Properties with Prefixes/Alt. Names: If a property had a prefix or alternative name, and the collector reported that a value was supported in the first version that supported the standard name, then it was assumed that the value was supported from the beginning and had been updated accordingly. - `isolation` Property: Opera was set to a later version (Opera 30 = Chrome 43) than the matching Chrome version (Opera 28 = Chrome 41). Because Opera 30 was from the original wiki migration, it was replaced with mirroring. - `block-size` and `inline-size` Properties: Samsung Internet was set to 5.0, but in the PR that added it (#3457), I found no supporting documentation for that version number. As such, to fix consistency, the data was treated as untrustworthy and replaced with mirroring. --------- Co-authored-by: Claas Augner <[email protected]>
1 parent ba37762 commit a325940

File tree

112 files changed

+17438
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+17438
-13
lines changed

css/properties/animation-composition.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,99 @@
3434
"standard_track": true,
3535
"deprecated": false
3636
}
37+
},
38+
"accumulate": {
39+
"__compat": {
40+
"spec_url": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-composition",
41+
"support": {
42+
"chrome": {
43+
"version_added": "112"
44+
},
45+
"chrome_android": "mirror",
46+
"edge": "mirror",
47+
"firefox": {
48+
"version_added": "115"
49+
},
50+
"firefox_android": "mirror",
51+
"oculus": "mirror",
52+
"opera": "mirror",
53+
"opera_android": "mirror",
54+
"safari": {
55+
"version_added": "16"
56+
},
57+
"safari_ios": "mirror",
58+
"samsunginternet_android": "mirror",
59+
"webview_android": "mirror",
60+
"webview_ios": "mirror"
61+
},
62+
"status": {
63+
"experimental": false,
64+
"standard_track": true,
65+
"deprecated": false
66+
}
67+
}
68+
},
69+
"add": {
70+
"__compat": {
71+
"spec_url": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-composition",
72+
"support": {
73+
"chrome": {
74+
"version_added": "112"
75+
},
76+
"chrome_android": "mirror",
77+
"edge": "mirror",
78+
"firefox": {
79+
"version_added": "115"
80+
},
81+
"firefox_android": "mirror",
82+
"oculus": "mirror",
83+
"opera": "mirror",
84+
"opera_android": "mirror",
85+
"safari": {
86+
"version_added": "16"
87+
},
88+
"safari_ios": "mirror",
89+
"samsunginternet_android": "mirror",
90+
"webview_android": "mirror",
91+
"webview_ios": "mirror"
92+
},
93+
"status": {
94+
"experimental": false,
95+
"standard_track": true,
96+
"deprecated": false
97+
}
98+
}
99+
},
100+
"replace": {
101+
"__compat": {
102+
"spec_url": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-composition",
103+
"support": {
104+
"chrome": {
105+
"version_added": "112"
106+
},
107+
"chrome_android": "mirror",
108+
"edge": "mirror",
109+
"firefox": {
110+
"version_added": "115"
111+
},
112+
"firefox_android": "mirror",
113+
"oculus": "mirror",
114+
"opera": "mirror",
115+
"opera_android": "mirror",
116+
"safari": {
117+
"version_added": "16"
118+
},
119+
"safari_ios": "mirror",
120+
"samsunginternet_android": "mirror",
121+
"webview_android": "mirror",
122+
"webview_ios": "mirror"
123+
},
124+
"status": {
125+
"experimental": false,
126+
"standard_track": true,
127+
"deprecated": false
128+
}
129+
}
37130
}
38131
}
39132
}

css/properties/animation-range.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,40 @@
3535
"standard_track": true,
3636
"deprecated": false
3737
}
38+
},
39+
"normal": {
40+
"__compat": {
41+
"spec_url": [
42+
"https://drafts.csswg.org/scroll-animations/#valdef-animation-range-start-normal",
43+
"https://drafts.csswg.org/scroll-animations/#valdef-animation-range-end-normal"
44+
],
45+
"support": {
46+
"chrome": {
47+
"version_added": "115"
48+
},
49+
"chrome_android": "mirror",
50+
"edge": "mirror",
51+
"firefox": {
52+
"version_added": false
53+
},
54+
"firefox_android": "mirror",
55+
"oculus": "mirror",
56+
"opera": "mirror",
57+
"opera_android": "mirror",
58+
"safari": {
59+
"version_added": "26"
60+
},
61+
"safari_ios": "mirror",
62+
"samsunginternet_android": "mirror",
63+
"webview_android": "mirror",
64+
"webview_ios": "mirror"
65+
},
66+
"status": {
67+
"experimental": false,
68+
"standard_track": true,
69+
"deprecated": false
70+
}
71+
}
3872
}
3973
}
4074
}

css/properties/animation-timeline.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,68 @@
4242
"deprecated": false
4343
}
4444
},
45+
"auto": {
46+
"__compat": {
47+
"spec_url": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-auto",
48+
"support": {
49+
"chrome": {
50+
"version_added": "115"
51+
},
52+
"chrome_android": "mirror",
53+
"edge": "mirror",
54+
"firefox": {
55+
"version_added": false
56+
},
57+
"firefox_android": "mirror",
58+
"oculus": "mirror",
59+
"opera": "mirror",
60+
"opera_android": "mirror",
61+
"safari": {
62+
"version_added": "26"
63+
},
64+
"safari_ios": "mirror",
65+
"samsunginternet_android": "mirror",
66+
"webview_android": "mirror",
67+
"webview_ios": "mirror"
68+
},
69+
"status": {
70+
"experimental": false,
71+
"standard_track": true,
72+
"deprecated": false
73+
}
74+
}
75+
},
76+
"none": {
77+
"__compat": {
78+
"spec_url": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-none",
79+
"support": {
80+
"chrome": {
81+
"version_added": "115"
82+
},
83+
"chrome_android": "mirror",
84+
"edge": "mirror",
85+
"firefox": {
86+
"version_added": false
87+
},
88+
"firefox_android": "mirror",
89+
"oculus": "mirror",
90+
"opera": "mirror",
91+
"opera_android": "mirror",
92+
"safari": {
93+
"version_added": "26"
94+
},
95+
"safari_ios": "mirror",
96+
"samsunginternet_android": "mirror",
97+
"webview_android": "mirror",
98+
"webview_ios": "mirror"
99+
},
100+
"status": {
101+
"experimental": false,
102+
"standard_track": true,
103+
"deprecated": false
104+
}
105+
}
106+
},
45107
"scroll": {
46108
"__compat": {
47109
"description": "`scroll()`",

css/properties/backdrop-filter.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,37 @@
5050
"standard_track": true,
5151
"deprecated": false
5252
}
53+
},
54+
"none": {
55+
"__compat": {
56+
"spec_url": "https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty",
57+
"support": {
58+
"chrome": {
59+
"version_added": "76"
60+
},
61+
"chrome_android": "mirror",
62+
"edge": "mirror",
63+
"firefox": {
64+
"version_added": "103"
65+
},
66+
"firefox_android": "mirror",
67+
"oculus": "mirror",
68+
"opera": "mirror",
69+
"opera_android": "mirror",
70+
"safari": {
71+
"version_added": "9"
72+
},
73+
"safari_ios": "mirror",
74+
"samsunginternet_android": "mirror",
75+
"webview_android": "mirror",
76+
"webview_ios": "mirror"
77+
},
78+
"status": {
79+
"experimental": false,
80+
"standard_track": true,
81+
"deprecated": false
82+
}
83+
}
5384
}
5485
}
5586
}

css/properties/block-size.json

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
}
4141
],
4242
"safari_ios": "mirror",
43-
"samsunginternet_android": {
44-
"version_added": "5.0"
45-
},
43+
"samsunginternet_android": "mirror",
4644
"webview_android": "mirror",
4745
"webview_ios": "mirror"
4846
},
@@ -88,8 +86,40 @@
8886
}
8987
}
9088
},
89+
"auto": {
90+
"__compat": {
91+
"spec_url": "https://drafts.csswg.org/css-sizing-3/#propdef-width:~:text=width%2C%20height-,Value%3A,auto,-%7C%20%3Clength%2Dpercentage",
92+
"support": {
93+
"chrome": {
94+
"version_added": "8"
95+
},
96+
"chrome_android": "mirror",
97+
"edge": "mirror",
98+
"firefox": {
99+
"version_added": "41"
100+
},
101+
"firefox_android": "mirror",
102+
"oculus": "mirror",
103+
"opera": "mirror",
104+
"opera_android": "mirror",
105+
"safari": {
106+
"version_added": "5.1"
107+
},
108+
"safari_ios": "mirror",
109+
"samsunginternet_android": "mirror",
110+
"webview_android": "mirror",
111+
"webview_ios": "mirror"
112+
},
113+
"status": {
114+
"experimental": false,
115+
"standard_track": true,
116+
"deprecated": false
117+
}
118+
}
119+
},
91120
"fit-content": {
92121
"__compat": {
122+
"spec_url": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
93123
"tags": [
94124
"web-features:logical-properties"
95125
],
@@ -248,6 +278,37 @@
248278
"deprecated": false
249279
}
250280
}
281+
},
282+
"stretch": {
283+
"__compat": {
284+
"spec_url": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
285+
"support": {
286+
"chrome": {
287+
"version_added": "138"
288+
},
289+
"chrome_android": "mirror",
290+
"edge": "mirror",
291+
"firefox": {
292+
"version_added": false
293+
},
294+
"firefox_android": "mirror",
295+
"oculus": "mirror",
296+
"opera": "mirror",
297+
"opera_android": "mirror",
298+
"safari": {
299+
"version_added": false
300+
},
301+
"safari_ios": "mirror",
302+
"samsunginternet_android": "mirror",
303+
"webview_android": "mirror",
304+
"webview_ios": "mirror"
305+
},
306+
"status": {
307+
"experimental": true,
308+
"standard_track": true,
309+
"deprecated": false
310+
}
311+
}
251312
}
252313
}
253314
}

0 commit comments

Comments
 (0)