Bug 307986

Summary: Vertical writing-mode not respected on button in Epiphany
Product: WebKit Reporter: Ana Tudor <ana.tudor.lhnh>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, bugs-noreply, pgriffis
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   
Attachments:
Description Flags
What happens in Epiphany: no sideways text on button elements
none
Expected result in this case none

Ana Tudor
Reported 2026-02-16 08:20:26 PST
Created attachment 478374 [details] What happens in Epiphany: no sideways text on button elements Set ``` writing-mode: vertical-rl ``` on both a `div` and a `button`. All fine for the `div`, but not for `button` in Epiphany (same goes for Epiphany TP). Live test: https://codepen.io/thebabydino/pen/NPrdMav This doesn't seem to be happening in actual Safari, not in any version newer than Safari 17 - see replies to my question asking about it: https://bsky.app/profile/anatudor.bsky.social/post/3mcikn2ylac2x https://mastodon.social/@anatudor/115901310038620946
Attachments
What happens in Epiphany: no sideways text on button elements (13.40 KB, image/png)
2026-02-16 08:20 PST, Ana Tudor
no flags
Expected result in this case (16.46 KB, image/png)
2026-02-16 08:22 PST, Ana Tudor
no flags
Ana Tudor
Comment 1 2026-02-16 08:22:06 PST
Created attachment 478375 [details] Expected result in this case
Ahmad Saleem
Comment 2 2026-02-16 09:43:46 PST
I think 2 weeks back - Tim Ng made this commit - https://github.com/WebKit/WebKit/commit/1827fb80db1ee67ed98c2552017108c475985515, which may or may not solve this for Epiphany in future.
Ana Tudor
Comment 3 2026-02-16 22:55:07 PST
I'm currently seeing this issue with other controls like range inputs in Epiphany too, even if newer Safari versions don't seem to have this problem anymore. As seen from the videos/ screenshots from the replies here: https://mastodon.social/@anatudor/116084553030322152
Ahmad Saleem
Comment 4 2026-02-16 22:59:13 PST
(In reply to Ana Tudor from comment #3) > I'm currently seeing this issue with other controls like range inputs in > Epiphany too, even if newer Safari versions don't seem to have this problem > anymore. > > As seen from the videos/ screenshots from the replies here: > https://mastodon.social/@anatudor/116084553030322152 Yes - I think vertical form controls were disabled on non-Apple port till two weeks ago and now with above, change at least on platform which uses `THEME_ADWAITA`, it will work. I will let WebKitGTK folks answer with more authority + clarity but I know it is just recent change.
Patrick Griffis
Comment 5 2026-02-17 06:39:36 PST
Tested main and the given example works correctly.
Note You need to log in before you can comment on or make changes to this bug.