General
shrink-to-fit / shrink to fit definition
Shrink-to-fit refers to a method of laying out absolutely positioned elements. It closely resembles figuring out a table cell’s width through the use of automatic table layout algorithms. Frequently, the user agent tries to discover the minimum element width that will envelop the content and wrap several lines only if the wrapping is unavoidable.