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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options.html

Issue 1694793002: Reland of: Revise the code for premultiplyAlpha=false for createImageBitmap(HTMLCanvasElement) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update layout test Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options.html
index 1677a8a10e0defa9883df7c62c08dc86f2327748..9325698d993e22192bddfea934526aceb09a523c 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options.html
@@ -249,6 +249,7 @@ function checkNoCrop(imageBitmap, option) {
shouldBeClear(21, 21);
}
+ /*commenting out these cases because of crbug.com/578889
clearContext(ctx);
ctx.drawImage(imageBitmap, 0, 0, 10, 10);
if (option == "flipY" || option == "bottomLeft") {
@@ -309,7 +310,7 @@ function checkNoCrop(imageBitmap, option) {
shouldBeClear(1, 21);
shouldBeClear(21, 1);
shouldBeClear(21, 21);
- }
+ }*/
}
function checkCrop(imageBitmap, option) {
@@ -335,6 +336,7 @@ function checkCrop(imageBitmap, option) {
shouldBeClear(12, 1);
}
+ /*commenting out these cases because of crbug.com/578889
clearContext(ctx);
ctx.drawImage(imageBitmap, 0, 0, 20, 20);
if (option == "flipY" || option == "bottomLeft") {
@@ -349,7 +351,7 @@ function checkCrop(imageBitmap, option) {
shouldBeClear(22, 22);
shouldBeClear(1, 22);
shouldBeClear(22, 1);
- }
+ }*/
}
function checkCropCenter(imageBitmap, option) {
@@ -381,6 +383,7 @@ function checkCropCenter(imageBitmap, option) {
shouldBeClear(11, 1);
}
+ /*commenting out these cases because of crbug.com/578889
clearContext(ctx);
ctx.drawImage(imageBitmap, 0, 0, 20, 20);
if (option == "flipY" || option == "bottomLeft") {
@@ -401,7 +404,7 @@ function checkCropCenter(imageBitmap, option) {
shouldBeClear(22, 22);
shouldBeClear(1, 21);
shouldBeClear(21, 1);
- }
+ }*/
}
function checkCropRight(imageBitmap, option) {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-with-options-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698