- From: Robert Flack via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Feb 2023 16:15:04 +0000
- To: public-css-archive@w3.org
I think from a developer perspective it would be better to make the `::view-transition` root have 0 size if it has no content participating in the transition. This is the same sort of behavior an element with no content would have - possibly it still has `width: 100%` but no height like a normal block element. Developers can easily style it to be full size and this way if developers apply a background it will by default block events which feels like the expected behavior (e.g. if you have a shade over the background). This also reduces the number of styles we need to apply, as we would otherwise have to apply `pointer-events: none` to the root and `pointer-events: auto;` to all of the descendants. -- GitHub Notification of comment by flackr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8278#issuecomment-1440334832 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 February 2023 16:15:05 UTC