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
Percentages used in the x, y, width and height attributes of patterns are interpreted incorrectly when patternUnits is set to "objectBoundingBox": The percentages are first resolved relative to the viewport by SVG++, and the result is than interpreted as a factor of the referencing objects bounding box (as is usual for patternUnits="objectBoundingBox").
From some quick tests it seems that the percentages should instead be resolved relative to the referencing objects bounding box (i.e. x="25%" would be the same as x=".25" if patternUnits="objectBoundingBox").
The text was updated successfully, but these errors were encountered:
Percentages used in the
x
,y
,width
andheight
attributes of patterns are interpreted incorrectly whenpatternUnits
is set to"objectBoundingBox"
: The percentages are first resolved relative to the viewport by SVG++, and the result is than interpreted as a factor of the referencing objects bounding box (as is usual forpatternUnits="objectBoundingBox"
).From some quick tests it seems that the percentages should instead be resolved relative to the referencing objects bounding box (i.e.
x="25%"
would be the same asx=".25"
ifpatternUnits="objectBoundingBox"
).The text was updated successfully, but these errors were encountered: