Skip to content

Commit e50cdcb

Browse files
committed
[css-contain-2] non-local filters, and relevance to the user
Closes w3c#7711
1 parent 540d534 commit e50cdcb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

css-contain-2/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,6 +1603,12 @@ Suppressing An Element's Contents Entirely: the 'content-visibility' property {#
16031603
to begin preparing for an element to be in the viewport soon.
16041604
A margin of 50% is suggested as a reasonable default.
16051605

1606+
If a filter (see [[FILTER-EFFECTS-1]]) with non local effects includes the element as part of its input,
1607+
the user agent should also treat the element as relevant to the user
1608+
when the filter's output can affect the rendering within the viewport
1609+
(or within the user-agent defined margin around the viewport),
1610+
even if the element itself is still off-screen.
1611+
16061612
* Either the element or its [=contents=]
16071613
are focused,
16081614
as described in the <a href="https://html.spec.whatwg.org/multipage/interaction.html#focus">focus</a> section of the HTML spec.

0 commit comments

Comments
 (0)