Skip to content

Commit fde8688

Browse files
Split overflow and overflow:clip (#2770)
* Split overflow and overflow:clip * Update features/overflow-clip.yml Co-authored-by: James Stuckey Weber <[email protected]> --------- Co-authored-by: James Stuckey Weber <[email protected]>
1 parent a80172d commit fde8688

File tree

4 files changed

+39
-31
lines changed

4 files changed

+39
-31
lines changed

features/overflow-clip.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: "overflow: clip"
2+
description: "The `overflow: clip` CSS declaration clips an element's overflowing content to the box that's defined by the `overflow-clip-margin` property. Unlike `overflow: hidden`, it allows you to hide overflow on one axis while keeping overflow on the other axis visible."
3+
spec: https://drafts.csswg.org/css-overflow-3/#propdef-overflow
4+
group: css
5+
compat_features:
6+
- css.properties.overflow.clip
7+
- css.properties.overflow-x.clip
8+
- css.properties.overflow-y.clip
9+
- css.types.overflow.clip

features/overflow-clip.yml.dist

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Generated from: overflow-clip.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: low
6+
baseline_low_date: 2022-09-12
7+
support:
8+
chrome: "90"
9+
chrome_android: "90"
10+
edge: "90"
11+
firefox: "81"
12+
firefox_android: "81"
13+
safari: "16"
14+
safari_ios: "16"
15+
compat_features:
16+
- css.properties.overflow-x.clip
17+
- css.properties.overflow-y.clip
18+
- css.properties.overflow.clip
19+
- css.types.overflow.clip

features/overflow-shorthand.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,21 @@ description: The `overflow` CSS property sets the behavior for when content does
33
spec: https://drafts.csswg.org/css-overflow-3/#propdef-overflow
44
group: css
55
caniuse: css-overflow
6-
status:
7-
compute_from: css.properties.overflow.clip
86
compat_features:
97
- css.properties.overflow
108
- css.properties.overflow-x
119
- css.properties.overflow-x.auto
12-
- css.properties.overflow-x.clip
1310
- css.properties.overflow-x.hidden
1411
- css.properties.overflow-x.scroll
1512
- css.properties.overflow-x.visible
1613
- css.properties.overflow-y
1714
- css.properties.overflow-y.auto
18-
- css.properties.overflow-y.clip
1915
- css.properties.overflow-y.hidden
2016
- css.properties.overflow-y.scroll
2117
- css.properties.overflow-y.visible
2218
- css.properties.overflow.auto
23-
- css.properties.overflow.clip
2419
- css.properties.overflow.hidden
2520
- css.properties.overflow.multiple_keywords
2621
- css.properties.overflow.scroll
2722
- css.properties.overflow.visible
2823
- css.types.overflow
29-
- css.types.overflow.clip

features/overflow-shorthand.yml.dist

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
# Do not edit this file by hand. Edit the source file instead!
33

44
status:
5-
baseline: low
6-
baseline_low_date: 2022-09-12
5+
baseline: high
6+
baseline_low_date: 2020-03-24
7+
baseline_high_date: 2022-09-24
78
support:
8-
chrome: "90"
9-
chrome_android: "90"
10-
edge: "90"
11-
firefox: "81"
12-
firefox_android: "81"
13-
safari: "16"
14-
safari_ios: "16"
9+
chrome: "68"
10+
chrome_android: "68"
11+
edge: "79"
12+
firefox: "61"
13+
firefox_android: "61"
14+
safari: "13.1"
15+
safari_ios: "13.4"
1516
compat_features:
1617
# baseline: high
1718
# baseline_low_date: 2015-07-29
@@ -89,6 +90,7 @@ compat_features:
8990
- css.properties.overflow-y.scroll
9091
- css.properties.overflow-y.visible
9192

93+
# ⬇️ Same status as overall feature ⬇️
9294
# baseline: high
9395
# baseline_low_date: 2020-03-24
9496
# baseline_high_date: 2022-09-24
@@ -101,19 +103,3 @@ compat_features:
101103
# safari: "13.1"
102104
# safari_ios: "13.4"
103105
- css.properties.overflow.multiple_keywords
104-
105-
# ⬇️ Same status as overall feature ⬇️
106-
# baseline: low
107-
# baseline_low_date: 2022-09-12
108-
# support:
109-
# chrome: "90"
110-
# chrome_android: "90"
111-
# edge: "90"
112-
# firefox: "81"
113-
# firefox_android: "81"
114-
# safari: "16"
115-
# safari_ios: "16"
116-
- css.properties.overflow-x.clip
117-
- css.properties.overflow-y.clip
118-
- css.properties.overflow.clip
119-
- css.types.overflow.clip

0 commit comments

Comments
 (0)