DescriptionMake sure a container size is always set for SVG images in <svg:image>
If a referenced image had the same dimensions as the referencing <image>,
a container size would not be set. This could cause the wrong scaling (etc)
to be applied if there existed another reference to the same image resource
that ended up applying a different scale-factor.
To ensure that a container size is set in this case, determine if the
referenced image has a container size set or not by checking if what
the "base" image (as returned by ImageResource::image()) differs from the
RenderObject-specific image (as returned by
ImageResource::imageForRenderer)
BUG=453169
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189241
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (2 generated)
|