* issues.
* @return The background-attachment property.
*/
public FoValue traitBackgroundAttachment(final FObj fobj,
final FoContext context) {
PdBackgroundAttachment property = (PdBackgroundAttachment) getProperty(
FoProperty.BACKGROUND_ATTACHMENT);
if (property != null) {
return property.getValue(context, fobj);
}
// Try the shorthand
final PdBackground background = (PdBackground) getProperty(
FoProperty.BACKGROUND);
if (background != null) {
property = background.getAttachment();
if (property != null) {
return property.getValue(context, fobj);
}
}
return PdBackgroundAttachment.getValueNoInstance();
}