Looks like 'transform-style: preserve-3d' isn't being respected on the pseudo elements.
<rdar://problem/126513916>
Pull request: https://github.com/WebKit/WebKit/pull/27293
Committed 277639@main (84c369e893d8): <https://commits.webkit.org/277639@main> Reviewed commits have been landed. Closing PR #27293 and removing active labels.
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/45778