DescriptionUpdate image content rect on src changes even if intrinsic size matches
This patch changes RenderImage::imageDimensionsChanged to update the
image content rect even if the image's intrinsic size is equal. This
fixes a bug where changing an SVG image to another image of the same
size would not correctly update the image content rect.
This patch also cleans up a confusing variable name in
RenderImage::updateInnerContentRect, changing paint rect to container
rect to better match what it is.
BUG=269946
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158343
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|