Borders and paddings are resolved against the containing block's content box as if the box was an in-flow box.
<rdar://problem/59482286>
Created attachment 390853 [details] Patch
Created attachment 390863 [details] Patch
Created attachment 390866 [details] Patch
Committed r256702: <https://trac.webkit.org/changeset/256702>