Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1443)

Issue 403393002: Always set the container size for a pAR=none image to the intrinsic size (Closed)

Created:
6 years, 5 months ago by fs
Modified:
6 years, 5 months ago
Reviewers:
pdr., f(malita)
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, rwlbuis, Stephen Chennney, rune+blink
Project:
blink
Visibility:
Public.

Description

Always 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -14 lines) Patch
A LayoutTests/svg/custom/svg-image-par-resize.html View 1 chunk +22 lines, -0 lines 0 comments Download
A + LayoutTests/svg/custom/svg-image-par-resize-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGImage.cpp View 1 chunk +12 lines, -13 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fs
6 years, 5 months ago (2014-07-21 13:41:59 UTC) #1
pdr.
On 2014/07/21 13:41:59, fs wrote: LGTM, looks great
6 years, 5 months ago (2014-07-22 07:01:56 UTC) #2
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 5 months ago (2014-07-22 07:01:59 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/403393002/1
6 years, 5 months ago (2014-07-22 07:02:28 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 07:06:04 UTC) #5
Message was sent while issue was closed.
Change committed as 178629

Powered by Google App Engine
This is Rietveld 408576698