[Webkit-unassigned] [Bug 221112] New: Border-color incorrectly inherited in td

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 17:15:09 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221112

            Bug ID: 221112
           Summary: Border-color incorrectly inherited in td
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: neil.ashford at tiny.cloud

Steps to reproduce
(1) Open this jsfiddle: https://jsfiddle.net/xmnt5b1w/
(2) Wait for it to load (hit run if necessary)
(3) Look at the border colours of the "td" elements within the table

Expected behaviour
The borders inside of the table (the td borders) should be black. As per the spec (https://drafts.csswg.org/css-backgrounds-3/#border-color) the default value here is currentColor, which for those td elements is black.

Actual behaviour
The border color on the td elements is red. When I use the inspector it shows that the red color is inherited from the parent table element, but the spec says that border-color is not an inherited property.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210129/5cd48194/attachment.htm>


More information about the webkit-unassigned mailing list