New issue
Advanced search Search tips

Issue 675895 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Layout Test svg/custom/svg-image-intrinsic-size-with-cssstyle-auto.html is crashy

Project Member Reported by yhirano@chromium.org, Dec 20 2016

Issue description

Layout Test svg/custom/svg-image-intrinsic-size-with-cssstyle-auto.html is crashy


 
Components: -Blink>Loader
Project Member

Comment 3 by bugdroid1@chromium.org, Dec 21 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/43c7ce1974915502d40e84e8c3a2ae80d4c9037e

commit 43c7ce1974915502d40e84e8c3a2ae80d4c9037e
Author: yhirano <yhirano@chromium.org>
Date: Wed Dec 21 19:30:29 2016

LayoutSVGImage should work correctly even when image size is unavailable

Currently LayoutSVGImage::calculateObjectSize returns an invalid size (i.e.,
size containing NaN) when the image size is unavailable. This change fixes that.

BUG= 675895 
R=fs@opera.com, hiroshige@chromium.org
TEST=svg/custom/svg-image-intrinsic-size-with-cssstyle-auto.html

Review-Url: https://codereview.chromium.org/2592613002
Cr-Commit-Position: refs/heads/master@{#440177}

[modify] https://crrev.com/43c7ce1974915502d40e84e8c3a2ae80d4c9037e/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
[modify] https://crrev.com/43c7ce1974915502d40e84e8c3a2ae80d4c9037e/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h

Status: Fixed (was: Untriaged)

Sign in to add a comment