Hello. I suggest to add intrinsic sizes for elements, like div, and any custom elements. I think this for CSS. This CSS property will override intrinsic size. This elements can store any content: text, images, canvas, etc. This element will proportionally sized if resize by width or height. I in right don’t know how will default values of these values (except for images).
<div id="img-like"></div>
#img-like {
intrinsic-width: 300px;
intrinsic-height: 300px;
}