f:object-contentwidth

f:object-contentwidth — Returns the content width of an object.

Function:
{http://docbook.org/ns/docbook/functions}object-contentwidth#2
Defined in:
modules/objects.xsl
Used in:
modules/objects.xsl
Used by:
f:mediaobject-viewport()

Synopsis

f:object-contentwidth($info as map(*),
$intrinsicwidth as map(*)) as map(*)

Description

Returns the content width. This function returns the width of an object as a length (see Section 4.2, Lengths and units), if it has one. If the width is specified as a percentage, and the intrinsic size of the object is known, the an absolute length equal to that percentage of the intrinsic size is returned.

If $image-ignore-scaling is true, or no contentwidth is specified for the object, the empty sequence is returned.