[csswg-drafts] [css-view-transitions-1] Capturing fragmented elements (#8339)

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

== [css-view-transitions-1] Capturing fragmented elements ==
[View transitions](https://drafts.csswg.org/css-view-transitions-1/#capture-the-image-algorithm) specify that the image should be captured at the same size as in the document

> Render element and its [descendants](https://dom.spec.whatwg.org/#concept-tree-descendant), at the same size it appears in its [node document](https://dom.spec.whatwg.org/#concept-node-document), over an infinite transparent canvas, following the [capture rendering characteristics](https://drafts.csswg.org/css-view-transitions-1/#capture-rendering-characteristics).

It's unclear what to do if the element is fragmented. Is this supposed to capture the union of the fragment sizes/positions or something else?

I can't think of any good example where a developer would want to transition a fragmented element, so my proposal is to treat an element that is fragmented as invalid element to share in a view transition and skip the transition. 

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


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

Received on Friday, 20 January 2023 17:06:15 UTC