[whatwg] Reg: Expected behavior of border for <td> element

M Rahaman mrahaman at innominds.com
Mon Mar 5 05:21:09 PST 2012

Hi All,


I have an attached test case, where I have <td> inside a <table>. What I
have found is that, for <td> inside a <table> if we specify border-color &
border-style, still the border is not shown in Safari (it is working in FF).
But if we explicitly specify border-width also along with border-color &
border-style, then the borders are drawn perfectly.


I know that border-color & border-style are sufficient to draw a border, but
is the expected behavior different for <td>? or, it might be an issue with
Safari. I tried to look for more details in the spec, but did not get much
info. If anyone can provide me some info regarding the expected behavior for
such cases it would be helpful for me to analyze the issue further.




More information about the whatwg mailing list