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

Issue 430583002: Add SVG as a picture supported mime type (Closed)

Created:
6 years, 4 months ago by Yoav Weiss
Modified:
6 years, 3 months ago
Reviewers:
jamesr, pdr., esprehn
CC:
abarth-chromium, blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Add SVG as a picture supported mime type Add a method that checks a type string against the list of supported images as well as SVG. BUG=398443 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180912

Patch Set 1 #

Patch Set 2 : Changed approach #

Total comments: 1

Patch Set 3 : Yet another changed approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -2 lines) Patch
M LayoutTests/fast/dom/HTMLImageElement/image-picture-1x.html View 1 2 chunks +12 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/HTMLImageElement/image-picture-1x-expected.txt View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/html/HTMLImageElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/MIMETypeRegistry.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/MIMETypeRegistry.cpp View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M public/platform/WebMimeRegistry.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
pdr.
What happens if you just add image/svg+xml to supported_image_types in mime_util.cc? The fact that it's ...
6 years, 4 months ago (2014-07-29 20:10:15 UTC) #1
Yoav Weiss
On 2014/07/29 20:10:15, pdr wrote: > What happens if you just add image/svg+xml to supported_image_types ...
6 years, 4 months ago (2014-07-29 20:20:01 UTC) #2
esprehn
On 2014/07/29 at 20:20:01, yoav wrote: > On 2014/07/29 20:10:15, pdr wrote: > > What ...
6 years, 4 months ago (2014-07-30 05:18:41 UTC) #3
esprehn
abarth@ Any idea why it might be missing from that list?
6 years, 4 months ago (2014-07-30 05:19:08 UTC) #4
abarth-chromium
Looks like isSupportedImageResourceMIMEType gets used by Image::supportsType, which gets used by DOMImplementation::createDocument to create a ...
6 years, 4 months ago (2014-07-30 06:11:45 UTC) #5
Yoav Weiss
On 2014/07/30 06:11:45, abarth wrote: > Looks like isSupportedImageResourceMIMEType gets used by Image::supportsType, > which ...
6 years, 4 months ago (2014-08-05 11:55:17 UTC) #6
Yoav Weiss
After further thought, I've uploaded what's the start of yet another alternative approach: * The ...
6 years, 4 months ago (2014-08-08 17:10:38 UTC) #7
abarth-chromium
I'm sorry, but I don't have the bandwidth to review this CL.
6 years, 4 months ago (2014-08-09 00:29:44 UTC) #8
Yoav Weiss
On 2014/08/09 00:29:44, abarth wrote: > I'm sorry, but I don't have the bandwidth to ...
6 years, 4 months ago (2014-08-11 15:19:12 UTC) #9
esprehn
Why aren't we just fixing the net:: library that contains the real table of mimes? ...
6 years, 4 months ago (2014-08-11 21:22:21 UTC) #10
Yoav Weiss
On 2014/08/11 21:22:21, esprehn wrote: > Why aren't we just fixing the net:: library that ...
6 years, 4 months ago (2014-08-11 21:29:15 UTC) #11
esprehn
abarth says we usually add the override to chromium first and then add the pure ...
6 years, 4 months ago (2014-08-13 22:19:09 UTC) #12
Yoav Weiss
On 2014/08/13 22:19:09, esprehn wrote: > abarth says we usually add the override to chromium ...
6 years, 4 months ago (2014-08-14 09:37:59 UTC) #13
esprehn
lgtm
6 years, 3 months ago (2014-08-26 01:10:26 UTC) #14
Yoav Weiss
The CQ bit was checked by yoav@yoav.ws
6 years, 3 months ago (2014-08-26 03:35:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoav@yoav.ws/430583002/40001
6 years, 3 months ago (2014-08-26 03:35:28 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 3 months ago (2014-08-26 03:37:53 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-26 03:41:21 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/13680)
6 years, 3 months ago (2014-08-26 03:41:23 UTC) #19
jamesr
jamesr@chromium.org changed reviewers: + jamesr@chromium.org
6 years, 3 months ago (2014-08-26 17:10:24 UTC) #20
jamesr
public/platform lgtm
6 years, 3 months ago (2014-08-26 17:10:24 UTC) #21
Yoav Weiss
The CQ bit was checked by yoav@yoav.ws
6 years, 3 months ago (2014-08-26 17:23:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoav@yoav.ws/430583002/40001
6 years, 3 months ago (2014-08-26 17:24:12 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-08-26 17:27:49 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (40001) as 180912

Powered by Google App Engine
This is Rietveld 408576698