From 3bb4856267e34fcd0902286a3206aa69681c0992 Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Tue, 5 Nov 2024 08:36:20 -0800 Subject: [PATCH] Adds CSS abstract types to existing property features --- features/animations-css.yml | 1 + features/animations-css.yml.dist | 13 ++++++++ features/content.yml | 2 ++ features/content.yml.dist | 2 ++ features/font-face.yml | 1 + features/font-face.yml.dist | 13 ++++++++ features/opacity.yml | 2 ++ features/opacity.yml.dist | 26 +++++++++++++++ features/transforms2d.yml | 9 +++++ features/transforms2d.yml.dist | 57 ++++++++++++++++++++++++++++++++ features/width-height.yml | 4 +++ features/width-height.yml.dist | 4 +++ features/z-index.yml | 1 + features/z-index.yml.dist | 1 + 14 files changed, 136 insertions(+) diff --git a/features/animations-css.yml b/features/animations-css.yml index 665eeef7762..a620a9aa192 100644 --- a/features/animations-css.yml +++ b/features/animations-css.yml @@ -51,3 +51,4 @@ compat_features: - css.properties.animation-play-state.running - css.properties.animation-timing-function - css.properties.animation-timing-function.jump + - css.types.time diff --git a/features/animations-css.yml.dist b/features/animations-css.yml.dist index 9dd5a8135e5..245cc3cf9f5 100644 --- a/features/animations-css.yml.dist +++ b/features/animations-css.yml.dist @@ -14,6 +14,19 @@ status: safari: "9" safari_ios: "9" compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - css.types.time + # baseline: high # baseline_low_date: 2015-09-30 # baseline_high_date: 2018-03-30 diff --git a/features/content.yml b/features/content.yml index 8374dc76f44..02384589fa9 100644 --- a/features/content.yml +++ b/features/content.yml @@ -12,3 +12,5 @@ compat_features: - css.properties.content.none_applies_to_elements - css.properties.content.normal - css.properties.content.url + - css.types.string + - css.types.string.unicode_escaped_characters diff --git a/features/content.yml.dist b/features/content.yml.dist index 590d4ba7ff2..4a4a0167d13 100644 --- a/features/content.yml.dist +++ b/features/content.yml.dist @@ -30,6 +30,8 @@ compat_features: - css.properties.content.none - css.properties.content.normal - css.properties.content.url + - css.types.string + - css.types.string.unicode_escaped_characters # baseline: high # baseline_low_date: 2020-01-15 diff --git a/features/font-face.yml b/features/font-face.yml index 6540dcc2699..6e6189bf066 100644 --- a/features/font-face.yml +++ b/features/font-face.yml @@ -14,3 +14,4 @@ compat_features: - api.CSSFontFaceRule - api.CSSFontFaceRule.style - css.at-rules.font-face.unicode-range + - css.types.url diff --git a/features/font-face.yml.dist b/features/font-face.yml.dist index 7004ed18553..5cef2793bf0 100644 --- a/features/font-face.yml.dist +++ b/features/font-face.yml.dist @@ -14,6 +14,19 @@ status: safari: "10" safari_ios: "10" compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - css.types.url + # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 diff --git a/features/opacity.yml b/features/opacity.yml index a77e67201af..6e83646cced 100644 --- a/features/opacity.yml +++ b/features/opacity.yml @@ -8,3 +8,5 @@ compat_features: - css.properties.opacity - css.properties.opacity.percentages - svg.global_attributes.opacity + - css.types.number + - css.types.number.scientific_notation diff --git a/features/opacity.yml.dist b/features/opacity.yml.dist index 6310e605f06..15357729ad5 100644 --- a/features/opacity.yml.dist +++ b/features/opacity.yml.dist @@ -14,6 +14,19 @@ status: safari: "2" safari_ios: "1" compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - css.types.number + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 @@ -29,6 +42,19 @@ compat_features: - css.properties.opacity - svg.global_attributes.opacity + # baseline: high + # baseline_low_date: 2017-03-27 + # baseline_high_date: 2019-09-27 + # support: + # chrome: "43" + # chrome_android: "43" + # edge: "12" + # firefox: "29" + # firefox_android: "29" + # safari: "10.1" + # safari_ios: "10.3" + - css.types.number.scientific_notation + # baseline: high # baseline_low_date: 2020-07-28 # baseline_high_date: 2023-01-28 diff --git a/features/transforms2d.yml b/features/transforms2d.yml index 051fcf4c907..b2cd256d442 100644 --- a/features/transforms2d.yml +++ b/features/transforms2d.yml @@ -26,3 +26,12 @@ compat_features: - css.properties.transform-origin.right - css.properties.transform-origin.top - css.properties.transform-origin.three_value_syntax + - css.types.angle + - css.types.angle-percentage + - css.types.angle.deg + - css.types.angle.grad + - css.types.angle.rad + - css.types.angle.turn + - css.types.position + - css.types.position.four_value_syntax + - css.types.position.keyword_value_syntax diff --git a/features/transforms2d.yml.dist b/features/transforms2d.yml.dist index fe9f6c621a7..2b00ed0902b 100644 --- a/features/transforms2d.yml.dist +++ b/features/transforms2d.yml.dist @@ -14,6 +14,20 @@ status: safari: "9" safari_ios: "9" compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - css.types.position + - css.types.position.keyword_value_syntax + # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -38,6 +52,49 @@ compat_features: - css.types.transform-function.translateX - css.types.transform-function.translateY + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3.6" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3.2" + - css.types.angle + - css.types.angle-percentage + - css.types.angle.deg + - css.types.angle.grad + - css.types.angle.rad + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "13" + # firefox_android: "14" + # safari: "4" + # safari_ios: "3.2" + - css.types.angle.turn + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "25" + # chrome_android: "25" + # edge: "12" + # firefox: "13" + # firefox_android: "14" + # safari: "7" + # safari_ios: "7" + - css.types.position.four_value_syntax + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-09-30 diff --git a/features/width-height.yml b/features/width-height.yml index 3ccbff6ab7f..cab1d8a5a89 100644 --- a/features/width-height.yml +++ b/features/width-height.yml @@ -13,3 +13,7 @@ compat_features: - css.properties.width - css.properties.width.is_animatable - css.properties.width.auto + - css.types.dimension + - css.types.length + - css.types.length-percentage + - css.types.percentage diff --git a/features/width-height.yml.dist b/features/width-height.yml.dist index b6249017ae7..cd565ed2d29 100644 --- a/features/width-height.yml.dist +++ b/features/width-height.yml.dist @@ -30,6 +30,10 @@ compat_features: - css.properties.height.auto - css.properties.width - css.properties.width.auto + - css.types.dimension + - css.types.length + - css.types.length-percentage + - css.types.percentage # baseline: high # baseline_low_date: 2015-07-29 diff --git a/features/z-index.yml b/features/z-index.yml index 046e1e542de..044e1614f8e 100644 --- a/features/z-index.yml +++ b/features/z-index.yml @@ -6,3 +6,4 @@ compat_features: - css.properties.z-index - css.properties.z-index.auto - css.properties.z-index.negative_values + - css.types.integer diff --git a/features/z-index.yml.dist b/features/z-index.yml.dist index dfc718f3d51..83a296a01c1 100644 --- a/features/z-index.yml.dist +++ b/features/z-index.yml.dist @@ -27,6 +27,7 @@ compat_features: # safari_ios: "1" - css.properties.z-index - css.properties.z-index.auto + - css.types.integer # ⬇️ Same status as overall feature ⬇️ # baseline: high