content-width
The content-width of some object (e.g., an external graphic). If the value is a percentage, the value of this property is the percentage applied to the intrinsic width.
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?(pc|px|pt|mm|cm|in|em)
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?%
- Type based on xsd:token
Valid value inherit
- Type based on xsd:token
Valid value Description auto The content-width should be the intrinsic content-width. scale-to-fit The largest scaling-factor permitted will be applied to the content so that the scaled content-width is less than or equal to the width of the viewport. scale-down-to-fit If the intrinsic content-width is less than or equal to the width of the viewport the content-width should be the intrinsic content-width. Otherwise the largest scaling-factor permitted will be applied to the content so that the scaled content-width is less than or equal to the width of the viewport. scale-up-to-fit If the intrinsic content-width is greater than or equal to the width of the viewport the content-width should be the intrinsic content-width. Otherwise the largest scaling-factor permitted will be applied to the content so that the scaled content-width is less than or equal to the width of the viewport.
from type fo:length-percentage-or-inherit
from type fo:length
from type fo:percentage
from type fo:inherit
Used in
- Attribute group fo:content-width
- Anonymous type of element fo:external-graphic via reference to fo:content-width
- Anonymous type of element fo:instream-foreign-object via reference to fo:content-width
- Attribute group fo:area-dimension-properties via reference to fo:content-width