Unit test: table-cals.052.xml

This tests table footnotes. In particular, for PDF, although automated testing doesn’t actually…test that.

The data map originally came from the guide1.

Table 1The data map
KeyValue
alignThe alignment of the data (if specified)
content-typeThe computed content type for the data
contentheightThe content height of the data (if specifieda)
contentwidthThe content width of the data (if specified)
extensionThe extension of the data file (if there is one)
filerefThe original fileref attribute value
heightThe height of the data (if specifieda)
hrefThe computed href value for the HTML element; this takes account of the mediaobject-input-base-uri and mediaobject-output-base-uri).
nodeThe data element
paramsAny multimediaparams associated with the data element
propertiesThe properties of the element (as returned by the extension funtions; this can include EXIF data and metadata)
scaleThe scaling factor (if there is one) or 1.0
scalefitTrue if the image should be scaled to fit (implicitly or explicitly)
uriThe computed absolute URI of the input data
valignThe vertical alignment of the data (if specified)
widthThe width of the data (if specifieid)

DocBook uses “depth” instead of “height”, but we convert it to height for consistency with most other systems.

This is the paragraph following the table.