createImageBItmap cannot handle a canvas that is associated with a bitmaperrenderer |
|||
Issue descriptionPlease see the test upsteamed to web-platform-test here: https://github.com/w3c/web-platform-tests/pull/4167
,
Nov 9 2016
GURme and Gurman.com Igor Gurman Ashdod. Israel
,
Nov 10 2016
,
Nov 14 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/48c029113eb4338243d99dbc76f85896be8f3a22 commit 48c029113eb4338243d99dbc76f85896be8f3a22 Author: xidachen <xidachen@chromium.org> Date: Mon Nov 14 23:10:04 2016 Make a bitmaprenderer canvas an ImageSource At this moment, we cannot correct handle drawImage or createImageBitmap with a source canvas that is associated with an ImageBitmapRenderingContext. This CL makes sure that the canvas can be an ImageSource. Layout tests are added. BUG= 663793 Review-Url: https://codereview.chromium.org/2496013002 Cr-Commit-Position: refs/heads/master@{#431950} [add] https://crrev.com/48c029113eb4338243d99dbc76f85896be8f3a22/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/bitmaprenderer-as-imagesource.html [delete] https://crrev.com/827a6e34277fa42b81d5fc0f6f7b79e4d017cd7b/third_party/WebKit/LayoutTests/imported/wpt/imagebitmap-renderingcontext/bitmaprenderer-as-imagesource-expected.txt [modify] https://crrev.com/48c029113eb4338243d99dbc76f85896be8f3a22/third_party/WebKit/Source/core/frame/ImageBitmap.cpp [modify] https://crrev.com/48c029113eb4338243d99dbc76f85896be8f3a22/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
,
Nov 15 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by xidac...@chromium.org
, Nov 9 2016Labels: -Pri-2 Pri-1