When using the `transform-style: preserve-3d` CSS property in a custom element that's using templates and slots, the `preserve-3d` behavior doesn't get applied to slotted children. Both Firefox and Chrome will apply the `transform-style` to the contents of the slot. We've been able to reproduce this issue in Safari Version 16 and 17 on macOS and iOS. Here's a CodePen that reproduces the issue: https://codepen.io/danschultz/pen/PogrNOW
<rdar://problem/127468969>
Pull request: https://github.com/WebKit/WebKit/pull/28077
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/46154
Committed 278499@main (adf1f00fb1ff): <https://commits.webkit.org/278499@main> Reviewed commits have been landed. Closing PR #28077 and removing active labels.