You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1246,15 +1249,25 @@ Note: The {{DOMRect}} object returned by {{Element/getBoundingClientRect()}} is
1246
1249
1. If an ancestor of |this| in the [=flat tree=]
1247
1250
has ''content-visibility: hidden'',
1248
1251
return false.
1249
-
1. If the {{CheckVisibilityOptions/checkOpacity}} dictionary member of |options|
1250
-
is true,
1252
+
1. If either the {{CheckVisibilityOptions/checkOpacity}}
1253
+
or the {{CheckVisibilityOptions/opacityProperty}}
1254
+
dictionary members of |options|
1255
+
are true,
1251
1256
and |this|, or an ancestor of |this| in the [=flat tree=],
1252
1257
has a computed 'opacity' value of ''0'',
1253
1258
return false.
1254
-
1. If the {{CheckVisibilityOptions/checkVisibilityCSS}} dictionary member of |options|
1255
-
is true,
1259
+
1. If either the {{CheckVisibilityOptions/checkVisibilityCSS}}
1260
+
or the {{CheckVisibilityOptions/visibilityProperty}}
1261
+
dictionary members of |options|
1262
+
are true,
1256
1263
and |this| is <l spec=css-display>[=invisible=]</l>,
1257
1264
return false.
1265
+
1. If the {{CheckVisibilityOptions/contentVisibilityAuto}} dictionary member of |options|
1266
+
is true
1267
+
and an ancestor of |this| in the [=flat tree=]
1268
+
[=skips its contents=]
1269
+
due to ''content-visibility: auto'',
1270
+
return false.
1258
1271
1. Return true.
1259
1272
</div>
1260
1273
@@ -1984,6 +1997,7 @@ generally not listed.
1984
1997
<h3 id='changes-from-2022-07-07' class=no-num>Changes From 07 July 2022</h3>
1985
1998
* Introduced the {{VisualViewport}} API and related concepts
1986
1999
* Pinch zoom is now renamed to <a>scale factor</a>
2000
+
* Added visibilityProperty, opacityProperty, and contentVisiblityAuto properties for {{Element/checkVisibility()}} method.
1987
2001
1988
2002
<h3 id='changes-from-2022-06-22' class=no-num>Changes From 22 June 2022</h3>
1989
2003
* Adam Argyle moved the <a event>scrollend</a> event from <a href="https://wicg.github.io/overscroll-scrollend-events/">WICG overscroll-scrollend-events</a> to [[CSSOM-VIEW-1]]
0 commit comments