[csswg-drafts] Pull Request: [css-view-transitions-1] Fix tree-scoping from element-based to name-based.

noamr has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-1] Fix tree-scoping from element-based to name-based. ==
… being name-based.

The previous fix for using the tree context made it inconsistent with how shadow DOM styling works for things like anchor positioning, and made it so that e.g. `::part` cannot set a `view-transition-name`.

Refactored to make the `view-transition-name` a tree-scoped name, rather than check the tree context of the element.

This aligns better with the [existing resolution](https://github.com/w3c/csswg-drafts/issues/10145#issuecomment-2100931679) and should not require a new resolution.

Closes #10145



See https://github.com/w3c/csswg-drafts/pull/10528


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

Received on Thursday, 4 July 2024 11:34:49 UTC