This is a tracking bug to implement and ship an image async attribute.
https://www.chromestatus.com/feature/4897260684967936
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca commit a9258c0ffab202558e9a55e23c2e6bd0eb6331ca Author: Vladimir Levin <vmpstr@chromium.org> Date: Thu Oct 12 22:41:39 2017 Plumb async attribute values to PaintImage in cc. This patch introduces an async attribute and plumbs it from {HTML,SVG}ImageElement to cc. Note that this implementation is using tri-state variable (on, off, or unspecified). R=khushalsagar@chromium.org, chrishtr@chromium.org, fs@opera.com Bug: 772470 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I75956f28076963c32f148c5c9c66998bd100accd Reviewed-on: https://chromium-review.googlesource.com/699574 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#508509} [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/cc/paint/paint_image.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/cc/paint/paint_image_builder.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/LayoutTests/webexposed/element-instance-property-listing-expected.txt [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/html/HTMLImageElement.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/html/HTMLImageElement.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/html/HTMLImageElement.idl [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/html/canvas/ImageElementBase.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/layout/shapes/Shape.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/BoxPainterBase.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/ImagePainter.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/PaintInfo.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/paint/compositing/CompositedLayerMapping.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/SVGAttributeNames.json5 [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/SVGImageElement.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/SVGImageElement.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/SVGImageElement.idl [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/graphics/SVGImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/DragImageTest.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/BitmapImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/GraphicsContext.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/Image.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/Image.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/PlaceholderImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.cpp [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h [modify] https://crrev.com/a9258c0ffab202558e9a55e23c2e6bd0eb6331ca/third_party/WebKit/Source/platform/runtime_enabled_features.json5
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/df2d9a7b931ecd43c5a2279f81cd2978b7452f2a commit df2d9a7b931ecd43c5a2279f81cd2978b7452f2a Author: Eric Willigers <ericwilligers@chromium.org> Date: Tue Aug 07 22:42:30 2018 Retire ImageDecodingAttribute flag The img.decoding attribute shipped in M64 https://chromium-review.googlesource.com/828273 BUG=772470 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ia75ff9b42b0e6bd245bc789278627fb49e5e3cf7 Reviewed-on: https://chromium-review.googlesource.com/1165044 Reviewed-by: vmpstr <vmpstr@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#581377} [modify] https://crrev.com/df2d9a7b931ecd43c5a2279f81cd2978b7452f2a/third_party/blink/renderer/core/html/html_image_element.cc [modify] https://crrev.com/df2d9a7b931ecd43c5a2279f81cd2978b7452f2a/third_party/blink/renderer/core/html/html_image_element.idl [modify] https://crrev.com/df2d9a7b931ecd43c5a2279f81cd2978b7452f2a/third_party/blink/renderer/core/svg/svg_image_element.cc [modify] https://crrev.com/df2d9a7b931ecd43c5a2279f81cd2978b7452f2a/third_party/blink/renderer/core/svg/svg_image_element.idl [modify] https://crrev.com/df2d9a7b931ecd43c5a2279f81cd2978b7452f2a/third_party/blink/renderer/platform/runtime_enabled_features.json5
Comment 1 by vmp...@chromium.org
, Oct 6 2017