Skip to content

Commit 32f5f8c

Browse files
vmpstrsvgeesus
authored andcommitted
Update with note
1 parent e29b978 commit 32f5f8c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

cssom-view-1/Overview.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,10 @@ partial interface Element {
11901190
};
11911191
</pre>
11921192

1193+
Note: The {{CheckVisibilityOptions/checkOpacity}} and {{CheckVisibilityOptions/checkVisibilityCSS}} properties are historical names.
1194+
These properties have aliases that match the new naming scheme,
1195+
namely {{CheckVisibilityOptions/opacityProperty}} and {{CheckVisibilityOptions/visibilityProperty}}.
1196+
11931197
The <dfn method for=Element>getClientRects()</dfn> method, when invoked, must return the result of the following algorithm:
11941198

11951199
1. If the element on which it was invoked does not have an associated [=CSS/box=] return an empty {{DOMRectList}} object and stop this algorithm.
@@ -1249,15 +1253,15 @@ Note: The {{DOMRect}} object returned by {{Element/getBoundingClientRect()}} is
12491253
1. If an ancestor of |this| in the [=flat tree=]
12501254
has ''content-visibility: hidden'',
12511255
return false.
1252-
1. If either the {{CheckVisibilityOptions/checkOpacity}}
1253-
or the {{CheckVisibilityOptions/opacityProperty}}
1256+
1. If either the {{CheckVisibilityOptions/opacityProperty}}
1257+
or the {{CheckVisibilityOptions/checkOpacity}}
12541258
dictionary members of |options|
12551259
are true,
12561260
and |this|, or an ancestor of |this| in the [=flat tree=],
12571261
has a computed 'opacity' value of ''0'',
12581262
return false.
1259-
1. If either the {{CheckVisibilityOptions/checkVisibilityCSS}}
1260-
or the {{CheckVisibilityOptions/visibilityProperty}}
1263+
1. If either the {{CheckVisibilityOptions/visibilityProperty}}
1264+
or the {{CheckVisibilityOptions/checkVisibilityCSS}}
12611265
dictionary members of |options|
12621266
are true,
12631267
and |this| is <l spec=css-display>[=invisible=]</l>,

0 commit comments

Comments
 (0)