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

Issue 2703393012: CSSStyleImageValue::imageLayoutSize() shouldn't crash if no ImageResourceContent (Closed)

Created:
3 years, 9 months ago by nainar
Modified:
3 years, 9 months ago
Reviewers:
shans, rune
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure that CSSStyleImageValue::imageLayoutSize() doesn't crash if it has no ImageResourceContent Ensure that CSSStyleImageValue::imageLayoutSize() doesn't crash if it has no ImageResourceContent when provided an invalid CSSURLImageValue Also adds a LayoutTest to test this. BUG=691461 Review-Url: https://codereview.chromium.org/2703393012 Cr-Commit-Position: refs/heads/master@{#453892} Committed: https://chromium.googlesource.com/chromium/src/+/571710acd59dffe9e5fd6fab998282901cd6dcb1

Patch Set 1 #

Patch Set 2 : Remove file and instead add test to existing file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/background-image.html View 1 2 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.h View 1 chunk +6 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (15 generated)
nainar
3 years, 9 months ago (2017-02-24 00:01:51 UTC) #5
rune
I haven't studied the spec to tell if this is the right behavior, but otherwise ...
3 years, 9 months ago (2017-02-28 10:52:58 UTC) #9
nainar
On 2017/02/28 at 10:52:58, rune wrote: > I haven't studied the spec to tell if ...
3 years, 9 months ago (2017-02-28 22:53:30 UTC) #10
nainar
On 2017/02/28 at 22:53:30, nainar wrote: > On 2017/02/28 at 10:52:58, rune wrote: > > ...
3 years, 9 months ago (2017-03-01 03:23:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2703393012/20001
3 years, 9 months ago (2017-03-01 09:12:46 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 09:17:46 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/571710acd59dffe9e5fd6fab9982...

Powered by Google App Engine
This is Rietveld 408576698