Based on the spec, the contentRect is the size of the content area. This should minus the padding and border dimensions from the width/height properties, when box-sizing:border-box is applied.

You can confirm this by using the native ResizeObserver in Chrome.
Based on the spec, the
contentRectis the size of the content area. This should minus the padding and border dimensions from the width/height properties, whenbox-sizing:border-boxis applied.You can confirm this by using the native
ResizeObserverin Chrome.