Hello! Want to suggest you some more customization in order to fit wider amount of usage scenarios.
It will be very useful to be able to use not only element's width or height as reference types but also min and preferred values of this element. It's more convenient to use with texts and images, elements which have their own layout sources.