Bug 308040

Summary: css writing mode affects table cell-align
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: http://wpt.live/css/css-writing-modes/table-cell-align-006.html
Attachments:
Description Flags
rendering in minibrowser, safari, firefox, chrome none

Karl Dubost
Reported 2026-02-16 23:59:09 PST
Created attachment 478385 [details] rendering in minibrowser, safari, firefox, chrome http://wpt.live/css/css-writing-modes/table-cell-align-006.html http://wpt.fyi/css/css-writing-modes/table-cell-align-006.html These two tables are still failing. <table class="slr"> <tbody> <tr> <td>XXXXX</td> <td class="left">X</td> <td class="center">X</td> <td class="right">X</td> <td class="start">X</td> <td class="end">X</td> <td class="justify">X X</td> </tr> </tbody> </table> and <table class="slr"> <tbody> <tr dir="rtl"> <td>XXXXX</td> <td class="left">X</td> <td class="center">X</td> <td class="right">X</td> <td class="start">X</td> <td class="end">X</td> <td class="justify">X X</td> </tr> </tbody> </table> In MiniBrowser The tests progressed compared to STP 236.
Attachments
rendering in minibrowser, safari, firefox, chrome (156.06 KB, image/png)
2026-02-16 23:59 PST, Karl Dubost
no flags
Karl Dubost
Comment 1 2026-02-16 23:59:50 PST
STP 237 renders like minibrowser. So something has progressed since STP 236.
Ahmad Saleem
Comment 2 2026-02-17 00:00:38 PST
It is more of repainting / timing issue, because if I open test case and then do Back Forward on other website, it seems to fix it.
Karl Dubost
Comment 3 2026-02-17 00:04:14 PST
The two properties failing on the table are table.slr td { writing-mode: sideways-lr; } table.slr td { writing-mode: sideways-lr; } BUT a back/forward makes it have the right layout, even on STP 236 as Ahmad mentioned.
Radar WebKit Bug Importer
Comment 4 2026-02-24 00:00:16 PST
Ahmad Saleem
Comment 5 2026-04-11 16:36:28 PDT
Progressed with 310995@main, now unshipping it here - https://github.com/WebKit/WebKit/pull/62553 *** This bug has been marked as a duplicate of bug 240961 ***
Note You need to log in before you can comment on or make changes to this bug.