You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The viewport area is specified by the width and depth attributes. Viewport area dimensions expressed as a percentage are a percentage of the available area. Since width=100% and the available area is a column width of 200px i would expect viewport area=200px.
If scaling to fit is requested, the content area is scaled until either the content width is the same as the viewport width or the content depth is the same as the viewport depth. Since scaling to fit is requested, i would expect an image width of 200px to fit in the viewport area.
However, when i try with the recent xslTNG Stylesheets, i get the error message "Invalid length (100%), returning 0 for absolute-length" and the result:
I have an image
duck.png
with intrinsic size 300px * 293px and the following code fragementAccording to the imagedata section in the DocBook Reference Guide
width
anddepth
attributes. Viewport area dimensions expressed as a percentage are a percentage of the available area. Sincewidth=100%
and the available area is a column width of 200px i would expect viewport area=200px.However, when i try with the recent xslTNG Stylesheets, i get the error message "Invalid length (100%), returning 0 for absolute-length" and the result:
Running with
$debug=image-properties
shows:While
contentheight
is the empty map,contentwidth
isnull
.test.zip
The text was updated successfully, but these errors were encountered: