Summary: | WebKit has special UA stylesheet rule to give tables `border-color:grey`, which doesn't quite match spec & may be historical cruft | ||
---|---|---|---|
Product: | WebKit | Reporter: | Daniel Holbert <dholbert> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, karlcow, koivisto, rniwa, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
Version: | Safari 12 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.chromium.org/p/chromium/issues/detail?id=935729 |
Description
Daniel Holbert
2019-02-25 14:19:55 PST
I am able to reproduce this bug in Safari 15.6.1 and Safari Technology Preview 151 using JSFiddle from Comment 0 and it show "Grey" outer border but "black" for TD and TH. It matches with Chrome Canary 106 but differ from Firefox Nightly 105, which shows "Black" for both cases. Just wanted to share updated testing results. Thanks! These are causing us to fail: Standard Mode: https://wpt.fyi/results/html/rendering/non-replaced-elements/tables/table-border-3s.html?label=experimental&label=master&aligned Quirk Mode: https://wpt.fyi/results/html/rendering/non-replaced-elements/tables/table-border-3q.html?label=experimental&label=master&aligned _____ We need to get rid of this: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css#L235 I think from Comment 0, it seems that Webkit does not have any special quirk mode and I cannot find anything here as well: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/quirks.css ____ I am happy to do PR and change it to "currentColor". Although, I will wait for Karl to land his "hr" fix to html.css because it will lead to conflict for him otherwise. If it is something, we should avoid right now, happy to get broader view from others as well (for my learning). Seems sensible to match the spec. |