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

Issue 2474093003: Don't use url from ImageResource for computed style. (Closed)

Created:
4 years, 1 month ago by rune
Modified:
4 years, 1 month ago
Reviewers:
Timothy Loh
CC:
chromium-reviews, blink-reviews, blink-reviews-style_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't use url from ImageResource for computed style. ImageResource objects are shared between urls which only differ in fragment identifier. The fragment identifier of the first requested url is stored on ImageResource. That gave incorrect results when requesting computed style values of backgroundImage for pseudo elements. Use the url which is stored on StyleFetchedImage instead. R=timloh@chromium.org BUG=661998 Committed: https://crrev.com/9ed43348266eeba34ed331c5ebcd42ca3407e93d Cr-Commit-Position: refs/heads/master@{#430246}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-backgroundImage.html View 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-backgroundImage-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImage.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
rune
PTAL I added an expectation file because of the "blocked access" output. Tips on how ...
4 years, 1 month ago (2016-11-04 14:29:54 UTC) #3
Timothy Loh
lgtm On 2016/11/04 14:29:54, rune wrote: > PTAL > > I added an expectation file ...
4 years, 1 month ago (2016-11-07 01:58:42 UTC) #6
rune
On 2016/11/07 01:58:42, Timothy Loh wrote: > lgtm > > On 2016/11/04 14:29:54, rune wrote: ...
4 years, 1 month ago (2016-11-07 09:11:28 UTC) #7
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/2474093003/1
4 years, 1 month ago (2016-11-07 09:11:50 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-07 10:18:39 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 10:21:08 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9ed43348266eeba34ed331c5ebcd42ca3407e93d
Cr-Commit-Position: refs/heads/master@{#430246}

Powered by Google App Engine
This is Rietveld 408576698