The definition of contain:size says that contain:size doesn't have an effect on table or on internal table elements. This means it doesn't apply to display:table-cell... but it does apply to display:table-caption, which isn't defined as an internal table element (to my surprise, and in disagreement with Gecko's code).
I don't have a strong opinion here... and I just filed Mozilla bug 1478850... but it's possible the spec should change here?
The definition of
contain:sizesays thatcontain:sizedoesn't have an effect ontableor on internal table elements. This means it doesn't apply todisplay:table-cell... but it does apply todisplay:table-caption, which isn't defined as an internal table element (to my surprise, and in disagreement with Gecko's code).I don't have a strong opinion here... and I just filed Mozilla bug 1478850... but it's possible the spec should change here?