The table generates a principal block container box called the table wrapper box that contains the table box itself and any caption boxes (in document order). The table box is a block-level box that contains the table's internal table boxes. The caption boxes are principal block-level boxes that retain their own content, padding, margin, and border areas, and are rendered as normal block boxes inside the table wrapper box. The table wrapper box is block-level for 'display: table', and inline-level; for 'display: inline-table'. The table wrapper box establishes a block formatting context, and the table box establishes a table formatting context.
Created attachment 399590 [details] Patch
Created attachment 399591 [details] Patch
Committed r261793: <https://trac.webkit.org/changeset/261793> All reviewed patches have been landed. Closing bug and clearing flags on attachment 399591 [details].
<rdar://problem/63318145>