diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html index 97cd5fd..f0dee08 100644 --- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html +++ b/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html @@ -18,8 +18,8 @@ var pixelType = "UNSIGNED_BYTE"; var redColor = [255, 0, 0]; var greenColor = [0, 255, 0]; var blackColor = [0, 0, 0]; -var halfRed = [128, 0, 0]; -var halfGreen = [0, 128, 0]; +var darkRed = [26, 0, 0]; +var darkGreen = [0, 26, 0]; function promiseRejected() { @@ -40,11 +40,11 @@ function setCanvasToRedGreen(ctx) { var halfHeight = Math.floor(height / 2); ctx.fillStyle = "rgba(255, 0, 0, 1)"; ctx.fillRect(0, 0, halfWidth, halfHeight); - ctx.fillStyle = "rgba(255, 0, 0, 0.5)"; + ctx.fillStyle = "rgba(255, 0, 0, 0.1)"; ctx.fillRect(halfWidth, 0, halfWidth, halfHeight); ctx.fillStyle = "rgba(0, 255, 0, 1)"; ctx.fillRect(0, halfHeight, halfWidth, halfHeight); - ctx.fillStyle = "rgba(0, 255, 0, 0.5)"; + ctx.fillStyle = "rgba(0, 255, 0, 0.1)"; ctx.fillRect(halfWidth, halfHeight, halfWidth, halfHeight); } |