f...@opera.com Specification: https://html.spec.whatwg.org/#rel-icon This is exposing a previously supported format in one more facet of the platform, thus skipping TAG review. Allows using images in SVG format as favicons with <link rel="icon">. Using a scalable format for favicons allows having fewer such resources in total - i.e maybe have one (or more) hand-tuned icon(s) for small sizes and use a scalable icon as a catch-all.Low. Lack of support only means reduced fidelity (and presumably only at resolutions where the SVG icon could've been used). Presence and/or ordering of <link rel="icon"> elements could potentially affect icon selection. Firefox: Shipped (https://bugzilla.mozilla.org/show_bug.cgi?id=366324) Edge: No public signals Safari: No public signals (Supported for rel="mask-icon" (with restrictions) but not rel="icon".) Web developers: Positive
The security risks are largely the same as for an <img> element, and the handling is also very similar.No Availability of this feature is dependent on the actual UI in use, and how it presents (or not) the favicon.No This feature is highly UI-dependent, and what favicon is selected (and which format it is in) is decided by the UA. https://bugs.chromium.org/p/chromium/issues/detail?id=294179 https://www.chromestatus.com/features/5180316371124224
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLSkG1uzXYx7_Q75%3DtavGqztnFi6qhan0g_f_Jzz3ZKS%3DQ%40mail.gmail.com.
--
--
Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).
--/fsOn Thu, Mar 28, 2019 at 10:01 AM Fredrik Söderquist <f...@opera.com> wrote:--f...@opera.com Specification: https://html.spec.whatwg.org/#rel-icon This is exposing a previously supported format in one more facet of the platform, thus skipping TAG review. Allows using images in SVG format as favicons with <link rel="icon">. Using a scalable format for favicons allows having fewer such resources in total - i.e maybe have one (or more) hand-tuned icon(s) for small sizes and use a scalable icon as a catch-all.Low. Lack of support only means reduced fidelity (and presumably only at resolutions where the SVG icon could've been used). Presence and/or ordering of <link rel="icon"> elements could potentially affect icon selection. Firefox: Shipped (https://bugzilla.mozilla.org/show_bug.cgi?id=366324) Edge: No public signals Safari: No public signals (Supported for rel="mask-icon" (with restrictions) but not rel="icon".) Web developers: Positive The security risks are largely the same as for an <img> element, and the handling is also very similar.No Availability of this feature is dependent on the actual UI in use, and how it presents (or not) the favicon.No This feature is highly UI-dependent, and what favicon is selected (and which format it is in) is decided by the UA. https://bugs.chromium.org/p/chromium/issues/detail?id=294179 https://www.chromestatus.com/features/5180316371124224
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLSkG1uzXYx7_Q75%3DtavGqztnFi6qhan0g_f_Jzz3ZKS%3DQ%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQzhcQNwysxU561EVu8RXze1g1WHh8wGNgf%2BWL-LgnR8A%40mail.gmail.com.
On Thu, Mar 28, 2019 at 10:29 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).I think this is the right behavior. Also, the spec implies that behavior since it refers to SVG images. Worth adding a sentence or two to refer to the rendering specs for SVG images.
On Thu, Mar 28, 2019 at 6:42 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:29 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).I think this is the right behavior. Also, the spec implies that behavior since it refers to SVG images. Worth adding a sentence or two to refer to the rendering specs for SVG images.I updated the Chrome Status entry with the above information and a reference to the SVG spec's "processing modes" section.
On Thu, Mar 28, 2019 at 10:58 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:42 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:29 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).I think this is the right behavior. Also, the spec implies that behavior since it refers to SVG images. Worth adding a sentence or two to refer to the rendering specs for SVG images.I updated the Chrome Status entry with the above information and a reference to the SVG spec's "processing modes" section.Also a PR on the HTML spec right?
On Thu, Mar 28, 2019 at 6:59 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:58 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:42 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:29 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).I think this is the right behavior. Also, the spec implies that behavior since it refers to SVG images. Worth adding a sentence or two to refer to the rendering specs for SVG images.I updated the Chrome Status entry with the above information and a reference to the SVG spec's "processing modes" section.Also a PR on the HTML spec right?The HTML spec does not really define in which way to actually present something from <link rel="icon"> (like "with a contain constraint" which is how raster images are usually handled). Theoretically a UA could opt to use fewer constraints than the above, if that somehow worked better from their PoV (unlikely but...) So IMHO, this would be more of a recommendation than a requirement, and I'm not sure if a recommendation adds much value to the specification in this case?
--/fs/fs--/fsOn Thu, Mar 28, 2019 at 10:01 AM Fredrik Söderquist <f...@opera.com> wrote:--f...@opera.com Specification: https://html.spec.whatwg.org/#rel-icon This is exposing a previously supported format in one more facet of the platform, thus skipping TAG review. Allows using images in SVG format as favicons with <link rel="icon">. Using a scalable format for favicons allows having fewer such resources in total - i.e maybe have one (or more) hand-tuned icon(s) for small sizes and use a scalable icon as a catch-all.Low. Lack of support only means reduced fidelity (and presumably only at resolutions where the SVG icon could've been used). Presence and/or ordering of <link rel="icon"> elements could potentially affect icon selection. Firefox: Shipped (https://bugzilla.mozilla.org/show_bug.cgi?id=366324) Edge: No public signals Safari: No public signals (Supported for rel="mask-icon" (with restrictions) but not rel="icon".) Web developers: Positive The security risks are largely the same as for an <img> element, and the handling is also very similar.No Availability of this feature is dependent on the actual UI in use, and how it presents (or not) the favicon.No This feature is highly UI-dependent, and what favicon is selected (and which format it is in) is decided by the UA. https://bugs.chromium.org/p/chromium/issues/detail?id=294179 https://www.chromestatus.com/features/5180316371124224
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLSkG1uzXYx7_Q75%3DtavGqztnFi6qhan0g_f_Jzz3ZKS%3DQ%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQzhcQNwysxU561EVu8RXze1g1WHh8wGNgf%2BWL-LgnR8A%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQMW-nZcv_GGJfxWA6ZootPZ%2BgxS%2B-CoscVtwsiBwXwpw%40mail.gmail.com.
On Thu, Mar 28, 2019 at 11:16 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:59 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:58 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:42 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:29 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).I think this is the right behavior. Also, the spec implies that behavior since it refers to SVG images. Worth adding a sentence or two to refer to the rendering specs for SVG images.I updated the Chrome Status entry with the above information and a reference to the SVG spec's "processing modes" section.Also a PR on the HTML spec right?The HTML spec does not really define in which way to actually present something from <link rel="icon"> (like "with a contain constraint" which is how raster images are usually handled). Theoretically a UA could opt to use fewer constraints than the above, if that somehow worked better from their PoV (unlikely but...) So IMHO, this would be more of a recommendation than a requirement, and I'm not sure if a recommendation adds much value to the specification in this case?Wouldn't it be useful to link to the right place in the SVG spec though? The HTML spec does have various recommendations.
Also, I see from the chromestatus entry that you're suggesting allowing SMIL animations. I'm not sure if this is a good idea. I don't think Chrome allows animated GIFs in favicons right now (you have to use script to change it manually on each frame).
On Thu, Mar 28, 2019 at 7:29 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 11:16 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:59 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:58 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:42 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:29 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).I think this is the right behavior. Also, the spec implies that behavior since it refers to SVG images. Worth adding a sentence or two to refer to the rendering specs for SVG images.I updated the Chrome Status entry with the above information and a reference to the SVG spec's "processing modes" section.Also a PR on the HTML spec right?The HTML spec does not really define in which way to actually present something from <link rel="icon"> (like "with a contain constraint" which is how raster images are usually handled). Theoretically a UA could opt to use fewer constraints than the above, if that somehow worked better from their PoV (unlikely but...) So IMHO, this would be more of a recommendation than a requirement, and I'm not sure if a recommendation adds much value to the specification in this case?Wouldn't it be useful to link to the right place in the SVG spec though? The HTML spec does have various recommendations.I imagine the same would hold as in HTML 4.8.4.3:"This specification does not specify which image types are to be supported."But I could propose that text similar to (or referencing) the preceding paragraph:"User agents must not support non-image resources <snip> User agents must not run executable code (e.g. scripts) embedded in the image resource. <snip> User agents must not allow the resource to act in an interactive fashion, <snip>"be added perhaps?
Also, I see from the chromestatus entry that you're suggesting allowing SMIL animations. I'm not sure if this is a good idea. I don't think Chrome allows animated GIFs in favicons right now (you have to use script to change it manually on each frame).Animation is not supported, but if the document has animations they will be applied for t=0. There will be no frames after that, same as GIF. The other option would be to not apply animations at all, which may change rendering. I'll check what Gecko does here.
--/fs--/fs/fs--/fsOn Thu, Mar 28, 2019 at 10:01 AM Fredrik Söderquist <f...@opera.com> wrote:--f...@opera.com Specification: https://html.spec.whatwg.org/#rel-icon This is exposing a previously supported format in one more facet of the platform, thus skipping TAG review. Allows using images in SVG format as favicons with <link rel="icon">. Using a scalable format for favicons allows having fewer such resources in total - i.e maybe have one (or more) hand-tuned icon(s) for small sizes and use a scalable icon as a catch-all.Low. Lack of support only means reduced fidelity (and presumably only at resolutions where the SVG icon could've been used). Presence and/or ordering of <link rel="icon"> elements could potentially affect icon selection. Firefox: Shipped (https://bugzilla.mozilla.org/show_bug.cgi?id=366324) Edge: No public signals Safari: No public signals (Supported for rel="mask-icon" (with restrictions) but not rel="icon".) Web developers: Positive The security risks are largely the same as for an <img> element, and the handling is also very similar.No Availability of this feature is dependent on the actual UI in use, and how it presents (or not) the favicon.No This feature is highly UI-dependent, and what favicon is selected (and which format it is in) is decided by the UA. https://bugs.chromium.org/p/chromium/issues/detail?id=294179 https://www.chromestatus.com/features/5180316371124224
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLSkG1uzXYx7_Q75%3DtavGqztnFi6qhan0g_f_Jzz3ZKS%3DQ%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQzhcQNwysxU561EVu8RXze1g1WHh8wGNgf%2BWL-LgnR8A%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQMW-nZcv_GGJfxWA6ZootPZ%2BgxS%2B-CoscVtwsiBwXwpw%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQ3c%2B5b0SvQ97JaWzdXsRkbBT_ozErT%2BUvOyVVt11z3nw%40mail.gmail.com.
On Thu, Mar 28, 2019 at 1:42 PM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 7:29 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 11:16 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:59 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:58 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:42 PM Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 28, 2019 at 10:29 AM Fredrik Söderquist <f...@opera.com> wrote:On Thu, Mar 28, 2019 at 6:20 PM Rik Cabanier <caba...@gmail.com> wrote:Will these favicons behave like an image (<img src="icon.svg"/>) or as a regular SVG file?As currently written they will behave like an image (<img src="icon.svg" width="..." height="...">; width/height depending on the embedder/embedding point).I think this is the right behavior. Also, the spec implies that behavior since it refers to SVG images. Worth adding a sentence or two to refer to the rendering specs for SVG images.I updated the Chrome Status entry with the above information and a reference to the SVG spec's "processing modes" section.Also a PR on the HTML spec right?The HTML spec does not really define in which way to actually present something from <link rel="icon"> (like "with a contain constraint" which is how raster images are usually handled). Theoretically a UA could opt to use fewer constraints than the above, if that somehow worked better from their PoV (unlikely but...) So IMHO, this would be more of a recommendation than a requirement, and I'm not sure if a recommendation adds much value to the specification in this case?Wouldn't it be useful to link to the right place in the SVG spec though? The HTML spec does have various recommendations.I imagine the same would hold as in HTML 4.8.4.3:"This specification does not specify which image types are to be supported."But I could propose that text similar to (or referencing) the preceding paragraph:"User agents must not support non-image resources <snip> User agents must not run executable code (e.g. scripts) embedded in the image resource. <snip> User agents must not allow the resource to act in an interactive fashion, <snip>"be added perhaps?Sure sounds good.
Also, I see from the chromestatus entry that you're suggesting allowing SMIL animations. I'm not sure if this is a good idea. I don't think Chrome allows animated GIFs in favicons right now (you have to use script to change it manually on each frame).Animation is not supported, but if the document has animations they will be applied for t=0. There will be no frames after that, same as GIF. The other option would be to not apply animations at all, which may change rendering. I'll check what Gecko does here.Ah ok, that sounds good to me.
/fs/fs/fs/fs
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLSkG1uzXYx7_Q75%3DtavGqztnFi6qhan0g_f_Jzz3ZKS%3DQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQzhcQNwysxU561EVu8RXze1g1WHh8wGNgf%2BWL-LgnR8A%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLQMW-nZcv_GGJfxWA6ZootPZ%2BgxS%2B-CoscVtwsiBwXwpw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
Does this apply to icons in Web App Manifest too?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/509c1d17-f2a5-4953-bcbd-f4e3c3cbf92a%40chromium.org.
On Wed, May 1, 2019 at 1:41 AM <valtteri...@gmail.com> wrote:
Does this apply to icons in Web App Manifest too?IIRC it uses the way to acquire/decode the icon, but the icon selection may not be set up to support it at the moment./fs
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
SVG is significantly different from other image formats, in that it can contain script, and is XML. It's one thing to handle SVGs in a sandboxed renderer, but handling them in the browser process is potentially a different story. How are we making this safe?
--
On Wednesday, May 1, 2019 at 2:23:01 AM UTC-7, Fredrik Söderquist wrote:On Wed, May 1, 2019 at 1:41 AM <valtteri...@gmail.com> wrote:Does this apply to icons in Web App Manifest too?IIRC it uses the way to acquire/decode the icon, but the icon selection may not be set up to support it at the moment./fs
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/509c1d17-f2a5-4953-bcbd-f4e3c3cbf92a%40chromium.org.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/a6881411-d071-421c-984e-378f4f2d15f2%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHediLRCWXqO7PU3jTAjb2B8tScJxEngS23gyvRJQd7HSWkwMw%40mail.gmail.com.
On Thu, May 2, 2019 at 12:27 AM 'Chris Palmer' via blink-dev <blin...@chromium.org> wrote:SVG is significantly different from other image formats, in that it can contain script, and is XML. It's one thing to handle SVGs in a sandboxed renderer, but handling them in the browser process is potentially a different story. How are we making this safe?We are rendering ("decoding") the SVG in a renderer (much like we decode other image formats in these contexts).
Could I ask a question?About this commit: https://chromium-review.googlesource.com/c/chromium/src/+/1541185in the old commit, decode bitmaps and reverse the bitmap vector here:void MultiResolutionImageResourceFetcher::OnURLFetchComplete(const WebURLResponse& response,const std::string& data) {...std::vector<SkBitmap> decoded_bitmaps =WebImage::FramesFromData(WebData(reinterpret_cast<const char*>(src_data), data.size())).ReleaseVector();bitmaps.AppendRange(std::make_move_iterator(decoded_bitmaps.rbegin()), // reverse the bitmap vectorstd::make_move_iterator(decoded_bitmaps.rend()));}}......std::move(callback_).Run(this, bitmaps);}the codes about decoding bitmap were moved into image_downloader_impl.cc,decode the bitmaps but not reverse the bitmap vector.WTF::Vector<SkBitmap> DecodeImageData(const std::string& data,const std::string& mime_type,const blink::WebSize& preferred_size) {......blink::WebVector<SkBitmap> original_bitmaps =blink::WebImage::FramesFromData(buffer);bitmaps.AppendRange(std::make_move_iterator(original_bitmaps.begin()),std::make_move_iterator(original_bitmaps.end())); // not reverse the bitmap vector}So why reverse the bitmap vector in the old commit, but not reverse it now ?
在 2019年3月29日星期五 UTC+8上午1:01:59,Fredrik Söderquist写道: