From 5181b9af1053b8306ae5247b0de425bbada0f39e Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Thu, 25 Jul 2024 19:02:00 +0000 Subject: [PATCH] [css-view-transitions-1] Add a rendering-characteristic note about out-of-viewport elements (#10616) * [css-view-transitions-1] Add a rendering-characteristic note about out-of-viewport. Closes #8282 * nit --- css-view-transitions-1/Overview.bs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/css-view-transitions-1/Overview.bs b/css-view-transitions-1/Overview.bs index df0fb3580e4..b9fed120b8b 100644 --- a/css-view-transitions-1/Overview.bs +++ b/css-view-transitions-1/Overview.bs @@ -1770,6 +1770,12 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface; However, the captured image should include, at the very least, the contents of |element| that intersect with the [=snapshot containing block=]. Implementations may adjust the rasterization quality to account for elements with a large [=ink overflow area=] that are transformed into view. + * Implementations may also adjust the rasterization quality for elements whose [=ink overflow rectangle=] does not intersect with the [=snapshot containing block=]. + To avoid a broken experience if the element ends up becoming visible, the captured image should include, at the very least, some low-quality representation of the contents rather than transparent pixels. + + Note: This allows efficiency in resource usage and rasterization performance for elements that are away from the viewport and might not become visible at all, + while maintaining a visual effect close enough to the author's intent. + * [=list/For each=] |descendant| of [=shadow-including descendant=] {{Element}} and [=pseudo-element=] of |element|, if |descendant| is [=captured in a view transition=], then skip painting |descendant|. @@ -1979,6 +1985,7 @@ Changes from issue 10145. * Fix scoping to match name instead of element. See issue 10145. +* Add a rendering characteristics note about out-of-viewport elements. See issue 8282.

Changes from 2022-05-25 Working Draft