In css tables, I am noticing that if I add a border to display: table;
element, it only draws border around all display: table-row;
nodes, but not around display: table-caption;
element, even if the table-caption node is a child of the display: table;
. Why does it do so?
How do I get it to draw border around whole table (i.e. include table-caption inside the border)?
I have created a fiddle to demonstrate the point: https://jsfiddle.net/9028hswc/