Skip to content

Commit 4c705f9

Browse files
committed
[cssom-view-1] Fix isVisible()'s opacity check to look up the tree as well. w3c#6850
1 parent 64b6a41 commit 4c705f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cssom-view-1/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,8 @@ Note: The {{DOMRect}} object returned by {{Element/getBoundingClientRect()}} is
11271127
return false.
11281128
1. If the {{IsVisibleOptions/checkOpacity}} dictionary member of |options|
11291129
is true,
1130-
and the computed value of 'opacity' on |this| is ''0'',
1130+
and |this|, or a [=shadow-inclusive ancestor=] of |this|,
1131+
has a computed 'opacity' value of ''0'',
11311132
return false.
11321133
1. If the {{IsVisibleOptions/checkVisibilityCSS}} dictionary member of |options|
11331134
is true,

0 commit comments

Comments
 (0)