WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
16914
bordercolor attribute on a <td> is ignored
https://bugs.webkit.org/show_bug.cgi?id=16914
Summary
bordercolor attribute on a <td> is ignored
Anantha Keesara
Reported
2008-01-17 15:22:29 PST
Saw this issue on
http://news.vnet.cn/
, but looks like the website changed recently and cannot show this issue.. but, attached is the testcase. Other browsers: All browsers have different behavior.
Attachments
Reduction
(106 bytes, text/html)
2008-01-17 15:23 PST
,
Anantha Keesara
no flags
Details
Safari 15.6 matches with other browsers
(490.47 KB, image/png)
2022-08-14 03:16 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Anantha Keesara
Comment 1
2008-01-17 15:23:11 PST
Created
attachment 18513
[details]
Reduction
Eric Seidel (no email)
Comment 2
2008-01-17 16:22:50 PST
My favorite part is that FF3 and FF2 don't even seem to be exactly the same. :) Safari respects both inner and outer border colors. FF respects outer border colors, draws a grey/darkgrey inner border Opera respects neither border color
Eric Seidel (no email)
Comment 3
2008-01-17 16:23:43 PST
Actually, my list of supports was wrong. I assumed "black" was default, and "red" was the applied color. No one gets this right. :)
Daniel Bates
Comment 4
2009-12-12 12:32:16 PST
The bordercolor attribute appears to be an Internet Explorer-specific HTML attribute, see <
http://msdn.microsoft.com/en-us/library/ms533517(VS.85).aspx
>. Hence, it is not part of any W3C standard. Instead, the preferred method for setting the border color is to use the CSS property border-color. For example, we can implement the reduction using CSS properties as follows: <table style="border: 1px solid red" border="1"> <tr> <td style="border: 1px solid blue">foo</td> <td>bar</td> </tr> </table> Notice, this will produce analogous results to the IE-specific attribute but uses the standardized CSS properties.
Ahmad Saleem
Comment 5
2022-08-14 03:16:59 PDT
Created
attachment 461609
[details]
Safari 15.6 matches with other browsers I am not able to reproduce this bug as can be seen from attached screenshot, all browsers respect inner and outer table border color and show same. Although Firefox has strange colours but it does do same, so I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug