Bug 260041 - text-align on <td> affects alignment within cell
Summary: text-align on <td> affects alignment within cell
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-08-10 14:25 PDT by Tim Nguyen (:ntim)
Modified: 2023-08-17 23:34 PDT (History)
5 users (show)

See Also:


Attachments
Testcase (1.56 KB, text/html)
2023-08-10 14:25 PDT, Tim Nguyen (:ntim)
no flags Details
rendering in Safari, firefox, chrome (1.11 MB, image/png)
2023-08-17 23:33 PDT, Karl Dubost
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2023-08-10 14:25:20 PDT
Created attachment 467240 [details]
Testcase

Compare the attached testcase in different browsers, Safari right aligns content inside the cell because of text-align: end. That is not the case of Chrome or Firefox (although Chrome centers aligns content).
Comment 1 Radar WebKit Bug Importer 2023-08-17 14:26:11 PDT
<rdar://problem/114046940>
Comment 2 Karl Dubost 2023-08-17 23:33:52 PDT
Created attachment 467321 [details]
rendering in Safari, firefox, chrome

3 different behaviors. 
safari right align
firefox left align
chrome centered