Skip to content

Commit 7763fb6

Browse files
authored
Update checkVisibility (#1750)
1 parent 4098116 commit 7763fb6

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

features/check-visibility.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
name: checkVisibility()
22
description: "The `checkVisibility()` method checks if an element is potentially visible, with optional parameters for the kinds of visibility to check. For example, it checks whether the element has the style `display: none`, but can also check for `visibility: hidden`."
33
spec: https://drafts.csswg.org/cssom-view-1/#dom-element-checkvisibility
4+
status:
5+
compute_from: api.Element.checkVisibility
6+
compat_features:
7+
- api.Element.checkVisibility
8+
- api.Element.checkVisibility.options_checkOpacity_parameter
9+
- api.Element.checkVisibility.options_checkVisibilityCSS_parameter
10+
- api.Element.checkVisibility.options_contentVisibilityAuto_parameter
11+
- api.Element.checkVisibility.options_opacityProperty_parameter
12+
- api.Element.checkVisibility.options_visibilityProperty_parameter

features/check-visibility.yml.dist

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,31 @@ status:
1313
safari: "17.4"
1414
safari_ios: "17.4"
1515
compat_features:
16+
# ⬇️ Same status as overall feature ⬇️
17+
# baseline: low
18+
# baseline_low_date: 2024-03-05
19+
# support:
20+
# chrome: "105"
21+
# chrome_android: "105"
22+
# edge: "105"
23+
# firefox: "106"
24+
# firefox_android: "106"
25+
# safari: "17.4"
26+
# safari_ios: "17.4"
1627
- api.Element.checkVisibility
28+
- api.Element.checkVisibility.options_checkOpacity_parameter
29+
- api.Element.checkVisibility.options_checkVisibilityCSS_parameter
30+
31+
# baseline: low
32+
# baseline_low_date: 2024-03-05
33+
# support:
34+
# chrome: "121"
35+
# chrome_android: "121"
36+
# edge: "121"
37+
# firefox: "122"
38+
# firefox_android: "122"
39+
# safari: "17.4"
40+
# safari_ios: "17.4"
41+
- api.Element.checkVisibility.options_contentVisibilityAuto_parameter
42+
- api.Element.checkVisibility.options_opacityProperty_parameter
43+
- api.Element.checkVisibility.options_visibilityProperty_parameter

0 commit comments

Comments
 (0)