Fall back to a different property:value pair if another property:value pair is not supported.

Browser support for "width: fit-content" is good but not universal (albeit requiring vendor prefixes in some cases) and for those cases where support is completely lacking one can fall back to "display: table".  However, I do not wish to abuse the "display" property in this way if it is unnecessary so to do.  Is there any standards-compliant way of falling back on "display: table" IFF "width: <possible vendor prefix>fit-content" is unsupported (as in the case of, e.g., Internet Explorer) ?
-- 
<Signature>
Philip Taylor

Received on Tuesday, 11 December 2018 17:35:50 UTC