Re: [csswg-drafts] [css-view-transitions-2] Proposal for a view-transition-tree property (name tbd) (#10334)

> > So clipping wouldn’t happen automatically? Authors would need to set overflow: clip on the group pseudo if they want it?
> 
> yup.

OK, then I guess a valid question here is: when an authors opts-in to preserve the tree, do they expect things to be clipped by the parent group in that case?

If they do, it would be a bit weird to require authors to do both preserve-tree + manually clip the group … which would make the case for the `::view-transition-container` pseudo mentioned before. It would wrap one or more `::view-transition-group` pseudos and its sole function would be to clip its contents.

Also: that `view-transition-overflow` I suggested earlier would be set on the container (the one that also gets the `view-transition-tree`), not the children – not sure if that was clearly communicated.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10334#issuecomment-2165359804 using your GitHub account


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

Received on Thursday, 13 June 2024 11:18:08 UTC