Skip to content

Commit

Permalink
Adds CSS abstract types to existing property features (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
vwallen authored Nov 6, 2024
1 parent c072952 commit 9d4f8aa
Show file tree
Hide file tree
Showing 14 changed files with 136 additions and 0 deletions.
1 change: 1 addition & 0 deletions features/animations-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 13 additions & 0 deletions features/animations-css.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions features/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions features/content.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions features/font-face.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ compat_features:
- api.CSSFontFaceRule
- api.CSSFontFaceRule.style
- css.at-rules.font-face.unicode-range
- css.types.url
13 changes: 13 additions & 0 deletions features/font-face.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions features/opacity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
26 changes: 26 additions & 0 deletions features/opacity.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
9 changes: 9 additions & 0 deletions features/transforms2d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
57 changes: 57 additions & 0 deletions features/transforms2d.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions features/width-height.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions features/width-height.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions features/z-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ compat_features:
- css.properties.z-index
- css.properties.z-index.auto
- css.properties.z-index.negative_values
- css.types.integer
1 change: 1 addition & 0 deletions features/z-index.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d4f8aa

Please sign in to comment.