DescriptionAlways set the container size for a pAR=none image to the intrinsic size
When updating the viewport for an <svg:image> that has preserveAspectRatio
set to 'none' only update the container size from the intrinsic size, and
never the actual viewport (size) as specified by the 'width' and 'height'
attributes. Previously a change to the actual viewport (when pAR=none)
would cause an update to the container size from the actual viewport size,
since the image/container size was previously set to the intrinsic size.
Also simplify the request for the intrinsic size a bit.
BUG=395139
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178629
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|