WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
265309
Elements transformed with rotate(90deg) are not visible inside elements set with perspective
https://bugs.webkit.org/show_bug.cgi?id=265309
Summary
Elements transformed with rotate(90deg) are not visible inside elements set w...
Ben Frain
Reported
2023-11-24 06:39:40 PST
Here is a reduction of the issue:
https://codepen.io/benfrain/pen/bGzKeGX
View in Chrome and Firefox and the 'goal posts' display as expected. In Safari they are invisible. My suspicion is that this has something to do with Safari trying to optimise that an element with `rotateY(90deg)` would ordinarily be invisible (as end on), which isn't the case inside a element with perspective.
Attachments
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2023-11-27 21:40:51 PST
<
rdar://118006067
>
Karl Dubost
Comment 2
2023-11-27 21:42:12 PST
This was reported recently also internally. It's probably a regression Regressed by
https://github.com/WebKit/WebKit/commit/1aa517d47471fdc37ac5b6e2f3809de704ea8ac5
Bug 258565
rdar://111393557
Karl Dubost
Comment 3
2023-11-27 21:45:32 PST
Also as a band aid… and I understand it's not ideal 450deg and 1.25turn both works.
Ben Frain
Comment 4
2023-11-27 23:20:57 PST
For anyone hitting this it is also possible to work around by using rotateY(90.01deg)
Shannon Moeller
Comment 5
2024-01-26 09:12:16 PST
I have also experienced this issue. I resolved it by using 89.99999deg. Working pen using 89.99999deg:
https://codepen.io/shannonmoeller/pen/MWpWJGB
Broken pen using 90deg:
https://codepen.io/shannonmoeller/pen/JjzOygP
bunnyhero
Comment 6
2024-02-10 23:15:51 PST
I also notice the bug goes away if I disable the feature flag "CSS 3D Transform Interoperability" (which is enabled by default).
Karl Dubost
Comment 7
2024-02-12 16:18:44 PST
bunnyhero, in which version of Safari did you test? I just did in STP 188 and this is working.
Karl Dubost
Comment 8
2024-02-12 16:23:11 PST
It is broken in Safari 17.3 indeed. So that should be fixed in a future version.
bunnyhero
Comment 9
2024-02-12 16:25:36 PST
(In reply to Karl Dubost from
comment #7
)
> bunnyhero, > > in which version of Safari did you test? > > I just did in STP 188 and this is working.
interesting! i just tried this on STP 188 (Release 188 (Safari 17.4, WebKit 19619.1.2.1.1)) on macOS 14.3.1 and the goal posts at
https://codepen.io/benfrain/pen/bGzKeGX
are invisible. wonder what's different in our environments.
Ahmad Saleem
Comment 10
2024-02-12 16:33:02 PST
(In reply to bunnyhero from
comment #9
)
> (In reply to Karl Dubost from
comment #7
) > > bunnyhero, > > > > in which version of Safari did you test? > > > > I just did in STP 188 and this is working. > > interesting! i just tried this on STP 188 (Release 188 (Safari 17.4, WebKit > 19619.1.2.1.1)) on macOS 14.3.1 and the goal posts at >
https://codepen.io/benfrain/pen/bGzKeGX
are invisible. wonder what's > different in our environments.
Yes, goal posts are missing even WebKit ToT (
274497@main
).
Karl Dubost
Comment 11
2024-02-12 16:34:59 PST
Indeed! I tested on STP 188 on Internal version of the OS and this is working but testing on a released macOS 14.3.1 (23D60) on STP 188, it fails. So there is a dependency on the OS.
Ahmad Saleem
Comment 12
2024-02-12 16:35:41 PST
(In reply to Karl Dubost from
comment #11
)
> Indeed! > I tested on STP 188 on Internal version of the OS and this is working > but testing on a released macOS 14.3.1 (23D60) on STP 188, it fails. > > So there is a dependency on the OS.
Should we mark it as 'RESOLVED MOVED' then?
Karl Dubost
Comment 13
2024-02-12 16:41:08 PST
Yes. I confirmed. There is a dependency on the OS. So the good news is that it will be fixed in a future update. pfew.
Matt Woodrow
Comment 14
2024-04-08 01:03:02 PDT
***
Bug 264343
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug