Re: [csswg-drafts] [css-view-transitions-1] Clarify rendering constraints for elements participating in a transition (#8139)

@fantasai @tabatkins I need a bit of advice for speccing this. It seems like there isn't consistency when it comes to _where_ to define this. The choices are:

- Option 1: Along with the `view-transition-name` definition (eg "setting this make the element a stacking context")
- Option 2: Along with the layout concept (eg "the following properties are grouping property values… `view-transition-name`)

Taking `opacity` as an example:

- Stacking context: [option 1](https://w3c.github.io/csswg-drafts/css-color/#ref-for-TermStackingContext)
- Grouping element: [option 2](https://w3c.github.io/csswg-drafts/css-transforms-2/#ref-for-propdef-opacity)
- Backdrop root: [option 2](https://drafts.fxtf.org/filter-effects-2/#backdrop-root)

Or, should I just do the same as opacity here, and do both options depending on the effect? In cases I do option 2, I'll add a note to the view transitions spec.

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


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

Received on Thursday, 9 February 2023 10:14:14 UTC