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

Issue 1458083002: Support fragment URLs for more kinds of SVG images (Closed)

Created:
5 years, 1 month ago by davve
Modified:
5 years, 1 month ago
Reviewers:
f(malita), fs
CC:
fs, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, dshwang, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support fragment URLs for more kinds of SVG images This patch adds support for SVG fragment URLs in CSS backgrounds, video poster images, image inputs, content property and svg:image scenarios. It does so by storing fragment URLs for each SVGImageForContainer and propgates this URL to SVGImage when drawing. BUG=128055 Committed: https://crrev.com/87f33f90d6e5714616235de7c4545355f6f3ecc3 Cr-Commit-Position: refs/heads/master@{#360787}

Patch Set 1 #

Patch Set 2 : Simplifications and an added content test #

Total comments: 6

Patch Set 3 : Simplification wasn't simple enough #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -46 lines) Patch
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background.html View 1 chunk +10 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background-expected.html View 1 chunk +5 lines, -10 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background-srcset.html View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background-srcset-expected.html View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-image-content.html View 1 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-image-content-expected.html View 1 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-img-src.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-img-src-expected.html View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-input.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-input-expected.html View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-svg-image.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-svg-image-expected.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-video-poster.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-video-poster-expected.html View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSImageSetValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSImageValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutImageResource.cpp View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImage.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImage.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImageSet.h View 1 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 6 chunks +14 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h View 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458083002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458083002/1
5 years, 1 month ago (2015-11-19 11:07:51 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-19 12:40:34 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458083002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458083002/20001
5 years, 1 month ago (2015-11-19 14:14:51 UTC) #7
davve
PTAL
5 years, 1 month ago (2015-11-19 14:15:00 UTC) #9
fs
LGTM w/ nits https://codereview.chromium.org/1458083002/diff/20001/third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html File third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html (right): https://codereview.chromium.org/1458083002/diff/20001/third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html#newcode19 third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html:19: </script> Nit: Not sure what happened ...
5 years, 1 month ago (2015-11-19 14:59:44 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-19 15:48:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458083002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458083002/40001
5 years, 1 month ago (2015-11-20 07:55:48 UTC) #15
davve
https://codereview.chromium.org/1458083002/diff/20001/third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html File third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html (right): https://codereview.chromium.org/1458083002/diff/20001/third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html#newcode19 third_party/WebKit/LayoutTests/fast/gradients/unprefixed-list-item-gradient.html:19: </script> On 2015/11/19 14:59:44, fs wrote: > Nit: Not ...
5 years, 1 month ago (2015-11-20 08:14:21 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-20 09:09:08 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-11-20 09:10:08 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/87f33f90d6e5714616235de7c4545355f6f3ecc3
Cr-Commit-Position: refs/heads/master@{#360787}

Powered by Google App Engine
This is Rietveld 408576698