WebKit table-layout: fixed
+ padding
+ width
bug
When combining table-layout: fixed
with a fixed width table cell that has padding, WebKit seems to incorrectly not include the padding in the cell width calculation.
The grey bars below are 100px wide (including the border). In a WebKit based browser (Safari, Chrome, etc), the grey bar doesn't fit in the cells properly with the first two tables.
All cell widths specified (broken in WebKit)
Width only set on last two columns (broken in WebKit)
Widths modified to also include padding
Widths modified to also include padding, but no width on first col
Tested with:
- Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1045 Safari/532.5
- Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7