Community
Participate
Working Groups
Is: Images are always scaled to their full width (for block elements, maximum is the width of the editor) or their full height (for inline elements, maximum is the height of the current line). Should: The width and height CSS properties should be evaluated (if set) to scale the image. For these properties, also the attr() expression should be supported to be able to set width and height through XML attributes.
Well, DocBook also has scale, and scaleFit attributes, so some of this might need to be contributed by a plugin as well.
As far as I know there is no CSS property for scaling. To support this, we might have to extend CSS: image-element { -vex-scale: attr(scale-attr); } I don't know how well this is handled by SAC.
(In reply to comment #2) > As far as I know there is no CSS property for scaling. To support this, we > might have to extend CSS: > > image-element { > -vex-scale: attr(scale-attr); > } > > I don't know how well this is handled by SAC. Some of this I would make be handled through plugin extension points that can be added into the core system. Some items may have to be handled from the docbook document itself, and some may just be informational.
@width and @height are evaluated as LengthProperty, attr(...) is also supported.
done
Moved to Mylyn Docs Vex.