Bug 123858 - table with `border-collapse: collapse` and td with translucent border doesn’t render properly
Summary: table with `border-collapse: collapse` and td with translucent border doesn’t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-11-05 20:30 PST by Ricky Mondello
Modified: 2022-08-18 12:10 PDT (History)
9 users (show)

See Also:


Attachments
An archive containing a small html file illustrating the problem as well as a screenshot comparing Firefox and (75.75 KB, application/zip)
2013-11-05 20:30 PST, Ricky Mondello
no flags Details
All browser slightly differ from each other (486.33 KB, image/png)
2022-08-18 12:10 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricky Mondello 2013-11-05 20:30:22 PST
Created attachment 216115 [details]
An archive containing a small html file illustrating the problem as well as a screenshot comparing Firefox and 

When a table is styled with `border-collapse: collapse` and its cells have a border defined with opacity (e.g. rgba(0, 0, 0, 0.1)), a single border color should be calculated and uniformly applied throughout the border of the table. That is, regions should not get darker on edges and corners between cells.

Gecko seems to do this much better than WebKit does, although it’s not perfect (see the slight diagonal at the corners). I’ve attached a sample document that illustrates the issue, as well as a screenshot that compares Firefox 24.0 and Safari 7.
Comment 1 Radar WebKit Bug Importer 2013-11-05 20:35:07 PST
<rdar://problem/15401052>
Comment 2 Ahmad Saleem 2022-08-18 12:10:18 PDT
Created attachment 461718 [details]
All browser slightly differ from each other

I am not able to pinpoint which browser is aligned with web-spec or rendering this correctly but wanted to share updated results across all browsers (Safari 15.6.1, Firefox Nightly 105 and Chrome Canary 106).

Appreciate if someone can have a look. Thanks!