Skip to content

Commit

Permalink
Update with note
Browse files Browse the repository at this point in the history
  • Loading branch information
vmpstr authored and svgeesus committed Jan 24, 2024
1 parent e29b978 commit 32f5f8c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions cssom-view-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,10 @@ partial interface Element {
};
</pre>

Note: The {{CheckVisibilityOptions/checkOpacity}} and {{CheckVisibilityOptions/checkVisibilityCSS}} properties are historical names.
These properties have aliases that match the new naming scheme,
namely {{CheckVisibilityOptions/opacityProperty}} and {{CheckVisibilityOptions/visibilityProperty}}.

The <dfn method for=Element>getClientRects()</dfn> method, when invoked, must return the result of the following algorithm:

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.
Expand Down Expand Up @@ -1249,15 +1253,15 @@ Note: The {{DOMRect}} object returned by {{Element/getBoundingClientRect()}} is
1. If an ancestor of |this| in the [=flat tree=]
has ''content-visibility: hidden'',
return false.
1. If either the {{CheckVisibilityOptions/checkOpacity}}
or the {{CheckVisibilityOptions/opacityProperty}}
1. If either the {{CheckVisibilityOptions/opacityProperty}}
or the {{CheckVisibilityOptions/checkOpacity}}
dictionary members of |options|
are true,
and |this|, or an ancestor of |this| in the [=flat tree=],
has a computed 'opacity' value of ''0'',
return false.
1. If either the {{CheckVisibilityOptions/checkVisibilityCSS}}
or the {{CheckVisibilityOptions/visibilityProperty}}
1. If either the {{CheckVisibilityOptions/visibilityProperty}}
or the {{CheckVisibilityOptions/checkVisibilityCSS}}
dictionary members of |options|
are true,
and |this| is <l spec=css-display>[=invisible=]</l>,
Expand Down

0 comments on commit 32f5f8c

Please sign in to comment.