[csswg-drafts] [css-view-transitions-1] Define behaviour when capturing image for a large element. (#8561)

khushalsagar has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-1] Define behaviour when capturing image for a large element. ==
The default behaviour for View Transitions when capturing the image of an element is to paint its entire ink overflow rectangle. But there are cases where this is not possible. A common one is the element exceeding max texture size supported by the hardware on that device. It can technically be done (by tiling the image) but is complicated. It's also likely we'll hit cases where painting the whole element will have significant memory overhead and clipping the snapshot makes sense.

We want the snapshot to include *at least* the intersection of the element's ink overflow rectangle and the snapshot root (a.k.a the visible viewport). Other than that, it's unclear how prescriptive the spec needs to be here. The spec could recommend that for the area outside the visible viewport, the implementation should capture the subset closest to the viewport.

This issue is tracked [here](https://drafts.csswg.org/css-view-transitions-1/#issue-c9dce14f) in the spec.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8561 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 11 March 2023 00:46:25 UTC