From 6541089d7083646b37236adaeaa7a23392b8b90c Mon Sep 17 00:00:00 2001 From: Blink WPT Bot Date: Fri, 21 Oct 2022 16:55:10 +0000 Subject: [PATCH] Bug 1794662 [wpt PR 36401] - Batch-remove unused arguments in _assertPixel and _assertPixelApprox, a=testonly Automatic update from web-platform-tests Batch-remove unused arguments in _assertPixel and _assertPixelApprox (#36401) Bug: 1335173 Change-Id: Ic1e0a513a9e37b627e9fabb79a9ff5c4f1dd8233 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3940311 Commit-Queue: Jean-Philippe Gravel Reviewed-by: Aaron Krajeski Reviewed-by: Yi Xu Cr-Commit-Position: refs/heads/main@{#1057593} Co-authored-by: Jean-Philippe Gravel -- wpt-commits: b2c0c53477ebe43606de065fcb91f782f374287b wpt-pr: 36401 --- .../fetch/redirects/subresource-fragments.html | 2 +- .../compositing/2d.composite.canvas.copy.html | 2 +- .../2d.composite.canvas.destination-atop.html | 2 +- .../2d.composite.canvas.destination-in.html | 2 +- .../2d.composite.canvas.destination-out.html | 2 +- .../2d.composite.canvas.destination-over.html | 2 +- .../compositing/2d.composite.canvas.lighter.html | 2 +- .../2d.composite.canvas.source-atop.html | 2 +- .../compositing/2d.composite.canvas.source-in.html | 2 +- .../2d.composite.canvas.source-out.html | 2 +- .../2d.composite.canvas.source-over.html | 2 +- .../compositing/2d.composite.canvas.xor.html | 2 +- .../compositing/2d.composite.clip.copy.html | 4 +-- .../2d.composite.clip.destination-atop.html | 4 +-- .../2d.composite.clip.destination-in.html | 4 +-- .../2d.composite.clip.destination-out.html | 4 +-- .../2d.composite.clip.destination-over.html | 4 +-- .../compositing/2d.composite.clip.lighter.html | 4 +-- .../compositing/2d.composite.clip.source-atop.html | 4 +-- .../compositing/2d.composite.clip.source-in.html | 4 +-- .../compositing/2d.composite.clip.source-out.html | 4 +-- .../compositing/2d.composite.clip.source-over.html | 4 +-- .../element/compositing/2d.composite.clip.xor.html | 4 +-- .../2d.composite.globalAlpha.canvas.html | 2 +- .../2d.composite.globalAlpha.canvascopy.html | 2 +- .../2d.composite.globalAlpha.canvaspattern.html | 2 +- .../compositing/2d.composite.globalAlpha.fill.html | 2 +- .../2d.composite.globalAlpha.image.html | 2 +- .../2d.composite.globalAlpha.imagepattern.html | 2 +- .../compositing/2d.composite.image.copy.html | 2 +- .../2d.composite.image.destination-atop.html | 2 +- .../2d.composite.image.destination-in.html | 2 +- .../2d.composite.image.destination-out.html | 2 +- .../2d.composite.image.destination-over.html | 2 +- .../compositing/2d.composite.image.lighter.html | 2 +- .../2d.composite.image.source-atop.html | 2 +- .../compositing/2d.composite.image.source-in.html | 2 +- .../compositing/2d.composite.image.source-out.html | 2 +- .../2d.composite.image.source-over.html | 2 +- .../compositing/2d.composite.image.xor.html | 2 +- .../compositing/2d.composite.solid.copy.html | 2 +- .../2d.composite.solid.destination-atop.html | 2 +- .../2d.composite.solid.destination-in.html | 2 +- .../2d.composite.solid.destination-out.html | 2 +- .../2d.composite.solid.destination-over.html | 2 +- .../compositing/2d.composite.solid.lighter.html | 2 +- .../2d.composite.solid.source-atop.html | 2 +- .../compositing/2d.composite.solid.source-in.html | 2 +- .../compositing/2d.composite.solid.source-out.html | 2 +- .../2d.composite.solid.source-over.html | 2 +- .../compositing/2d.composite.solid.xor.html | 2 +- .../compositing/2d.composite.transparent.copy.html | 2 +- .../2d.composite.transparent.destination-atop.html | 2 +- .../2d.composite.transparent.destination-in.html | 2 +- .../2d.composite.transparent.destination-out.html | 2 +- .../2d.composite.transparent.destination-over.html | 2 +- .../2d.composite.transparent.lighter.html | 2 +- .../2d.composite.transparent.source-atop.html | 2 +- .../2d.composite.transparent.source-in.html | 2 +- .../2d.composite.transparent.source-out.html | 2 +- .../2d.composite.transparent.source-over.html | 2 +- .../compositing/2d.composite.transparent.xor.html | 2 +- .../2d.composite.uncovered.fill.copy.html | 2 +- ....composite.uncovered.fill.destination-atop.html | 2 +- ...2d.composite.uncovered.fill.destination-in.html | 2 +- .../2d.composite.uncovered.fill.source-in.html | 2 +- .../2d.composite.uncovered.fill.source-out.html | 2 +- .../2d.composite.uncovered.image.copy.html | 4 +-- ...composite.uncovered.image.destination-atop.html | 4 +-- ...d.composite.uncovered.image.destination-in.html | 4 +-- .../2d.composite.uncovered.image.source-in.html | 4 +-- .../2d.composite.uncovered.image.source-out.html | 4 +-- .../2d.composite.uncovered.nocontext.copy.html | 2 +- ...osite.uncovered.nocontext.destination-atop.html | 2 +- ...mposite.uncovered.nocontext.destination-in.html | 2 +- ...2d.composite.uncovered.nocontext.source-in.html | 2 +- ...d.composite.uncovered.nocontext.source-out.html | 2 +- .../2d.composite.uncovered.pattern.copy.html | 2 +- ...mposite.uncovered.pattern.destination-atop.html | 2 +- ...composite.uncovered.pattern.destination-in.html | 2 +- .../2d.composite.uncovered.pattern.source-in.html | 2 +- .../2d.composite.uncovered.pattern.source-out.html | 2 +- .../2d.drawImage.3arg.html | 8 +++--- .../2d.drawImage.5arg.html | 8 +++--- .../2d.drawImage.9arg.basic.html | 8 +++--- .../2d.drawImage.9arg.destpos.html | 8 +++--- .../2d.drawImage.9arg.destsize.html | 8 +++--- .../2d.drawImage.9arg.sourcepos.html | 8 +++--- .../2d.drawImage.9arg.sourcesize.html | 16 +++++------ .../2d.drawImage.alpha.html | 2 +- .../2d.drawImage.animated.apng.html | 2 +- .../2d.drawImage.animated.gif.html | 2 +- .../2d.drawImage.animated.poster.html | 2 +- .../2d.drawImage.canvas.html | 16 +++++------ .../2d.drawImage.clip.html | 2 +- .../2d.drawImage.composite.html | 2 +- .../2d.drawImage.floatsource.html | 2 +- .../2d.drawImage.incomplete.emptysrc.html | 2 +- .../2d.drawImage.incomplete.immediate.html | 2 +- .../2d.drawImage.incomplete.nosrc.html | 2 +- .../2d.drawImage.incomplete.reload.html | 2 +- .../2d.drawImage.incomplete.removedsrc.html | 2 +- .../2d.drawImage.negativedest.html | 20 ++++++------- .../2d.drawImage.negativedir.html | 20 ++++++------- .../2d.drawImage.negativesource.html | 20 ++++++------- .../2d.drawImage.nonfinite.html | 2 +- .../2d.drawImage.nowrap.html | 6 ++-- .../2d.drawImage.path.html | 2 +- .../2d.drawImage.self.1.html | 8 +++--- .../2d.drawImage.self.2.html | 8 +++--- .../2d.drawImage.svg.html | 2 +- .../2d.drawImage.transform.html | 2 +- .../2d.drawImage.zerosource.html | 2 +- .../2d.drawImage.zerosource.image.html | 2 +- .../2d.clearRect.basic.html | 2 +- .../2d.clearRect.clip.html | 2 +- .../2d.clearRect.globalalpha.html | 2 +- .../2d.clearRect.globalcomposite.html | 2 +- .../2d.clearRect.negative.html | 8 +++--- .../2d.clearRect.nonfinite.html | 2 +- .../2d.clearRect.path.html | 2 +- .../2d.clearRect.shadow.html | 2 +- .../2d.clearRect.transform.html | 2 +- .../2d.clearRect.zero.html | 2 +- .../2d.fillRect.basic.html | 2 +- .../2d.fillRect.clip.html | 2 +- .../2d.fillRect.negative.html | 8 +++--- .../2d.fillRect.nonfinite.html | 2 +- .../2d.fillRect.path.html | 2 +- .../2d.fillRect.shadow.html | 2 +- .../2d.fillRect.transform.html | 2 +- .../2d.fillRect.zero.html | 2 +- .../2d.strokeRect.basic.html | 2 +- .../2d.strokeRect.clip.html | 2 +- .../2d.strokeRect.globalalpha.html | 2 +- .../2d.strokeRect.globalcomposite.html | 2 +- .../2d.strokeRect.negative.html | 8 +++--- .../2d.strokeRect.nonfinite.html | 2 +- .../2d.strokeRect.path.html | 2 +- .../2d.strokeRect.shadow.html | 2 +- .../2d.strokeRect.transform.html | 2 +- .../2d.strokeRect.zero.1.html | 2 +- .../2d.strokeRect.zero.2.html | 2 +- .../2d.strokeRect.zero.3.html | 2 +- .../2d.strokeRect.zero.4.html | 2 +- .../2d.strokeRect.zero.5.html | 2 +- .../2d.text.draw.align.center.html | 12 ++++---- .../2d.text.draw.align.end.ltr.html | 12 ++++---- .../2d.text.draw.align.end.rtl.html | 12 ++++---- .../2d.text.draw.align.left.html | 12 ++++---- .../2d.text.draw.align.right.html | 12 ++++---- .../2d.text.draw.align.start.ltr.html | 12 ++++---- .../2d.text.draw.align.start.rtl.html | 12 ++++---- .../2d.text.draw.fill.basic.png | Bin 1508 -> 1137 bytes .../2d.text.draw.fill.maxWidth.bound.html | 8 +++--- .../2d.text.draw.fill.maxWidth.fontface.html | 8 +++--- .../2d.text.draw.fill.rtl.png | Bin 1508 -> 1137 bytes .../2d.text.draw.fill.unaffected.html | 4 +-- .../2d.text.draw.fontface.html | 8 +++--- .../2d.text.draw.fontface.notinpage.html | 8 +++--- .../2d.text.draw.fontface.repeat.html | 8 +++--- .../2d.text.draw.space.basic.html | 4 +-- .../2d.text.draw.space.collapse.nonspace.html | 4 +-- .../2d.text.draw.stroke.basic.png | Bin 2064 -> 1634 bytes .../2d.text.draw.stroke.unaffected.html | 4 +-- .../2d.fillStyle.CSSHSL.html | 8 +++--- .../2d.fillStyle.CSSRGB.html | 10 +++---- .../2d.fillStyle.colorObject.html | 12 ++++---- .../2d.fillStyle.colorObject.transparency.html | 8 +++--- .../2d.fillStyle.invalidstring.html | 2 +- .../2d.fillStyle.invalidtype.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-1.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-2.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-3.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-4.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-5.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-6.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-7.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-8.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-9.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-1.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-2.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-3.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-4.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-5.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-6.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-7.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-8.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-9.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-1.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-2.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-3.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-4.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-5.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-6.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-1.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-2.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-3.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-4.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-5.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-6.html | 2 +- .../2d.fillStyle.parse.current.basic.html | 2 +- .../2d.fillStyle.parse.current.changed.html | 2 +- .../2d.fillStyle.parse.current.removed.html | 2 +- .../2d.fillStyle.parse.hex3.html | 2 +- .../2d.fillStyle.parse.hex4.html | 2 +- .../2d.fillStyle.parse.hex6.html | 2 +- .../2d.fillStyle.parse.hex8.html | 2 +- .../2d.fillStyle.parse.hsl-1.html | 2 +- .../2d.fillStyle.parse.hsl-2.html | 2 +- .../2d.fillStyle.parse.hsl-3.html | 2 +- .../2d.fillStyle.parse.hsl-4.html | 2 +- .../2d.fillStyle.parse.hsl-5.html | 2 +- .../2d.fillStyle.parse.hsl-6.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-1.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-2.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-3.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-4.html | 2 +- .../2d.fillStyle.parse.hsla-1.html | 2 +- .../2d.fillStyle.parse.hsla-2.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-1.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-2.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-3.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-4.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-5.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-6.html | 2 +- .../2d.fillStyle.parse.html4.html | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-1.html | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-2.html | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-3.html | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-4.html | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-5.html | 2 +- ...fillStyle.parse.invalid.css-color-4-hsla-1.html | 2 +- ...fillStyle.parse.invalid.css-color-4-hsla-2.html | 2 +- ...fillStyle.parse.invalid.css-color-4-hsla-3.html | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-1.html | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-2.html | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-3.html | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-4.html | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-5.html | 2 +- ...fillStyle.parse.invalid.css-color-4-rgba-1.html | 2 +- ...fillStyle.parse.invalid.css-color-4-rgba-2.html | 2 +- ...fillStyle.parse.invalid.css-color-4-rgba-3.html | 2 +- .../2d.fillStyle.parse.invalid.hex1.html | 2 +- .../2d.fillStyle.parse.invalid.hex2.html | 2 +- .../2d.fillStyle.parse.invalid.hex3.html | 2 +- .../2d.fillStyle.parse.invalid.hex4.html | 2 +- .../2d.fillStyle.parse.invalid.hex5.html | 2 +- .../2d.fillStyle.parse.invalid.hex6.html | 2 +- .../2d.fillStyle.parse.invalid.hex7.html | 2 +- .../2d.fillStyle.parse.invalid.hex8.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-1.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-2.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-3.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-4.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-5.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-6.html | 2 +- .../2d.fillStyle.parse.invalid.hsla-1.html | 2 +- .../2d.fillStyle.parse.invalid.hsla-2.html | 2 +- .../2d.fillStyle.parse.invalid.hsla-3.html | 2 +- .../2d.fillStyle.parse.invalid.name-1.html | 2 +- .../2d.fillStyle.parse.invalid.name-2.html | 2 +- .../2d.fillStyle.parse.invalid.name-3.html | 2 +- .../2d.fillStyle.parse.invalid.name-4.html | 2 +- .../2d.fillStyle.parse.invalid.name-5.html | 2 +- .../2d.fillStyle.parse.invalid.rgb-1.html | 2 +- .../2d.fillStyle.parse.invalid.rgb-2.html | 2 +- .../2d.fillStyle.parse.invalid.rgb-3.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-1.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-2.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-3.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-4.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-5.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-1.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-2.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-3.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-4.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-5.html | 2 +- .../2d.fillStyle.parse.rgb-eof.html | 2 +- .../2d.fillStyle.parse.rgb-num.html | 2 +- .../2d.fillStyle.parse.rgb-percent.html | 2 +- .../2d.fillStyle.parse.rgba-clamp-1.html | 2 +- .../2d.fillStyle.parse.rgba-clamp-2.html | 2 +- .../2d.fillStyle.parse.rgba-eof.html | 2 +- .../2d.fillStyle.parse.rgba-num-1.html | 2 +- .../2d.fillStyle.parse.rgba-num-2.html | 2 +- .../2d.fillStyle.parse.rgba-percent.html | 2 +- .../2d.fillStyle.parse.rgba-solid-1.html | 2 +- .../2d.fillStyle.parse.rgba-solid-2.html | 2 +- .../2d.fillStyle.parse.rgba-solid-3.html | 2 +- .../2d.fillStyle.parse.rgba-solid-4.html | 2 +- .../2d.fillStyle.parse.svg-1.html | 2 +- .../2d.fillStyle.parse.svg-2.html | 2 +- .../2d.fillStyle.parse.transparent-1.html | 2 +- .../2d.fillStyle.parse.transparent-2.html | 2 +- .../2d.gradient.conic.negative.rotation.html | 4 +-- .../2d.gradient.conic.positive.rotation.html | 4 +-- .../fill-and-stroke-styles/2d.gradient.empty.html | 2 +- .../2d.gradient.interpolate.alpha.html | 6 ++-- .../2d.gradient.interpolate.color.html | 6 ++-- .../2d.gradient.interpolate.coloralpha.html | 6 ++-- .../2d.gradient.interpolate.multiple.html | 6 ++-- .../2d.gradient.interpolate.outside.html | 6 ++-- .../2d.gradient.interpolate.overlap.html | 12 ++++---- .../2d.gradient.interpolate.overlap2.html | 10 +++---- .../2d.gradient.interpolate.solid.html | 2 +- .../2d.gradient.interpolate.vertical.html | 6 ++-- .../2d.gradient.interpolate.zerosize.fill.html | 2 +- .../2d.gradient.interpolate.zerosize.fillRect.html | 2 +- .../2d.gradient.interpolate.zerosize.stroke.html | 18 ++++++------ ...d.gradient.interpolate.zerosize.strokeRect.html | 18 ++++++------ .../2d.gradient.linear.transform.1.html | 6 ++-- .../2d.gradient.linear.transform.2.html | 6 ++-- .../2d.gradient.linear.transform.3.html | 6 ++-- .../2d.gradient.object.crosscanvas.html | 2 +- .../2d.gradient.object.current.html | 2 +- .../2d.gradient.object.update.html | 2 +- .../2d.gradient.radial.cone.behind.html | 18 ++++++------ .../2d.gradient.radial.cone.beside.html | 18 ++++++------ .../2d.gradient.radial.cone.bottom.html | 18 ++++++------ .../2d.gradient.radial.cone.cylinder.html | 18 ++++++------ .../2d.gradient.radial.cone.front.html | 18 ++++++------ .../2d.gradient.radial.cone.shape1.html | 18 ++++++------ .../2d.gradient.radial.cone.shape2.html | 18 ++++++------ .../2d.gradient.radial.cone.top.html | 18 ++++++------ .../2d.gradient.radial.equal.html | 18 ++++++------ .../2d.gradient.radial.inside1.html | 18 ++++++------ .../2d.gradient.radial.inside2.html | 18 ++++++------ .../2d.gradient.radial.inside3.html | 18 ++++++------ .../2d.gradient.radial.outside1.html | 18 ++++++------ .../2d.gradient.radial.outside2.html | 18 ++++++------ .../2d.gradient.radial.outside3.html | 18 ++++++------ .../2d.gradient.radial.touch1.html | 18 ++++++------ .../2d.gradient.radial.touch2.html | 18 ++++++------ .../2d.gradient.radial.touch3.html | 18 ++++++------ .../2d.gradient.radial.transform.1.html | 6 ++-- .../2d.gradient.radial.transform.2.html | 6 ++-- .../2d.gradient.radial.transform.3.html | 6 ++-- .../2d.pattern.animated.gif.html | 4 +-- .../2d.pattern.basic.canvas.html | 18 ++++++------ .../2d.pattern.basic.image.html | 8 +++--- .../2d.pattern.basic.nocontext.html | 8 +++--- .../2d.pattern.crosscanvas.html | 2 +- .../2d.pattern.modify.canvas1.html | 8 +++--- .../2d.pattern.modify.canvas2.html | 8 +++--- .../2d.pattern.modify.image1.html | 8 +++--- .../2d.pattern.modify.image2.html | 8 +++--- .../2d.pattern.paint.norepeat.basic.html | 8 +++--- .../2d.pattern.paint.norepeat.coord1.html | 8 +++--- .../2d.pattern.paint.norepeat.coord2.html | 8 +++--- .../2d.pattern.paint.norepeat.coord3.html | 8 +++--- .../2d.pattern.paint.norepeat.outside.html | 8 +++--- .../2d.pattern.paint.orientation.canvas.html | 8 +++--- .../2d.pattern.paint.orientation.image.html | 8 +++--- .../2d.pattern.paint.repeat.basic.html | 8 +++--- .../2d.pattern.paint.repeat.coord1.html | 8 +++--- .../2d.pattern.paint.repeat.coord2.html | 8 +++--- .../2d.pattern.paint.repeat.coord3.html | 8 +++--- .../2d.pattern.paint.repeat.outside.html | 8 +++--- .../2d.pattern.paint.repeatx.basic.html | 8 +++--- .../2d.pattern.paint.repeatx.coord1.html | 12 ++++---- .../2d.pattern.paint.repeatx.outside.html | 8 +++--- .../2d.pattern.paint.repeaty.basic.html | 8 +++--- .../2d.pattern.paint.repeaty.coord1.html | 12 ++++---- .../2d.pattern.paint.repeaty.outside.html | 8 +++--- .../2d.pattern.repeat.empty.html | 8 +++--- .../2d.pattern.transform.identity.html | 8 +++--- .../2d.pattern.transform.infinity.html | 8 +++--- .../2d.strokeStyle.colorObject.html | 12 ++++---- .../2d.strokeStyle.colorObject.transparency.html | 8 +++--- ...r.canvasFilterObject.colorMatrix.tentative.html | 20 ++++++------- ...bject.componentTransfer.discrete.tentative.html | 2 +- ...erObject.componentTransfer.gamma.tentative.html | 2 +- ...bject.componentTransfer.identity.tentative.html | 3 +- ...rObject.componentTransfer.linear.tentative.html | 2 +- ...erObject.componentTransfer.table.tentative.html | 2 +- .../element/line-styles/2d.line.cap.butt.html | 26 ++++++++--------- .../element/line-styles/2d.line.cap.closed.html | 8 +++--- .../element/line-styles/2d.line.cap.open.html | 8 +++--- .../element/line-styles/2d.line.cap.round.html | 26 ++++++++--------- .../element/line-styles/2d.line.cap.square.html | 26 ++++++++--------- .../canvas/element/line-styles/2d.line.cross.html | 8 +++--- .../element/line-styles/2d.line.join.bevel.html | 22 +++++++------- .../element/line-styles/2d.line.join.closed.html | 8 +++--- .../element/line-styles/2d.line.join.miter.html | 22 +++++++------- .../element/line-styles/2d.line.join.open.html | 8 +++--- .../element/line-styles/2d.line.join.parallel.html | 8 +++--- .../element/line-styles/2d.line.join.round.html | 22 +++++++------- .../element/line-styles/2d.line.miter.acute.html | 8 +++--- .../line-styles/2d.line.miter.exceeded.html | 8 +++--- .../line-styles/2d.line.miter.lineedge.html | 8 +++--- .../element/line-styles/2d.line.miter.obtuse.html | 8 +++--- .../line-styles/2d.line.miter.rightangle.html | 8 +++--- .../element/line-styles/2d.line.miter.within.html | 8 +++--- .../canvas/element/line-styles/2d.line.union.html | 12 ++++---- .../element/line-styles/2d.line.width.basic.html | 30 +++++++++---------- .../line-styles/2d.line.width.scaledefault.html | 10 +++---- .../line-styles/2d.line.width.transformed.html | 28 +++++++++--------- .../2d.fillStyle.parse.current.notrendered.html | 3 +- .../canvas-filter-sequence-conversion.html | 2 +- .../imagebitmap/createImageBitmap-bounds.html | 2 +- .../createImageBitmap-colorSpaceConversion.html | 2 +- .../imagebitmap/createImageBitmap-drawImage.html | 2 +- .../imagebitmap/createImageBitmap-flipY.html | 2 +- .../element/path-objects/2d.path.arc.angle.1.html | 2 +- .../element/path-objects/2d.path.arc.angle.2.html | 2 +- .../element/path-objects/2d.path.arc.angle.3.html | 2 +- .../element/path-objects/2d.path.arc.angle.4.html | 8 +++--- .../element/path-objects/2d.path.arc.angle.5.html | 2 +- .../element/path-objects/2d.path.arc.angle.6.html | 8 +++--- .../element/path-objects/2d.path.arc.default.html | 2 +- .../element/path-objects/2d.path.arc.empty.html | 2 +- .../element/path-objects/2d.path.arc.end.html | 2 +- .../element/path-objects/2d.path.arc.nonempty.html | 2 +- .../path-objects/2d.path.arc.nonfinite.html | 4 +-- .../element/path-objects/2d.path.arc.scale.1.html | 18 ++++++------ .../element/path-objects/2d.path.arc.scale.2.html | 18 ++++++------ .../path-objects/2d.path.arc.selfintersect.1.html | 4 +-- .../path-objects/2d.path.arc.selfintersect.2.html | 12 ++++---- .../element/path-objects/2d.path.arc.shape.1.html | 12 ++++---- .../element/path-objects/2d.path.arc.shape.2.html | 12 ++++---- .../element/path-objects/2d.path.arc.shape.3.html | 10 +++---- .../element/path-objects/2d.path.arc.shape.4.html | 10 +++---- .../element/path-objects/2d.path.arc.shape.5.html | 10 +++---- .../element/path-objects/2d.path.arc.twopie.1.html | 2 +- .../element/path-objects/2d.path.arc.twopie.2.html | 2 +- .../element/path-objects/2d.path.arc.twopie.3.html | 2 +- .../element/path-objects/2d.path.arc.twopie.4.html | 2 +- .../element/path-objects/2d.path.arc.zero.1.html | 2 +- .../element/path-objects/2d.path.arc.zero.2.html | 2 +- .../path-objects/2d.path.arc.zeroradius.html | 2 +- .../path-objects/2d.path.arcTo.coincide.1.html | 6 ++-- .../path-objects/2d.path.arcTo.coincide.2.html | 2 +- .../path-objects/2d.path.arcTo.collinear.1.html | 2 +- .../path-objects/2d.path.arcTo.collinear.2.html | 2 +- .../path-objects/2d.path.arcTo.collinear.3.html | 2 +- .../2d.path.arcTo.ensuresubpath.1.html | 2 +- .../2d.path.arcTo.ensuresubpath.2.html | 2 +- .../path-objects/2d.path.arcTo.nonfinite.html | 4 +-- .../element/path-objects/2d.path.arcTo.scale.html | 18 ++++++------ .../path-objects/2d.path.arcTo.shape.curve1.html | 28 +++++++++--------- .../path-objects/2d.path.arcTo.shape.curve2.html | 26 ++++++++--------- .../path-objects/2d.path.arcTo.shape.end.html | 10 +++---- .../path-objects/2d.path.arcTo.shape.start.html | 10 +++---- .../path-objects/2d.path.arcTo.transformation.html | 18 ++++++------ .../element/path-objects/2d.path.arcTo.zero.1.html | 2 +- .../element/path-objects/2d.path.arcTo.zero.2.html | 2 +- .../element/path-objects/2d.path.beginPath.html | 2 +- .../path-objects/2d.path.bezierCurveTo.basic.html | 2 +- .../2d.path.bezierCurveTo.ensuresubpath.1.html | 4 +-- .../2d.path.bezierCurveTo.ensuresubpath.2.html | 4 +-- .../2d.path.bezierCurveTo.nonfinite.html | 4 +-- .../path-objects/2d.path.bezierCurveTo.scaled.html | 10 +++---- .../path-objects/2d.path.bezierCurveTo.shape.html | 10 +++---- .../element/path-objects/2d.path.clip.basic.1.html | 2 +- .../element/path-objects/2d.path.clip.basic.2.html | 2 +- .../element/path-objects/2d.path.clip.empty.html | 2 +- .../path-objects/2d.path.clip.intersect.html | 2 +- .../path-objects/2d.path.clip.unaffected.html | 2 +- .../path-objects/2d.path.clip.winding.1.html | 2 +- .../path-objects/2d.path.clip.winding.2.html | 2 +- .../path-objects/2d.path.closePath.empty.html | 2 +- .../path-objects/2d.path.closePath.newline.html | 2 +- .../path-objects/2d.path.closePath.nextpoint.html | 2 +- .../path-objects/2d.path.fill.closed.basic.html | 2 +- .../2d.path.fill.closed.unaffected.html | 4 +-- .../element/path-objects/2d.path.fill.overlap.html | 2 +- .../path-objects/2d.path.fill.winding.add.html | 2 +- .../2d.path.fill.winding.subtract.1.html | 2 +- .../2d.path.fill.winding.subtract.2.html | 2 +- .../2d.path.fill.winding.subtract.3.html | 2 +- .../element/path-objects/2d.path.initial.html | 2 +- .../element/path-objects/2d.path.lineTo.basic.html | 2 +- .../2d.path.lineTo.ensuresubpath.1.html | 2 +- .../2d.path.lineTo.ensuresubpath.2.html | 2 +- .../path-objects/2d.path.lineTo.nextpoint.html | 2 +- .../path-objects/2d.path.lineTo.nonfinite.html | 4 +-- .../element/path-objects/2d.path.moveTo.basic.html | 2 +- .../path-objects/2d.path.moveTo.multiple.html | 2 +- .../path-objects/2d.path.moveTo.newsubpath.html | 2 +- .../path-objects/2d.path.moveTo.nonfinite.html | 2 +- .../2d.path.quadraticCurveTo.basic.html | 2 +- .../2d.path.quadraticCurveTo.ensuresubpath.1.html | 4 +-- .../2d.path.quadraticCurveTo.ensuresubpath.2.html | 4 +-- .../2d.path.quadraticCurveTo.nonfinite.html | 4 +-- .../2d.path.quadraticCurveTo.scaled.html | 10 +++---- .../2d.path.quadraticCurveTo.shape.html | 10 +++---- .../element/path-objects/2d.path.rect.basic.html | 2 +- .../element/path-objects/2d.path.rect.closed.html | 2 +- .../element/path-objects/2d.path.rect.end.1.html | 2 +- .../element/path-objects/2d.path.rect.end.2.html | 8 +++--- .../path-objects/2d.path.rect.negative.html | 8 +++--- .../path-objects/2d.path.rect.newsubpath.html | 2 +- .../path-objects/2d.path.rect.nonfinite.html | 4 +-- .../path-objects/2d.path.rect.selfintersect.html | 2 +- .../element/path-objects/2d.path.rect.winding.html | 8 +++--- .../element/path-objects/2d.path.rect.zero.1.html | 2 +- .../element/path-objects/2d.path.rect.zero.2.html | 2 +- .../element/path-objects/2d.path.rect.zero.3.html | 2 +- .../element/path-objects/2d.path.rect.zero.4.html | 2 +- .../element/path-objects/2d.path.rect.zero.5.html | 2 +- .../element/path-objects/2d.path.rect.zero.6.html | 2 +- .../2d.path.roundrect.1.radius.dompoint.html | 32 ++++++++++----------- ...oundrect.1.radius.dompoint.single argument.html | 32 ++++++++++----------- .../2d.path.roundrect.1.radius.dompointinit.html | 32 ++++++++++----------- ...rect.1.radius.dompointinit.single.argument.html | 32 ++++++++++----------- .../2d.path.roundrect.1.radius.double.html | 8 +++--- ....roundrect.1.radius.double.single.argument.html | 8 +++--- .../2d.path.roundrect.2.radii.1.dompoint.html | 20 ++++++------- .../2d.path.roundrect.2.radii.1.dompointinit.html | 20 ++++++------- .../2d.path.roundrect.2.radii.1.double.html | 8 +++--- .../2d.path.roundrect.2.radii.2.dompoint.html | 20 ++++++------- .../2d.path.roundrect.2.radii.2.dompointinit.html | 20 ++++++------- .../2d.path.roundrect.2.radii.2.double.html | 8 +++--- .../2d.path.roundrect.3.radii.1.dompoint.html | 14 ++++----- .../2d.path.roundrect.3.radii.1.dompointinit.html | 14 ++++----- .../2d.path.roundrect.3.radii.1.double.html | 8 +++--- .../2d.path.roundrect.3.radii.2.dompoint.html | 20 ++++++------- .../2d.path.roundrect.3.radii.2.dompointinit.html | 20 ++++++------- .../2d.path.roundrect.3.radii.2.double.html | 8 +++--- .../2d.path.roundrect.3.radii.3.dompoint.html | 14 ++++----- .../2d.path.roundrect.3.radii.3.dompointinit.html | 14 ++++----- .../2d.path.roundrect.3.radii.3.double.html | 8 +++--- .../2d.path.roundrect.4.radii.1.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.1.dompointinit.html | 14 ++++----- .../2d.path.roundrect.4.radii.1.double.html | 8 +++--- .../2d.path.roundrect.4.radii.2.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.2.dompointinit.html | 14 ++++----- .../2d.path.roundrect.4.radii.2.double.html | 8 +++--- .../2d.path.roundrect.4.radii.3.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.3.dompointinit.html | 14 ++++----- .../2d.path.roundrect.4.radii.3.double.html | 8 +++--- .../2d.path.roundrect.4.radii.4.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.4.dompointinit.html | 14 ++++----- .../2d.path.roundrect.4.radii.4.double.html | 8 +++--- .../path-objects/2d.path.roundrect.closed.html | 2 +- .../path-objects/2d.path.roundrect.end.1.html | 2 +- .../path-objects/2d.path.roundrect.end.2.html | 8 +++--- .../path-objects/2d.path.roundrect.end.3.html | 8 +++--- .../path-objects/2d.path.roundrect.end.4.html | 8 +++--- .../path-objects/2d.path.roundrect.negative.html | 16 +++++------ .../path-objects/2d.path.roundrect.newsubpath.html | 2 +- .../path-objects/2d.path.roundrect.nonfinite.html | 4 +-- .../2d.path.roundrect.radius.intersecting.1.html | 18 ++++++------ .../2d.path.roundrect.radius.intersecting.2.html | 18 ++++++------ .../2d.path.roundrect.radius.noargument.html | 24 ++++++++-------- .../2d.path.roundrect.radius.noarugment.html | 25 ++++++++-------- .../2d.path.roundrect.selfintersect.html | 2 +- .../path-objects/2d.path.roundrect.winding.html | 8 +++--- .../path-objects/2d.path.roundrect.zero.1.html | 2 +- .../path-objects/2d.path.roundrect.zero.2.html | 2 +- .../path-objects/2d.path.roundrect.zero.3.html | 2 +- .../path-objects/2d.path.roundrect.zero.4.html | 2 +- .../path-objects/2d.path.roundrect.zero.5.html | 2 +- .../path-objects/2d.path.roundrect.zero.6.html | 2 +- .../element/path-objects/2d.path.stroke.empty.html | 2 +- .../path-objects/2d.path.stroke.overlap.html | 2 +- .../path-objects/2d.path.stroke.prune.arc.html | 2 +- .../path-objects/2d.path.stroke.prune.closed.html | 2 +- .../path-objects/2d.path.stroke.prune.corner.html | 2 +- .../path-objects/2d.path.stroke.prune.curve.html | 2 +- .../path-objects/2d.path.stroke.prune.line.html | 2 +- .../path-objects/2d.path.stroke.prune.rect.html | 2 +- .../path-objects/2d.path.stroke.scale1.html | 18 ++++++------ .../path-objects/2d.path.stroke.scale2.html | 18 ++++++------ .../element/path-objects/2d.path.stroke.skew.html | 18 ++++++------ .../path-objects/2d.path.stroke.unaffected.html | 2 +- .../element/path-objects/2d.path.stroke.union.html | 2 +- .../path-objects/2d.path.transformation.basic.html | 2 +- .../2d.path.transformation.changing.html | 2 +- .../2d.path.transformation.multiple.html | 2 +- .../2d.imageData.get.unaffected.html | 4 +-- .../pixel-manipulation/2d.imageData.put.alpha.html | 2 +- .../pixel-manipulation/2d.imageData.put.basic.html | 2 +- .../pixel-manipulation/2d.imageData.put.clip.html | 4 +-- .../2d.imageData.put.created.html | 2 +- .../pixel-manipulation/2d.imageData.put.cross.html | 2 +- .../2d.imageData.put.dirty.negative.html | 10 +++---- .../2d.imageData.put.dirty.outside.html | 14 ++++----- .../2d.imageData.put.dirty.rect1.html | 10 +++---- .../2d.imageData.put.dirty.rect2.html | 10 +++---- .../2d.imageData.put.dirty.zero.html | 2 +- .../2d.imageData.put.modified.html | 2 +- .../pixel-manipulation/2d.imageData.put.path.html | 2 +- .../2d.imageData.put.unaffected.html | 2 +- .../html/canvas/element/reset/2d.reset.basic.html | 12 ++++---- .../canvas/element/shadows/2d.shadow.alpha.1.html | 2 +- .../canvas/element/shadows/2d.shadow.alpha.2.html | 2 +- .../canvas/element/shadows/2d.shadow.alpha.3.html | 2 +- .../canvas/element/shadows/2d.shadow.alpha.4.html | 2 +- .../canvas/element/shadows/2d.shadow.alpha.5.html | 2 +- .../element/shadows/2d.shadow.canvas.alpha.html | 2 +- .../element/shadows/2d.shadow.canvas.basic.html | 2 +- .../shadows/2d.shadow.canvas.transparent.1.html | 2 +- .../shadows/2d.shadow.canvas.transparent.2.html | 6 ++-- .../canvas/element/shadows/2d.shadow.clip.1.html | 4 +-- .../canvas/element/shadows/2d.shadow.clip.2.html | 4 +-- .../canvas/element/shadows/2d.shadow.clip.3.html | 4 +-- .../element/shadows/2d.shadow.composite.1.html | 2 +- .../element/shadows/2d.shadow.composite.2.html | 2 +- .../element/shadows/2d.shadow.composite.3.html | 4 +-- .../element/shadows/2d.shadow.enable.blur.html | 2 +- .../element/shadows/2d.shadow.enable.off.1.html | 2 +- .../element/shadows/2d.shadow.enable.off.2.html | 2 +- .../canvas/element/shadows/2d.shadow.enable.x.html | 2 +- .../canvas/element/shadows/2d.shadow.enable.y.html | 2 +- .../element/shadows/2d.shadow.gradient.alpha.html | 2 +- .../element/shadows/2d.shadow.gradient.basic.html | 2 +- .../shadows/2d.shadow.gradient.transparent.1.html | 2 +- .../shadows/2d.shadow.gradient.transparent.2.html | 6 ++-- .../element/shadows/2d.shadow.image.alpha.html | 2 +- .../element/shadows/2d.shadow.image.basic.html | 2 +- .../element/shadows/2d.shadow.image.scale.html | 6 ++-- .../element/shadows/2d.shadow.image.section.html | 6 ++-- .../shadows/2d.shadow.image.transparent.1.html | 2 +- .../shadows/2d.shadow.image.transparent.2.html | 6 ++-- .../shadows/2d.shadow.offset.negativeX.html | 4 +-- .../shadows/2d.shadow.offset.negativeY.html | 4 +-- .../shadows/2d.shadow.offset.positiveX.html | 4 +-- .../shadows/2d.shadow.offset.positiveY.html | 4 +-- .../canvas/element/shadows/2d.shadow.outside.html | 8 +++--- .../element/shadows/2d.shadow.pattern.alpha.html | 2 +- .../element/shadows/2d.shadow.pattern.basic.html | 2 +- .../shadows/2d.shadow.pattern.transparent.1.html | 2 +- .../shadows/2d.shadow.pattern.transparent.2.html | 6 ++-- .../element/shadows/2d.shadow.stroke.basic.html | 6 ++-- .../element/shadows/2d.shadow.stroke.cap.1.html | 6 ++-- .../element/shadows/2d.shadow.stroke.cap.2.html | 6 ++-- .../element/shadows/2d.shadow.stroke.join.1.html | 8 +++--- .../element/shadows/2d.shadow.stroke.join.2.html | 8 +++--- .../element/shadows/2d.shadow.stroke.join.3.html | 8 +++--- .../element/shadows/2d.shadow.transform.1.html | 2 +- .../element/shadows/2d.shadow.transform.2.html | 2 +- .../2d.text.draw.baseline.alphabetic.html | 12 ++++---- .../text-styles/2d.text.draw.baseline.bottom.html | 12 ++++---- .../text-styles/2d.text.draw.baseline.hanging.html | 12 ++++---- .../2d.text.draw.baseline.ideographic.html | 12 ++++---- .../text-styles/2d.text.draw.baseline.middle.html | 12 ++++---- .../text-styles/2d.text.draw.baseline.top.html | 12 ++++---- .../2d.text.draw.space.collapse.end.html | 4 +-- .../2d.text.draw.space.collapse.other.html | 4 +-- .../2d.text.draw.space.collapse.space.html | 4 +-- .../2d.text.draw.space.collapse.start.html | 4 +-- .../2d.state.saverestore.bitmap.html | 2 +- .../2d.state.saverestore.clip.html | 2 +- .../2d.state.saverestore.path.html | 2 +- .../2d.state.saverestore.transformation.html | 2 +- .../transformations/2d.transformation.order.html | 2 +- .../2d.transformation.rotate.direction.html | 2 +- .../2d.transformation.rotate.nonfinite.html | 2 +- .../2d.transformation.rotate.radians.html | 2 +- .../2d.transformation.rotate.wrap.html | 6 ++-- .../2d.transformation.rotate.wrapnegative.html | 6 ++-- .../2d.transformation.rotate.zero.html | 2 +- .../2d.transformation.scale.basic.html | 2 +- .../2d.transformation.scale.large.html | 2 +- .../2d.transformation.scale.multiple.html | 2 +- .../2d.transformation.scale.negative.html | 4 +-- .../2d.transformation.scale.nonfinite.html | 2 +- .../2d.transformation.scale.zero.html | 2 +- .../2d.transformation.setTransform.multiple.html | 2 +- .../2d.transformation.setTransform.nonfinite.html | 2 +- .../2d.transformation.setTransform.skewed.html | 16 +++++------ .../2d.transformation.transform.identity.html | 2 +- .../2d.transformation.transform.multiply.html | 2 +- .../2d.transformation.transform.nonfinite.html | 2 +- .../2d.transformation.transform.skewed.html | 16 +++++------ .../2d.transformation.translate.basic.html | 2 +- .../2d.transformation.translate.nonfinite.html | 2 +- .../compositing/2d.composite.canvas.copy.html | 2 +- .../compositing/2d.composite.canvas.copy.worker.js | 2 +- .../2d.composite.canvas.destination-atop.html | 2 +- .../2d.composite.canvas.destination-atop.worker.js | 2 +- .../2d.composite.canvas.destination-in.html | 2 +- .../2d.composite.canvas.destination-in.worker.js | 2 +- .../2d.composite.canvas.destination-out.html | 2 +- .../2d.composite.canvas.destination-out.worker.js | 2 +- .../2d.composite.canvas.destination-over.html | 2 +- .../2d.composite.canvas.destination-over.worker.js | 2 +- .../compositing/2d.composite.canvas.lighter.html | 2 +- .../2d.composite.canvas.lighter.worker.js | 2 +- .../2d.composite.canvas.source-atop.html | 2 +- .../2d.composite.canvas.source-atop.worker.js | 2 +- .../compositing/2d.composite.canvas.source-in.html | 2 +- .../2d.composite.canvas.source-in.worker.js | 2 +- .../2d.composite.canvas.source-out.html | 2 +- .../2d.composite.canvas.source-out.worker.js | 2 +- .../2d.composite.canvas.source-over.html | 2 +- .../2d.composite.canvas.source-over.worker.js | 2 +- .../compositing/2d.composite.canvas.xor.html | 2 +- .../compositing/2d.composite.canvas.xor.worker.js | 2 +- .../compositing/2d.composite.clip.copy.html | 4 +-- .../compositing/2d.composite.clip.copy.worker.js | 4 +-- .../2d.composite.clip.destination-atop.html | 4 +-- .../2d.composite.clip.destination-atop.worker.js | 4 +-- .../2d.composite.clip.destination-in.html | 4 +-- .../2d.composite.clip.destination-in.worker.js | 4 +-- .../2d.composite.clip.destination-out.html | 4 +-- .../2d.composite.clip.destination-out.worker.js | 4 +-- .../2d.composite.clip.destination-over.html | 4 +-- .../2d.composite.clip.destination-over.worker.js | 4 +-- .../compositing/2d.composite.clip.lighter.html | 4 +-- .../2d.composite.clip.lighter.worker.js | 4 +-- .../compositing/2d.composite.clip.source-atop.html | 4 +-- .../2d.composite.clip.source-atop.worker.js | 4 +-- .../compositing/2d.composite.clip.source-in.html | 4 +-- .../2d.composite.clip.source-in.worker.js | 4 +-- .../compositing/2d.composite.clip.source-out.html | 4 +-- .../2d.composite.clip.source-out.worker.js | 4 +-- .../compositing/2d.composite.clip.source-over.html | 4 +-- .../2d.composite.clip.source-over.worker.js | 4 +-- .../compositing/2d.composite.clip.xor.html | 4 +-- .../compositing/2d.composite.clip.xor.worker.js | 4 +-- .../2d.composite.globalAlpha.canvas.html | 2 +- .../2d.composite.globalAlpha.canvas.worker.js | 2 +- .../2d.composite.globalAlpha.canvascopy.html | 2 +- .../2d.composite.globalAlpha.canvascopy.worker.js | 2 +- .../2d.composite.globalAlpha.canvaspattern.html | 2 +- ...d.composite.globalAlpha.canvaspattern.worker.js | 2 +- .../compositing/2d.composite.globalAlpha.fill.html | 2 +- .../2d.composite.globalAlpha.fill.worker.js | 2 +- .../2d.composite.globalAlpha.image.html | 2 +- .../2d.composite.globalAlpha.image.worker.js | 2 +- .../2d.composite.globalAlpha.imagepattern.html | 2 +- ...2d.composite.globalAlpha.imagepattern.worker.js | 2 +- .../compositing/2d.composite.image.copy.html | 2 +- .../compositing/2d.composite.image.copy.worker.js | 2 +- .../2d.composite.image.destination-atop.html | 2 +- .../2d.composite.image.destination-atop.worker.js | 2 +- .../2d.composite.image.destination-in.html | 2 +- .../2d.composite.image.destination-in.worker.js | 2 +- .../2d.composite.image.destination-out.html | 2 +- .../2d.composite.image.destination-out.worker.js | 2 +- .../2d.composite.image.destination-over.html | 2 +- .../2d.composite.image.destination-over.worker.js | 2 +- .../compositing/2d.composite.image.lighter.html | 2 +- .../2d.composite.image.lighter.worker.js | 2 +- .../2d.composite.image.source-atop.html | 2 +- .../2d.composite.image.source-atop.worker.js | 2 +- .../compositing/2d.composite.image.source-in.html | 2 +- .../2d.composite.image.source-in.worker.js | 2 +- .../compositing/2d.composite.image.source-out.html | 2 +- .../2d.composite.image.source-out.worker.js | 2 +- .../2d.composite.image.source-over.html | 2 +- .../2d.composite.image.source-over.worker.js | 2 +- .../compositing/2d.composite.image.xor.html | 2 +- .../compositing/2d.composite.image.xor.worker.js | 2 +- .../compositing/2d.composite.solid.copy.html | 2 +- .../compositing/2d.composite.solid.copy.worker.js | 2 +- .../2d.composite.solid.destination-atop.html | 2 +- .../2d.composite.solid.destination-atop.worker.js | 2 +- .../2d.composite.solid.destination-in.html | 2 +- .../2d.composite.solid.destination-in.worker.js | 2 +- .../2d.composite.solid.destination-out.html | 2 +- .../2d.composite.solid.destination-out.worker.js | 2 +- .../2d.composite.solid.destination-over.html | 2 +- .../2d.composite.solid.destination-over.worker.js | 2 +- .../compositing/2d.composite.solid.lighter.html | 2 +- .../2d.composite.solid.lighter.worker.js | 2 +- .../2d.composite.solid.source-atop.html | 2 +- .../2d.composite.solid.source-atop.worker.js | 2 +- .../compositing/2d.composite.solid.source-in.html | 2 +- .../2d.composite.solid.source-in.worker.js | 2 +- .../compositing/2d.composite.solid.source-out.html | 2 +- .../2d.composite.solid.source-out.worker.js | 2 +- .../2d.composite.solid.source-over.html | 2 +- .../2d.composite.solid.source-over.worker.js | 2 +- .../compositing/2d.composite.solid.xor.html | 2 +- .../compositing/2d.composite.solid.xor.worker.js | 2 +- .../compositing/2d.composite.transparent.copy.html | 2 +- .../2d.composite.transparent.copy.worker.js | 2 +- .../2d.composite.transparent.destination-atop.html | 2 +- ...omposite.transparent.destination-atop.worker.js | 2 +- .../2d.composite.transparent.destination-in.html | 2 +- ....composite.transparent.destination-in.worker.js | 2 +- .../2d.composite.transparent.destination-out.html | 2 +- ...composite.transparent.destination-out.worker.js | 2 +- .../2d.composite.transparent.destination-over.html | 2 +- ...omposite.transparent.destination-over.worker.js | 2 +- .../2d.composite.transparent.lighter.html | 2 +- .../2d.composite.transparent.lighter.worker.js | 2 +- .../2d.composite.transparent.source-atop.html | 2 +- .../2d.composite.transparent.source-atop.worker.js | 2 +- .../2d.composite.transparent.source-in.html | 2 +- .../2d.composite.transparent.source-in.worker.js | 2 +- .../2d.composite.transparent.source-out.html | 2 +- .../2d.composite.transparent.source-out.worker.js | 2 +- .../2d.composite.transparent.source-over.html | 2 +- .../2d.composite.transparent.source-over.worker.js | 2 +- .../compositing/2d.composite.transparent.xor.html | 2 +- .../2d.composite.transparent.xor.worker.js | 2 +- .../2d.composite.uncovered.fill.copy.html | 2 +- .../2d.composite.uncovered.fill.copy.worker.js | 2 +- ....composite.uncovered.fill.destination-atop.html | 2 +- ...osite.uncovered.fill.destination-atop.worker.js | 2 +- ...2d.composite.uncovered.fill.destination-in.html | 2 +- ...mposite.uncovered.fill.destination-in.worker.js | 2 +- .../2d.composite.uncovered.fill.source-in.html | 2 +- ...2d.composite.uncovered.fill.source-in.worker.js | 2 +- .../2d.composite.uncovered.fill.source-out.html | 2 +- ...d.composite.uncovered.fill.source-out.worker.js | 2 +- .../2d.composite.uncovered.image.copy.html | 4 +-- .../2d.composite.uncovered.image.copy.worker.js | 4 +-- ...composite.uncovered.image.destination-atop.html | 4 +-- ...site.uncovered.image.destination-atop.worker.js | 4 +-- ...d.composite.uncovered.image.destination-in.html | 4 +-- ...posite.uncovered.image.destination-in.worker.js | 4 +-- .../2d.composite.uncovered.image.source-in.html | 4 +-- ...d.composite.uncovered.image.source-in.worker.js | 4 +-- .../2d.composite.uncovered.image.source-out.html | 4 +-- ....composite.uncovered.image.source-out.worker.js | 4 +-- .../2d.composite.uncovered.nocontext.copy.html | 2 +- ...2d.composite.uncovered.nocontext.copy.worker.js | 2 +- ...osite.uncovered.nocontext.destination-atop.html | 2 +- ....uncovered.nocontext.destination-atop.worker.js | 2 +- ...mposite.uncovered.nocontext.destination-in.html | 2 +- ...te.uncovered.nocontext.destination-in.worker.js | 2 +- ...2d.composite.uncovered.nocontext.source-in.html | 2 +- ...mposite.uncovered.nocontext.source-in.worker.js | 2 +- ...d.composite.uncovered.nocontext.source-out.html | 2 +- ...posite.uncovered.nocontext.source-out.worker.js | 2 +- .../2d.composite.uncovered.pattern.copy.html | 2 +- .../2d.composite.uncovered.pattern.copy.worker.js | 2 +- ...mposite.uncovered.pattern.destination-atop.html | 2 +- ...te.uncovered.pattern.destination-atop.worker.js | 2 +- ...composite.uncovered.pattern.destination-in.html | 2 +- ...site.uncovered.pattern.destination-in.worker.js | 2 +- .../2d.composite.uncovered.pattern.source-in.html | 2 +- ...composite.uncovered.pattern.source-in.worker.js | 2 +- .../2d.composite.uncovered.pattern.source-out.html | 2 +- ...omposite.uncovered.pattern.source-out.worker.js | 2 +- .../2d.drawImage.3arg.html | 8 +++--- .../2d.drawImage.3arg.worker.js | 8 +++--- .../2d.drawImage.5arg.html | 8 +++--- .../2d.drawImage.5arg.worker.js | 8 +++--- .../2d.drawImage.9arg.basic.html | 8 +++--- .../2d.drawImage.9arg.basic.worker.js | 8 +++--- .../2d.drawImage.9arg.destpos.html | 8 +++--- .../2d.drawImage.9arg.destpos.worker.js | 8 +++--- .../2d.drawImage.9arg.destsize.html | 8 +++--- .../2d.drawImage.9arg.destsize.worker.js | 8 +++--- .../2d.drawImage.9arg.sourcepos.html | 8 +++--- .../2d.drawImage.9arg.sourcepos.worker.js | 8 +++--- .../2d.drawImage.9arg.sourcesize.html | 16 +++++------ .../2d.drawImage.9arg.sourcesize.worker.js | 16 +++++------ .../2d.drawImage.alpha.html | 2 +- .../2d.drawImage.alpha.worker.js | 2 +- .../2d.drawImage.animated.poster.html | 2 +- .../2d.drawImage.animated.poster.worker.js | 2 +- .../2d.drawImage.broken.html | 2 +- .../2d.drawImage.broken.worker.js | 2 +- .../2d.drawImage.canvas.html | 8 +++--- .../2d.drawImage.canvas.worker.js | 8 +++--- .../2d.drawImage.clip.html | 2 +- .../2d.drawImage.clip.worker.js | 2 +- .../2d.drawImage.composite.html | 2 +- .../2d.drawImage.composite.worker.js | 2 +- .../2d.drawImage.floatsource.html | 2 +- .../2d.drawImage.floatsource.worker.js | 2 +- .../2d.drawImage.negativedest.html | 20 ++++++------- .../2d.drawImage.negativedest.worker.js | 20 ++++++------- .../2d.drawImage.negativedir.html | 20 ++++++------- .../2d.drawImage.negativedir.worker.js | 20 ++++++------- .../2d.drawImage.negativesource.html | 20 ++++++------- .../2d.drawImage.negativesource.worker.js | 20 ++++++------- .../2d.drawImage.nonfinite.html | 2 +- .../2d.drawImage.nonfinite.worker.js | 2 +- .../2d.drawImage.nowrap.html | 6 ++-- .../2d.drawImage.nowrap.worker.js | 6 ++-- .../2d.drawImage.path.html | 2 +- .../2d.drawImage.path.worker.js | 2 +- .../2d.drawImage.self.1.html | 8 +++--- .../2d.drawImage.self.1.worker.js | 8 +++--- .../2d.drawImage.self.2.html | 8 +++--- .../2d.drawImage.self.2.worker.js | 8 +++--- .../2d.drawImage.svg.html | 2 +- .../2d.drawImage.svg.worker.js | 2 +- .../2d.drawImage.transform.html | 2 +- .../2d.drawImage.transform.worker.js | 2 +- .../2d.drawImage.zerosource.html | 2 +- .../2d.drawImage.zerosource.image.html | 2 +- .../2d.drawImage.zerosource.image.worker.js | 2 +- .../2d.drawImage.zerosource.worker.js | 2 +- .../2d.clearRect.basic.html | 2 +- .../2d.clearRect.basic.worker.js | 2 +- .../2d.clearRect.clip.html | 2 +- .../2d.clearRect.clip.worker.js | 2 +- .../2d.clearRect.globalalpha.html | 2 +- .../2d.clearRect.globalalpha.worker.js | 2 +- .../2d.clearRect.globalcomposite.html | 2 +- .../2d.clearRect.globalcomposite.worker.js | 2 +- .../2d.clearRect.negative.html | 8 +++--- .../2d.clearRect.negative.worker.js | 8 +++--- .../2d.clearRect.nonfinite.html | 2 +- .../2d.clearRect.nonfinite.worker.js | 2 +- .../2d.clearRect.path.html | 2 +- .../2d.clearRect.path.worker.js | 2 +- .../2d.clearRect.shadow.html | 2 +- .../2d.clearRect.shadow.worker.js | 2 +- .../2d.clearRect.transform.html | 2 +- .../2d.clearRect.transform.worker.js | 2 +- .../2d.clearRect.zero.html | 2 +- .../2d.clearRect.zero.worker.js | 2 +- .../2d.fillRect.basic.html | 2 +- .../2d.fillRect.basic.worker.js | 2 +- .../2d.fillRect.clip.html | 2 +- .../2d.fillRect.clip.worker.js | 2 +- .../2d.fillRect.negative.html | 8 +++--- .../2d.fillRect.negative.worker.js | 8 +++--- .../2d.fillRect.nonfinite.html | 2 +- .../2d.fillRect.nonfinite.worker.js | 2 +- .../2d.fillRect.path.html | 2 +- .../2d.fillRect.path.worker.js | 2 +- .../2d.fillRect.shadow.html | 2 +- .../2d.fillRect.shadow.worker.js | 2 +- .../2d.fillRect.transform.html | 2 +- .../2d.fillRect.transform.worker.js | 2 +- .../2d.fillRect.zero.html | 2 +- .../2d.fillRect.zero.worker.js | 2 +- .../2d.strokeRect.basic.html | 2 +- .../2d.strokeRect.basic.worker.js | 2 +- .../2d.strokeRect.clip.html | 2 +- .../2d.strokeRect.clip.worker.js | 2 +- .../2d.strokeRect.globalalpha.html | 2 +- .../2d.strokeRect.globalalpha.worker.js | 2 +- .../2d.strokeRect.globalcomposite.html | 2 +- .../2d.strokeRect.globalcomposite.worker.js | 2 +- .../2d.strokeRect.negative.html | 8 +++--- .../2d.strokeRect.negative.worker.js | 8 +++--- .../2d.strokeRect.nonfinite.html | 2 +- .../2d.strokeRect.nonfinite.worker.js | 2 +- .../2d.strokeRect.path.html | 2 +- .../2d.strokeRect.path.worker.js | 2 +- .../2d.strokeRect.shadow.html | 2 +- .../2d.strokeRect.shadow.worker.js | 2 +- .../2d.strokeRect.transform.html | 2 +- .../2d.strokeRect.transform.worker.js | 2 +- .../2d.strokeRect.zero.1.html | 2 +- .../2d.strokeRect.zero.1.worker.js | 2 +- .../2d.strokeRect.zero.2.html | 2 +- .../2d.strokeRect.zero.2.worker.js | 2 +- .../2d.strokeRect.zero.3.html | 2 +- .../2d.strokeRect.zero.3.worker.js | 2 +- .../2d.strokeRect.zero.4.html | 2 +- .../2d.strokeRect.zero.4.worker.js | 2 +- .../2d.strokeRect.zero.5.html | 2 +- .../2d.strokeRect.zero.5.worker.js | 2 +- .../2d.fillStyle.CSSHSL.html | 8 +++--- .../2d.fillStyle.invalidstring.html | 2 +- .../2d.fillStyle.invalidstring.worker.js | 2 +- .../2d.fillStyle.invalidtype.html | 2 +- .../2d.fillStyle.invalidtype.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-1.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-1.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-2.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-2.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-3.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-3.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-4.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-4.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-5.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-5.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-6.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-6.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-7.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-7.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-8.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-8.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-9.html | 2 +- .../2d.fillStyle.parse.css-color-4-hsl-9.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-1.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-1.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-2.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-2.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-3.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-3.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-4.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-4.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-5.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-5.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-6.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-6.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-7.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-7.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-8.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-8.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-hsla-9.html | 2 +- ...2d.fillStyle.parse.css-color-4-hsla-9.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-1.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-1.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-2.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-2.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-3.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-3.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-4.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-4.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-5.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-5.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-6.html | 2 +- .../2d.fillStyle.parse.css-color-4-rgb-6.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-1.html | 2 +- ...2d.fillStyle.parse.css-color-4-rgba-1.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-2.html | 2 +- ...2d.fillStyle.parse.css-color-4-rgba-2.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-3.html | 2 +- ...2d.fillStyle.parse.css-color-4-rgba-3.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-4.html | 2 +- ...2d.fillStyle.parse.css-color-4-rgba-4.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-5.html | 2 +- ...2d.fillStyle.parse.css-color-4-rgba-5.worker.js | 2 +- .../2d.fillStyle.parse.css-color-4-rgba-6.html | 2 +- ...2d.fillStyle.parse.css-color-4-rgba-6.worker.js | 2 +- .../2d.fillStyle.parse.hex3.html | 2 +- .../2d.fillStyle.parse.hex3.worker.js | 2 +- .../2d.fillStyle.parse.hex4.html | 2 +- .../2d.fillStyle.parse.hex4.worker.js | 2 +- .../2d.fillStyle.parse.hex6.html | 2 +- .../2d.fillStyle.parse.hex6.worker.js | 2 +- .../2d.fillStyle.parse.hex8.html | 2 +- .../2d.fillStyle.parse.hex8.worker.js | 2 +- .../2d.fillStyle.parse.hsl-1.html | 2 +- .../2d.fillStyle.parse.hsl-1.worker.js | 2 +- .../2d.fillStyle.parse.hsl-2.html | 2 +- .../2d.fillStyle.parse.hsl-2.worker.js | 2 +- .../2d.fillStyle.parse.hsl-3.html | 2 +- .../2d.fillStyle.parse.hsl-3.worker.js | 2 +- .../2d.fillStyle.parse.hsl-4.html | 2 +- .../2d.fillStyle.parse.hsl-4.worker.js | 2 +- .../2d.fillStyle.parse.hsl-5.html | 2 +- .../2d.fillStyle.parse.hsl-5.worker.js | 2 +- .../2d.fillStyle.parse.hsl-6.html | 2 +- .../2d.fillStyle.parse.hsl-6.worker.js | 2 +- .../2d.fillStyle.parse.hsl-clamp-1.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-1.worker.js | 2 +- .../2d.fillStyle.parse.hsl-clamp-2.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-2.worker.js | 2 +- .../2d.fillStyle.parse.hsl-clamp-3.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-3.worker.js | 2 +- .../2d.fillStyle.parse.hsl-clamp-4.html | 2 +- .../2d.fillStyle.parse.hsl-clamp-4.worker.js | 2 +- .../2d.fillStyle.parse.hsla-1.html | 2 +- .../2d.fillStyle.parse.hsla-1.worker.js | 2 +- .../2d.fillStyle.parse.hsla-2.html | 2 +- .../2d.fillStyle.parse.hsla-2.worker.js | 2 +- .../2d.fillStyle.parse.hsla-clamp-1.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-1.worker.js | 2 +- .../2d.fillStyle.parse.hsla-clamp-2.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-2.worker.js | 2 +- .../2d.fillStyle.parse.hsla-clamp-3.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-3.worker.js | 2 +- .../2d.fillStyle.parse.hsla-clamp-4.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-4.worker.js | 2 +- .../2d.fillStyle.parse.hsla-clamp-5.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-5.worker.js | 2 +- .../2d.fillStyle.parse.hsla-clamp-6.html | 2 +- .../2d.fillStyle.parse.hsla-clamp-6.worker.js | 2 +- .../2d.fillStyle.parse.html4.html | 2 +- .../2d.fillStyle.parse.html4.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-1.html | 2 +- ...Style.parse.invalid.css-color-4-hsl-1.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-2.html | 2 +- ...Style.parse.invalid.css-color-4-hsl-2.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-3.html | 2 +- ...Style.parse.invalid.css-color-4-hsl-3.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-4.html | 2 +- ...Style.parse.invalid.css-color-4-hsl-4.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-hsl-5.html | 2 +- ...Style.parse.invalid.css-color-4-hsl-5.worker.js | 2 +- ...fillStyle.parse.invalid.css-color-4-hsla-1.html | 2 +- ...tyle.parse.invalid.css-color-4-hsla-1.worker.js | 2 +- ...fillStyle.parse.invalid.css-color-4-hsla-2.html | 2 +- ...tyle.parse.invalid.css-color-4-hsla-2.worker.js | 2 +- ...fillStyle.parse.invalid.css-color-4-hsla-3.html | 2 +- ...tyle.parse.invalid.css-color-4-hsla-3.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-1.html | 2 +- ...Style.parse.invalid.css-color-4-rgb-1.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-2.html | 2 +- ...Style.parse.invalid.css-color-4-rgb-2.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-3.html | 2 +- ...Style.parse.invalid.css-color-4-rgb-3.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-4.html | 2 +- ...Style.parse.invalid.css-color-4-rgb-4.worker.js | 2 +- ....fillStyle.parse.invalid.css-color-4-rgb-5.html | 2 +- ...Style.parse.invalid.css-color-4-rgb-5.worker.js | 2 +- ...fillStyle.parse.invalid.css-color-4-rgba-1.html | 2 +- ...tyle.parse.invalid.css-color-4-rgba-1.worker.js | 2 +- ...fillStyle.parse.invalid.css-color-4-rgba-2.html | 2 +- ...tyle.parse.invalid.css-color-4-rgba-2.worker.js | 2 +- ...fillStyle.parse.invalid.css-color-4-rgba-3.html | 2 +- ...tyle.parse.invalid.css-color-4-rgba-3.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex1.html | 2 +- .../2d.fillStyle.parse.invalid.hex1.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex2.html | 2 +- .../2d.fillStyle.parse.invalid.hex2.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex3.html | 2 +- .../2d.fillStyle.parse.invalid.hex3.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex4.html | 2 +- .../2d.fillStyle.parse.invalid.hex4.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex5.html | 2 +- .../2d.fillStyle.parse.invalid.hex5.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex6.html | 2 +- .../2d.fillStyle.parse.invalid.hex6.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex7.html | 2 +- .../2d.fillStyle.parse.invalid.hex7.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hex8.html | 2 +- .../2d.fillStyle.parse.invalid.hex8.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsl-1.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-1.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsl-2.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-2.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsl-3.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-3.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsl-4.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-4.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsl-5.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-5.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsl-6.html | 2 +- .../2d.fillStyle.parse.invalid.hsl-6.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsla-1.html | 2 +- .../2d.fillStyle.parse.invalid.hsla-1.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsla-2.html | 2 +- .../2d.fillStyle.parse.invalid.hsla-2.worker.js | 2 +- .../2d.fillStyle.parse.invalid.hsla-3.html | 2 +- .../2d.fillStyle.parse.invalid.hsla-3.worker.js | 2 +- .../2d.fillStyle.parse.invalid.name-1.html | 2 +- .../2d.fillStyle.parse.invalid.name-1.worker.js | 2 +- .../2d.fillStyle.parse.invalid.name-2.html | 2 +- .../2d.fillStyle.parse.invalid.name-2.worker.js | 2 +- .../2d.fillStyle.parse.invalid.name-3.html | 2 +- .../2d.fillStyle.parse.invalid.name-3.worker.js | 2 +- .../2d.fillStyle.parse.invalid.name-4.html | 2 +- .../2d.fillStyle.parse.invalid.name-4.worker.js | 2 +- .../2d.fillStyle.parse.invalid.name-5.html | 2 +- .../2d.fillStyle.parse.invalid.name-5.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgb-1.html | 2 +- .../2d.fillStyle.parse.invalid.rgb-1.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgb-2.html | 2 +- .../2d.fillStyle.parse.invalid.rgb-2.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgb-3.html | 2 +- .../2d.fillStyle.parse.invalid.rgb-3.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgba-1.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-1.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgba-2.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-2.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgba-3.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-3.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgba-4.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-4.worker.js | 2 +- .../2d.fillStyle.parse.invalid.rgba-5.html | 2 +- .../2d.fillStyle.parse.invalid.rgba-5.worker.js | 2 +- .../2d.fillStyle.parse.rgb-clamp-1.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-1.worker.js | 2 +- .../2d.fillStyle.parse.rgb-clamp-2.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-2.worker.js | 2 +- .../2d.fillStyle.parse.rgb-clamp-3.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-3.worker.js | 2 +- .../2d.fillStyle.parse.rgb-clamp-4.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-4.worker.js | 2 +- .../2d.fillStyle.parse.rgb-clamp-5.html | 2 +- .../2d.fillStyle.parse.rgb-clamp-5.worker.js | 2 +- .../2d.fillStyle.parse.rgb-eof.html | 2 +- .../2d.fillStyle.parse.rgb-eof.worker.js | 2 +- .../2d.fillStyle.parse.rgb-num.html | 2 +- .../2d.fillStyle.parse.rgb-num.worker.js | 2 +- .../2d.fillStyle.parse.rgb-percent.html | 2 +- .../2d.fillStyle.parse.rgb-percent.worker.js | 2 +- .../2d.fillStyle.parse.rgba-clamp-1.html | 2 +- .../2d.fillStyle.parse.rgba-clamp-1.worker.js | 2 +- .../2d.fillStyle.parse.rgba-clamp-2.html | 2 +- .../2d.fillStyle.parse.rgba-clamp-2.worker.js | 2 +- .../2d.fillStyle.parse.rgba-eof.html | 2 +- .../2d.fillStyle.parse.rgba-eof.worker.js | 2 +- .../2d.fillStyle.parse.rgba-num-1.html | 2 +- .../2d.fillStyle.parse.rgba-num-1.worker.js | 2 +- .../2d.fillStyle.parse.rgba-num-2.html | 2 +- .../2d.fillStyle.parse.rgba-num-2.worker.js | 2 +- .../2d.fillStyle.parse.rgba-percent.html | 2 +- .../2d.fillStyle.parse.rgba-percent.worker.js | 2 +- .../2d.fillStyle.parse.rgba-solid-1.html | 2 +- .../2d.fillStyle.parse.rgba-solid-1.worker.js | 2 +- .../2d.fillStyle.parse.rgba-solid-2.html | 2 +- .../2d.fillStyle.parse.rgba-solid-2.worker.js | 2 +- .../2d.fillStyle.parse.rgba-solid-3.html | 2 +- .../2d.fillStyle.parse.rgba-solid-3.worker.js | 2 +- .../2d.fillStyle.parse.rgba-solid-4.html | 2 +- .../2d.fillStyle.parse.rgba-solid-4.worker.js | 2 +- .../2d.fillStyle.parse.svg-1.html | 2 +- .../2d.fillStyle.parse.svg-1.worker.js | 2 +- .../2d.fillStyle.parse.svg-2.html | 2 +- .../2d.fillStyle.parse.svg-2.worker.js | 2 +- .../2d.fillStyle.parse.transparent-1.html | 2 +- .../2d.fillStyle.parse.transparent-1.worker.js | 2 +- .../2d.fillStyle.parse.transparent-2.html | 2 +- .../2d.fillStyle.parse.transparent-2.worker.js | 2 +- .../2d.gradient.conic.negative.rotation.html | 4 +-- .../2d.gradient.conic.negative.rotation.worker.js | 4 +-- .../2d.gradient.conic.positive.rotation.html | 4 +-- .../2d.gradient.conic.positive.rotation.worker.js | 4 +-- .../fill-and-stroke-styles/2d.gradient.empty.html | 2 +- .../2d.gradient.empty.worker.js | 2 +- .../2d.gradient.interpolate.alpha.html | 6 ++-- .../2d.gradient.interpolate.alpha.worker.js | 6 ++-- .../2d.gradient.interpolate.color.html | 6 ++-- .../2d.gradient.interpolate.color.worker.js | 6 ++-- .../2d.gradient.interpolate.coloralpha.html | 6 ++-- .../2d.gradient.interpolate.coloralpha.worker.js | 6 ++-- .../2d.gradient.interpolate.multiple.html | 6 ++-- .../2d.gradient.interpolate.multiple.worker.js | 6 ++-- .../2d.gradient.interpolate.outside.html | 6 ++-- .../2d.gradient.interpolate.outside.worker.js | 6 ++-- .../2d.gradient.interpolate.overlap.html | 12 ++++---- .../2d.gradient.interpolate.overlap.worker.js | 12 ++++---- .../2d.gradient.interpolate.overlap2.html | 10 +++---- .../2d.gradient.interpolate.overlap2.worker.js | 10 +++---- .../2d.gradient.interpolate.solid.html | 2 +- .../2d.gradient.interpolate.solid.worker.js | 2 +- .../2d.gradient.interpolate.vertical.html | 6 ++-- .../2d.gradient.interpolate.vertical.worker.js | 6 ++-- .../2d.gradient.interpolate.zerosize.fill.html | 2 +- ...2d.gradient.interpolate.zerosize.fill.worker.js | 2 +- .../2d.gradient.interpolate.zerosize.fillRect.html | 2 +- ...radient.interpolate.zerosize.fillRect.worker.js | 2 +- .../2d.gradient.interpolate.zerosize.stroke.html | 18 ++++++------ ....gradient.interpolate.zerosize.stroke.worker.js | 18 ++++++------ ...d.gradient.interpolate.zerosize.strokeRect.html | 18 ++++++------ ...dient.interpolate.zerosize.strokeRect.worker.js | 18 ++++++------ .../2d.gradient.linear.transform.1.html | 6 ++-- .../2d.gradient.linear.transform.1.worker.js | 6 ++-- .../2d.gradient.linear.transform.2.html | 6 ++-- .../2d.gradient.linear.transform.2.worker.js | 6 ++-- .../2d.gradient.linear.transform.3.html | 6 ++-- .../2d.gradient.linear.transform.3.worker.js | 6 ++-- .../2d.gradient.object.crosscanvas.html | 2 +- .../2d.gradient.object.crosscanvas.worker.js | 2 +- .../2d.gradient.object.update.html | 2 +- .../2d.gradient.object.update.worker.js | 2 +- .../2d.gradient.radial.cone.behind.html | 18 ++++++------ .../2d.gradient.radial.cone.behind.worker.js | 18 ++++++------ .../2d.gradient.radial.cone.beside.html | 18 ++++++------ .../2d.gradient.radial.cone.beside.worker.js | 18 ++++++------ .../2d.gradient.radial.cone.bottom.html | 18 ++++++------ .../2d.gradient.radial.cone.bottom.worker.js | 18 ++++++------ .../2d.gradient.radial.cone.cylinder.html | 18 ++++++------ .../2d.gradient.radial.cone.cylinder.worker.js | 18 ++++++------ .../2d.gradient.radial.cone.front.html | 18 ++++++------ .../2d.gradient.radial.cone.front.worker.js | 18 ++++++------ .../2d.gradient.radial.cone.shape1.html | 18 ++++++------ .../2d.gradient.radial.cone.shape1.worker.js | 18 ++++++------ .../2d.gradient.radial.cone.shape2.html | 18 ++++++------ .../2d.gradient.radial.cone.shape2.worker.js | 18 ++++++------ .../2d.gradient.radial.cone.top.html | 18 ++++++------ .../2d.gradient.radial.cone.top.worker.js | 18 ++++++------ .../2d.gradient.radial.equal.html | 18 ++++++------ .../2d.gradient.radial.equal.worker.js | 18 ++++++------ .../2d.gradient.radial.inside1.html | 18 ++++++------ .../2d.gradient.radial.inside1.worker.js | 18 ++++++------ .../2d.gradient.radial.inside2.html | 18 ++++++------ .../2d.gradient.radial.inside2.worker.js | 18 ++++++------ .../2d.gradient.radial.inside3.html | 18 ++++++------ .../2d.gradient.radial.inside3.worker.js | 18 ++++++------ .../2d.gradient.radial.outside1.html | 18 ++++++------ .../2d.gradient.radial.outside1.worker.js | 18 ++++++------ .../2d.gradient.radial.outside2.html | 18 ++++++------ .../2d.gradient.radial.outside2.worker.js | 18 ++++++------ .../2d.gradient.radial.outside3.html | 18 ++++++------ .../2d.gradient.radial.outside3.worker.js | 18 ++++++------ .../2d.gradient.radial.touch1.html | 18 ++++++------ .../2d.gradient.radial.touch1.worker.js | 18 ++++++------ .../2d.gradient.radial.touch2.html | 18 ++++++------ .../2d.gradient.radial.touch2.worker.js | 18 ++++++------ .../2d.gradient.radial.touch3.html | 18 ++++++------ .../2d.gradient.radial.touch3.worker.js | 18 ++++++------ .../2d.gradient.radial.transform.1.html | 6 ++-- .../2d.gradient.radial.transform.1.worker.js | 6 ++-- .../2d.gradient.radial.transform.2.html | 6 ++-- .../2d.gradient.radial.transform.2.worker.js | 6 ++-- .../2d.gradient.radial.transform.3.html | 6 ++-- .../2d.gradient.radial.transform.3.worker.js | 6 ++-- .../2d.pattern.basic.canvas.html | 18 ++++++------ .../2d.pattern.basic.canvas.worker.js | 18 ++++++------ .../2d.pattern.basic.image.html | 8 +++--- .../2d.pattern.basic.image.worker.js | 8 +++--- .../2d.pattern.basic.nocontext.html | 8 +++--- .../2d.pattern.basic.nocontext.worker.js | 8 +++--- .../2d.pattern.crosscanvas.html | 2 +- .../2d.pattern.crosscanvas.worker.js | 2 +- .../2d.pattern.modify.canvas1.html | 8 +++--- .../2d.pattern.modify.canvas1.worker.js | 8 +++--- .../2d.pattern.modify.canvas2.html | 8 +++--- .../2d.pattern.modify.canvas2.worker.js | 8 +++--- .../2d.pattern.paint.norepeat.basic.html | 8 +++--- .../2d.pattern.paint.norepeat.basic.worker.js | 8 +++--- .../2d.pattern.paint.norepeat.coord1.html | 8 +++--- .../2d.pattern.paint.norepeat.coord1.worker.js | 8 +++--- .../2d.pattern.paint.norepeat.coord2.html | 8 +++--- .../2d.pattern.paint.norepeat.coord2.worker.js | 8 +++--- .../2d.pattern.paint.norepeat.coord3.html | 8 +++--- .../2d.pattern.paint.norepeat.coord3.worker.js | 8 +++--- .../2d.pattern.paint.norepeat.outside.html | 8 +++--- .../2d.pattern.paint.norepeat.outside.worker.js | 8 +++--- .../2d.pattern.paint.orientation.canvas.html | 8 +++--- .../2d.pattern.paint.orientation.canvas.worker.js | 8 +++--- .../2d.pattern.paint.orientation.image.html | 8 +++--- .../2d.pattern.paint.orientation.image.worker.js | 8 +++--- .../2d.pattern.paint.repeat.basic.html | 8 +++--- .../2d.pattern.paint.repeat.basic.worker.js | 8 +++--- .../2d.pattern.paint.repeat.coord1.html | 8 +++--- .../2d.pattern.paint.repeat.coord1.worker.js | 8 +++--- .../2d.pattern.paint.repeat.coord2.html | 8 +++--- .../2d.pattern.paint.repeat.coord2.worker.js | 8 +++--- .../2d.pattern.paint.repeat.coord3.html | 8 +++--- .../2d.pattern.paint.repeat.coord3.worker.js | 8 +++--- .../2d.pattern.paint.repeat.outside.html | 8 +++--- .../2d.pattern.paint.repeat.outside.worker.js | 8 +++--- .../2d.pattern.paint.repeatx.basic.html | 8 +++--- .../2d.pattern.paint.repeatx.basic.worker.js | 8 +++--- .../2d.pattern.paint.repeatx.coord1.html | 12 ++++---- .../2d.pattern.paint.repeatx.coord1.worker.js | 12 ++++---- .../2d.pattern.paint.repeatx.outside.html | 8 +++--- .../2d.pattern.paint.repeatx.outside.worker.js | 8 +++--- .../2d.pattern.paint.repeaty.basic.html | 8 +++--- .../2d.pattern.paint.repeaty.basic.worker.js | 8 +++--- .../2d.pattern.paint.repeaty.coord1.html | 12 ++++---- .../2d.pattern.paint.repeaty.coord1.worker.js | 12 ++++---- .../2d.pattern.paint.repeaty.outside.html | 8 +++--- .../2d.pattern.paint.repeaty.outside.worker.js | 8 +++--- .../2d.pattern.repeat.empty.html | 8 +++--- .../2d.pattern.repeat.empty.worker.js | 8 +++--- ...r.canvasFilterObject.colorMatrix.tentative.html | 20 ++++++------- ...vasFilterObject.colorMatrix.tentative.worker.js | 20 ++++++------- ...bject.componentTransfer.discrete.tentative.html | 2 +- ....componentTransfer.discrete.tentative.worker.js | 2 +- ...erObject.componentTransfer.gamma.tentative.html | 2 +- ...ect.componentTransfer.gamma.tentative.worker.js | 2 +- ...bject.componentTransfer.identity.tentative.html | 2 +- ....componentTransfer.identity.tentative.worker.js | 2 +- ...rObject.componentTransfer.linear.tentative.html | 2 +- ...ct.componentTransfer.linear.tentative.worker.js | 2 +- ...erObject.componentTransfer.table.tentative.html | 2 +- ...ect.componentTransfer.table.tentative.worker.js | 2 +- .../offscreen/line-styles/2d.line.cap.butt.html | 24 ++++++++-------- .../line-styles/2d.line.cap.butt.worker.js | 24 ++++++++-------- .../offscreen/line-styles/2d.line.cap.closed.html | 8 +++--- .../line-styles/2d.line.cap.closed.worker.js | 8 +++--- .../offscreen/line-styles/2d.line.cap.open.html | 8 +++--- .../line-styles/2d.line.cap.open.worker.js | 8 +++--- .../offscreen/line-styles/2d.line.cap.round.html | 24 ++++++++-------- .../line-styles/2d.line.cap.round.worker.js | 24 ++++++++-------- .../offscreen/line-styles/2d.line.cap.square.html | 24 ++++++++-------- .../line-styles/2d.line.cap.square.worker.js | 24 ++++++++-------- .../offscreen/line-styles/2d.line.cross.html | 8 +++--- .../offscreen/line-styles/2d.line.cross.worker.js | 8 +++--- .../offscreen/line-styles/2d.line.join.bevel.html | 20 ++++++------- .../line-styles/2d.line.join.bevel.worker.js | 20 ++++++------- .../offscreen/line-styles/2d.line.join.closed.html | 8 +++--- .../line-styles/2d.line.join.closed.worker.js | 8 +++--- .../offscreen/line-styles/2d.line.join.miter.html | 20 ++++++------- .../line-styles/2d.line.join.miter.worker.js | 20 ++++++------- .../offscreen/line-styles/2d.line.join.open.html | 8 +++--- .../line-styles/2d.line.join.open.worker.js | 8 +++--- .../line-styles/2d.line.join.parallel.html | 8 +++--- .../line-styles/2d.line.join.parallel.worker.js | 8 +++--- .../offscreen/line-styles/2d.line.join.round.html | 20 ++++++------- .../line-styles/2d.line.join.round.worker.js | 20 ++++++------- .../offscreen/line-styles/2d.line.miter.acute.html | 8 +++--- .../line-styles/2d.line.miter.acute.worker.js | 8 +++--- .../line-styles/2d.line.miter.exceeded.html | 8 +++--- .../line-styles/2d.line.miter.exceeded.worker.js | 8 +++--- .../line-styles/2d.line.miter.lineedge.html | 8 +++--- .../line-styles/2d.line.miter.lineedge.worker.js | 8 +++--- .../line-styles/2d.line.miter.obtuse.html | 8 +++--- .../line-styles/2d.line.miter.obtuse.worker.js | 8 +++--- .../line-styles/2d.line.miter.rightangle.html | 8 +++--- .../line-styles/2d.line.miter.rightangle.worker.js | 8 +++--- .../line-styles/2d.line.miter.within.html | 8 +++--- .../line-styles/2d.line.miter.within.worker.js | 8 +++--- .../offscreen/line-styles/2d.line.union.html | 12 ++++---- .../offscreen/line-styles/2d.line.union.worker.js | 12 ++++---- .../offscreen/line-styles/2d.line.width.basic.html | 28 +++++++++--------- .../line-styles/2d.line.width.basic.worker.js | 28 +++++++++--------- .../line-styles/2d.line.width.scaledefault.html | 10 +++---- .../2d.line.width.scaledefault.worker.js | 10 +++---- .../line-styles/2d.line.width.transformed.html | 28 +++++++++--------- .../2d.line.width.transformed.worker.js | 28 +++++++++--------- .../offscreencanvas.commit.html | 2 +- .../offscreencanvas.commit.w.html | 2 +- .../offscreencanvas.getcontext.html | 6 ++-- .../offscreencanvas.getcontext.worker.js | 6 ++-- .../offscreencanvas.transfer.to.imagebitmap.html | 10 +++---- .../path-objects/2d.path.arc.angle.1.html | 2 +- .../path-objects/2d.path.arc.angle.1.worker.js | 2 +- .../path-objects/2d.path.arc.angle.2.html | 2 +- .../path-objects/2d.path.arc.angle.2.worker.js | 2 +- .../path-objects/2d.path.arc.angle.3.html | 2 +- .../path-objects/2d.path.arc.angle.3.worker.js | 2 +- .../path-objects/2d.path.arc.angle.4.html | 8 +++--- .../path-objects/2d.path.arc.angle.4.worker.js | 8 +++--- .../path-objects/2d.path.arc.angle.5.html | 2 +- .../path-objects/2d.path.arc.angle.5.worker.js | 2 +- .../path-objects/2d.path.arc.angle.6.html | 8 +++--- .../path-objects/2d.path.arc.angle.6.worker.js | 8 +++--- .../path-objects/2d.path.arc.default.html | 2 +- .../path-objects/2d.path.arc.default.worker.js | 2 +- .../offscreen/path-objects/2d.path.arc.empty.html | 2 +- .../path-objects/2d.path.arc.empty.worker.js | 2 +- .../offscreen/path-objects/2d.path.arc.end.html | 2 +- .../path-objects/2d.path.arc.end.worker.js | 2 +- .../path-objects/2d.path.arc.nonempty.html | 2 +- .../path-objects/2d.path.arc.nonempty.worker.js | 2 +- .../path-objects/2d.path.arc.nonfinite.html | 4 +-- .../path-objects/2d.path.arc.nonfinite.worker.js | 4 +-- .../path-objects/2d.path.arc.scale.1.html | 18 ++++++------ .../path-objects/2d.path.arc.scale.1.worker.js | 18 ++++++------ .../path-objects/2d.path.arc.scale.2.html | 18 ++++++------ .../path-objects/2d.path.arc.scale.2.worker.js | 18 ++++++------ .../path-objects/2d.path.arc.selfintersect.1.html | 4 +-- .../2d.path.arc.selfintersect.1.worker.js | 4 +-- .../path-objects/2d.path.arc.selfintersect.2.html | 12 ++++---- .../2d.path.arc.selfintersect.2.worker.js | 12 ++++---- .../path-objects/2d.path.arc.shape.1.html | 12 ++++---- .../path-objects/2d.path.arc.shape.1.worker.js | 12 ++++---- .../path-objects/2d.path.arc.shape.2.html | 12 ++++---- .../path-objects/2d.path.arc.shape.2.worker.js | 12 ++++---- .../path-objects/2d.path.arc.shape.3.html | 10 +++---- .../path-objects/2d.path.arc.shape.3.worker.js | 10 +++---- .../path-objects/2d.path.arc.shape.4.html | 10 +++---- .../path-objects/2d.path.arc.shape.4.worker.js | 10 +++---- .../path-objects/2d.path.arc.shape.5.html | 10 +++---- .../path-objects/2d.path.arc.shape.5.worker.js | 10 +++---- .../path-objects/2d.path.arc.twopie.1.html | 2 +- .../path-objects/2d.path.arc.twopie.1.worker.js | 2 +- .../path-objects/2d.path.arc.twopie.2.html | 2 +- .../path-objects/2d.path.arc.twopie.2.worker.js | 2 +- .../path-objects/2d.path.arc.twopie.3.html | 2 +- .../path-objects/2d.path.arc.twopie.3.worker.js | 2 +- .../path-objects/2d.path.arc.twopie.4.html | 2 +- .../path-objects/2d.path.arc.twopie.4.worker.js | 2 +- .../offscreen/path-objects/2d.path.arc.zero.1.html | 2 +- .../path-objects/2d.path.arc.zero.1.worker.js | 2 +- .../offscreen/path-objects/2d.path.arc.zero.2.html | 2 +- .../path-objects/2d.path.arc.zero.2.worker.js | 2 +- .../path-objects/2d.path.arc.zeroradius.html | 2 +- .../path-objects/2d.path.arc.zeroradius.worker.js | 2 +- .../path-objects/2d.path.arcTo.coincide.1.html | 6 ++-- .../2d.path.arcTo.coincide.1.worker.js | 6 ++-- .../path-objects/2d.path.arcTo.coincide.2.html | 2 +- .../2d.path.arcTo.coincide.2.worker.js | 2 +- .../path-objects/2d.path.arcTo.collinear.1.html | 2 +- .../2d.path.arcTo.collinear.1.worker.js | 2 +- .../path-objects/2d.path.arcTo.collinear.2.html | 2 +- .../2d.path.arcTo.collinear.2.worker.js | 2 +- .../path-objects/2d.path.arcTo.collinear.3.html | 2 +- .../2d.path.arcTo.collinear.3.worker.js | 2 +- .../2d.path.arcTo.ensuresubpath.1.html | 2 +- .../2d.path.arcTo.ensuresubpath.1.worker.js | 2 +- .../2d.path.arcTo.ensuresubpath.2.html | 2 +- .../2d.path.arcTo.ensuresubpath.2.worker.js | 2 +- .../path-objects/2d.path.arcTo.nonfinite.html | 4 +-- .../path-objects/2d.path.arcTo.nonfinite.worker.js | 4 +-- .../path-objects/2d.path.arcTo.scale.html | 18 ++++++------ .../path-objects/2d.path.arcTo.scale.worker.js | 18 ++++++------ .../path-objects/2d.path.arcTo.shape.curve1.html | 28 +++++++++--------- .../2d.path.arcTo.shape.curve1.worker.js | 28 +++++++++--------- .../path-objects/2d.path.arcTo.shape.curve2.html | 26 ++++++++--------- .../2d.path.arcTo.shape.curve2.worker.js | 26 ++++++++--------- .../path-objects/2d.path.arcTo.shape.end.html | 10 +++---- .../path-objects/2d.path.arcTo.shape.end.worker.js | 10 +++---- .../path-objects/2d.path.arcTo.shape.start.html | 10 +++---- .../2d.path.arcTo.shape.start.worker.js | 10 +++---- .../path-objects/2d.path.arcTo.transformation.html | 18 ++++++------ .../2d.path.arcTo.transformation.worker.js | 18 ++++++------ .../path-objects/2d.path.arcTo.zero.1.html | 2 +- .../path-objects/2d.path.arcTo.zero.1.worker.js | 2 +- .../path-objects/2d.path.arcTo.zero.2.html | 2 +- .../path-objects/2d.path.arcTo.zero.2.worker.js | 2 +- .../offscreen/path-objects/2d.path.beginPath.html | 2 +- .../path-objects/2d.path.beginPath.worker.js | 2 +- .../path-objects/2d.path.bezierCurveTo.basic.html | 2 +- .../2d.path.bezierCurveTo.basic.worker.js | 2 +- .../2d.path.bezierCurveTo.ensuresubpath.1.html | 4 +-- ...2d.path.bezierCurveTo.ensuresubpath.1.worker.js | 4 +-- .../2d.path.bezierCurveTo.ensuresubpath.2.html | 4 +-- ...2d.path.bezierCurveTo.ensuresubpath.2.worker.js | 4 +-- .../2d.path.bezierCurveTo.nonfinite.html | 4 +-- .../2d.path.bezierCurveTo.nonfinite.worker.js | 4 +-- .../path-objects/2d.path.bezierCurveTo.scaled.html | 10 +++---- .../2d.path.bezierCurveTo.scaled.worker.js | 10 +++---- .../path-objects/2d.path.bezierCurveTo.shape.html | 10 +++---- .../2d.path.bezierCurveTo.shape.worker.js | 10 +++---- .../path-objects/2d.path.clip.basic.1.html | 2 +- .../path-objects/2d.path.clip.basic.1.worker.js | 2 +- .../path-objects/2d.path.clip.basic.2.html | 2 +- .../path-objects/2d.path.clip.basic.2.worker.js | 2 +- .../offscreen/path-objects/2d.path.clip.empty.html | 2 +- .../path-objects/2d.path.clip.empty.worker.js | 2 +- .../path-objects/2d.path.clip.intersect.html | 2 +- .../path-objects/2d.path.clip.intersect.worker.js | 2 +- .../path-objects/2d.path.clip.unaffected.html | 2 +- .../path-objects/2d.path.clip.unaffected.worker.js | 2 +- .../path-objects/2d.path.clip.winding.1.html | 2 +- .../path-objects/2d.path.clip.winding.1.worker.js | 2 +- .../path-objects/2d.path.clip.winding.2.html | 2 +- .../path-objects/2d.path.clip.winding.2.worker.js | 2 +- .../path-objects/2d.path.closePath.empty.html | 2 +- .../path-objects/2d.path.closePath.empty.worker.js | 2 +- .../path-objects/2d.path.closePath.newline.html | 2 +- .../2d.path.closePath.newline.worker.js | 2 +- .../path-objects/2d.path.closePath.nextpoint.html | 2 +- .../2d.path.closePath.nextpoint.worker.js | 2 +- .../path-objects/2d.path.fill.closed.basic.html | 2 +- .../2d.path.fill.closed.basic.worker.js | 2 +- .../2d.path.fill.closed.unaffected.html | 4 +-- .../2d.path.fill.closed.unaffected.worker.js | 4 +-- .../path-objects/2d.path.fill.overlap.html | 2 +- .../path-objects/2d.path.fill.overlap.worker.js | 2 +- .../path-objects/2d.path.fill.winding.add.html | 2 +- .../2d.path.fill.winding.add.worker.js | 2 +- .../2d.path.fill.winding.subtract.1.html | 2 +- .../2d.path.fill.winding.subtract.1.worker.js | 2 +- .../2d.path.fill.winding.subtract.2.html | 2 +- .../2d.path.fill.winding.subtract.2.worker.js | 2 +- .../2d.path.fill.winding.subtract.3.html | 2 +- .../2d.path.fill.winding.subtract.3.worker.js | 2 +- .../offscreen/path-objects/2d.path.initial.html | 2 +- .../path-objects/2d.path.initial.worker.js | 2 +- .../path-objects/2d.path.lineTo.basic.html | 2 +- .../path-objects/2d.path.lineTo.basic.worker.js | 2 +- .../2d.path.lineTo.ensuresubpath.1.html | 2 +- .../2d.path.lineTo.ensuresubpath.1.worker.js | 2 +- .../2d.path.lineTo.ensuresubpath.2.html | 2 +- .../2d.path.lineTo.ensuresubpath.2.worker.js | 2 +- .../path-objects/2d.path.lineTo.nextpoint.html | 2 +- .../2d.path.lineTo.nextpoint.worker.js | 2 +- .../path-objects/2d.path.lineTo.nonfinite.html | 4 +-- .../2d.path.lineTo.nonfinite.worker.js | 4 +-- .../path-objects/2d.path.moveTo.basic.html | 2 +- .../path-objects/2d.path.moveTo.basic.worker.js | 2 +- .../path-objects/2d.path.moveTo.multiple.html | 2 +- .../path-objects/2d.path.moveTo.multiple.worker.js | 2 +- .../path-objects/2d.path.moveTo.newsubpath.html | 2 +- .../2d.path.moveTo.newsubpath.worker.js | 2 +- .../path-objects/2d.path.moveTo.nonfinite.html | 2 +- .../2d.path.moveTo.nonfinite.worker.js | 2 +- .../2d.path.quadraticCurveTo.basic.html | 2 +- .../2d.path.quadraticCurveTo.basic.worker.js | 2 +- .../2d.path.quadraticCurveTo.ensuresubpath.1.html | 4 +-- ...path.quadraticCurveTo.ensuresubpath.1.worker.js | 4 +-- .../2d.path.quadraticCurveTo.ensuresubpath.2.html | 4 +-- ...path.quadraticCurveTo.ensuresubpath.2.worker.js | 4 +-- .../2d.path.quadraticCurveTo.nonfinite.html | 4 +-- .../2d.path.quadraticCurveTo.nonfinite.worker.js | 4 +-- .../2d.path.quadraticCurveTo.scaled.html | 10 +++---- .../2d.path.quadraticCurveTo.scaled.worker.js | 10 +++---- .../2d.path.quadraticCurveTo.shape.html | 10 +++---- .../2d.path.quadraticCurveTo.shape.worker.js | 10 +++---- .../offscreen/path-objects/2d.path.rect.basic.html | 2 +- .../path-objects/2d.path.rect.basic.worker.js | 2 +- .../path-objects/2d.path.rect.closed.html | 2 +- .../path-objects/2d.path.rect.closed.worker.js | 2 +- .../offscreen/path-objects/2d.path.rect.end.1.html | 2 +- .../path-objects/2d.path.rect.end.1.worker.js | 2 +- .../offscreen/path-objects/2d.path.rect.end.2.html | 8 +++--- .../path-objects/2d.path.rect.end.2.worker.js | 8 +++--- .../path-objects/2d.path.rect.negative.html | 8 +++--- .../path-objects/2d.path.rect.negative.worker.js | 8 +++--- .../path-objects/2d.path.rect.newsubpath.html | 2 +- .../path-objects/2d.path.rect.newsubpath.worker.js | 2 +- .../path-objects/2d.path.rect.nonfinite.html | 4 +-- .../path-objects/2d.path.rect.nonfinite.worker.js | 4 +-- .../path-objects/2d.path.rect.selfintersect.html | 2 +- .../2d.path.rect.selfintersect.worker.js | 2 +- .../path-objects/2d.path.rect.winding.html | 8 +++--- .../path-objects/2d.path.rect.winding.worker.js | 8 +++--- .../path-objects/2d.path.rect.zero.1.html | 2 +- .../path-objects/2d.path.rect.zero.1.worker.js | 2 +- .../path-objects/2d.path.rect.zero.2.html | 2 +- .../path-objects/2d.path.rect.zero.2.worker.js | 2 +- .../path-objects/2d.path.rect.zero.3.html | 2 +- .../path-objects/2d.path.rect.zero.3.worker.js | 2 +- .../path-objects/2d.path.rect.zero.4.html | 2 +- .../path-objects/2d.path.rect.zero.4.worker.js | 2 +- .../path-objects/2d.path.rect.zero.5.html | 2 +- .../path-objects/2d.path.rect.zero.5.worker.js | 2 +- .../path-objects/2d.path.rect.zero.6.html | 2 +- .../path-objects/2d.path.rect.zero.6.worker.js | 2 +- .../2d.path.roundrect.1.radius.dompoint.html | 32 ++++++++++----------- .../2d.path.roundrect.1.radius.dompoint.worker.js | 32 ++++++++++----------- .../2d.path.roundrect.1.radius.dompointinit.html | 32 ++++++++++----------- ....path.roundrect.1.radius.dompointinit.worker.js | 32 ++++++++++----------- .../2d.path.roundrect.1.radius.double.html | 8 +++--- .../2d.path.roundrect.1.radius.double.worker.js | 8 +++--- .../2d.path.roundrect.2.radii.1.dompoint.html | 20 ++++++------- .../2d.path.roundrect.2.radii.1.dompoint.worker.js | 20 ++++++------- .../2d.path.roundrect.2.radii.1.dompointinit.html | 20 ++++++------- ...path.roundrect.2.radii.1.dompointinit.worker.js | 20 ++++++------- .../2d.path.roundrect.2.radii.1.double.html | 8 +++--- .../2d.path.roundrect.2.radii.1.double.worker.js | 8 +++--- .../2d.path.roundrect.2.radii.2.dompoint.html | 20 ++++++------- .../2d.path.roundrect.2.radii.2.dompoint.worker.js | 20 ++++++------- .../2d.path.roundrect.2.radii.2.dompointinit.html | 20 ++++++------- ...path.roundrect.2.radii.2.dompointinit.worker.js | 20 ++++++------- .../2d.path.roundrect.2.radii.2.double.html | 8 +++--- .../2d.path.roundrect.2.radii.2.double.worker.js | 8 +++--- .../2d.path.roundrect.3.radii.1.dompoint.html | 14 ++++----- .../2d.path.roundrect.3.radii.1.dompoint.worker.js | 14 ++++----- .../2d.path.roundrect.3.radii.1.dompointinit.html | 14 ++++----- ...path.roundrect.3.radii.1.dompointinit.worker.js | 14 ++++----- .../2d.path.roundrect.3.radii.1.double.html | 8 +++--- .../2d.path.roundrect.3.radii.1.double.worker.js | 8 +++--- .../2d.path.roundrect.3.radii.2.dompoint.html | 20 ++++++------- .../2d.path.roundrect.3.radii.2.dompoint.worker.js | 20 ++++++------- .../2d.path.roundrect.3.radii.2.dompointinit.html | 20 ++++++------- ...path.roundrect.3.radii.2.dompointinit.worker.js | 20 ++++++------- .../2d.path.roundrect.3.radii.2.double.html | 8 +++--- .../2d.path.roundrect.3.radii.2.double.worker.js | 8 +++--- .../2d.path.roundrect.3.radii.3.dompoint.html | 14 ++++----- .../2d.path.roundrect.3.radii.3.dompoint.worker.js | 14 ++++----- .../2d.path.roundrect.3.radii.3.dompointinit.html | 14 ++++----- ...path.roundrect.3.radii.3.dompointinit.worker.js | 14 ++++----- .../2d.path.roundrect.3.radii.3.double.html | 8 +++--- .../2d.path.roundrect.3.radii.3.double.worker.js | 8 +++--- .../2d.path.roundrect.4.radii.1.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.1.dompoint.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.1.dompointinit.html | 14 ++++----- ...path.roundrect.4.radii.1.dompointinit.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.1.double.html | 8 +++--- .../2d.path.roundrect.4.radii.1.double.worker.js | 8 +++--- .../2d.path.roundrect.4.radii.2.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.2.dompoint.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.2.dompointinit.html | 14 ++++----- ...path.roundrect.4.radii.2.dompointinit.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.2.double.html | 8 +++--- .../2d.path.roundrect.4.radii.2.double.worker.js | 8 +++--- .../2d.path.roundrect.4.radii.3.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.3.dompoint.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.3.dompointinit.html | 14 ++++----- ...path.roundrect.4.radii.3.dompointinit.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.3.double.html | 8 +++--- .../2d.path.roundrect.4.radii.3.double.worker.js | 8 +++--- .../2d.path.roundrect.4.radii.4.dompoint.html | 14 ++++----- .../2d.path.roundrect.4.radii.4.dompoint.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.4.dompointinit.html | 14 ++++----- ...path.roundrect.4.radii.4.dompointinit.worker.js | 14 ++++----- .../2d.path.roundrect.4.radii.4.double.html | 8 +++--- .../2d.path.roundrect.4.radii.4.double.worker.js | 8 +++--- .../path-objects/2d.path.roundrect.closed.html | 2 +- .../2d.path.roundrect.closed.worker.js | 2 +- .../path-objects/2d.path.roundrect.end.1.html | 2 +- .../path-objects/2d.path.roundrect.end.1.worker.js | 2 +- .../path-objects/2d.path.roundrect.end.2.html | 8 +++--- .../path-objects/2d.path.roundrect.end.2.worker.js | 8 +++--- .../path-objects/2d.path.roundrect.end.3.html | 8 +++--- .../path-objects/2d.path.roundrect.end.3.worker.js | 8 +++--- .../path-objects/2d.path.roundrect.end.4.html | 8 +++--- .../path-objects/2d.path.roundrect.end.4.worker.js | 8 +++--- .../path-objects/2d.path.roundrect.negative.html | 16 +++++------ .../2d.path.roundrect.negative.worker.js | 16 +++++------ .../path-objects/2d.path.roundrect.newsubpath.html | 2 +- .../2d.path.roundrect.newsubpath.worker.js | 2 +- .../path-objects/2d.path.roundrect.nonfinite.html | 4 +-- .../2d.path.roundrect.nonfinite.worker.js | 4 +-- .../2d.path.roundrect.radius.intersecting.1.html | 18 ++++++------ ....path.roundrect.radius.intersecting.1.worker.js | 18 ++++++------ .../2d.path.roundrect.radius.intersecting.2.html | 18 ++++++------ ....path.roundrect.radius.intersecting.2.worker.js | 18 ++++++------ .../2d.path.roundrect.selfintersect.html | 2 +- .../2d.path.roundrect.selfintersect.worker.js | 2 +- .../path-objects/2d.path.roundrect.winding.html | 8 +++--- .../2d.path.roundrect.winding.worker.js | 8 +++--- .../path-objects/2d.path.roundrect.zero.1.html | 2 +- .../2d.path.roundrect.zero.1.worker.js | 2 +- .../path-objects/2d.path.roundrect.zero.2.html | 2 +- .../2d.path.roundrect.zero.2.worker.js | 2 +- .../path-objects/2d.path.roundrect.zero.3.html | 2 +- .../2d.path.roundrect.zero.3.worker.js | 2 +- .../path-objects/2d.path.roundrect.zero.4.html | 2 +- .../2d.path.roundrect.zero.4.worker.js | 2 +- .../path-objects/2d.path.roundrect.zero.5.html | 2 +- .../2d.path.roundrect.zero.5.worker.js | 2 +- .../path-objects/2d.path.roundrect.zero.6.html | 2 +- .../2d.path.roundrect.zero.6.worker.js | 2 +- .../path-objects/2d.path.stroke.empty.html | 2 +- .../path-objects/2d.path.stroke.empty.worker.js | 2 +- .../path-objects/2d.path.stroke.overlap.html | 2 +- .../path-objects/2d.path.stroke.overlap.worker.js | 2 +- .../path-objects/2d.path.stroke.prune.arc.html | 2 +- .../2d.path.stroke.prune.arc.worker.js | 2 +- .../path-objects/2d.path.stroke.prune.closed.html | 2 +- .../2d.path.stroke.prune.closed.worker.js | 2 +- .../path-objects/2d.path.stroke.prune.corner.html | 2 +- .../2d.path.stroke.prune.corner.worker.js | 2 +- .../path-objects/2d.path.stroke.prune.curve.html | 2 +- .../2d.path.stroke.prune.curve.worker.js | 2 +- .../path-objects/2d.path.stroke.prune.line.html | 2 +- .../2d.path.stroke.prune.line.worker.js | 2 +- .../path-objects/2d.path.stroke.prune.rect.html | 2 +- .../2d.path.stroke.prune.rect.worker.js | 2 +- .../path-objects/2d.path.stroke.scale1.html | 18 ++++++------ .../path-objects/2d.path.stroke.scale1.worker.js | 18 ++++++------ .../path-objects/2d.path.stroke.scale2.html | 18 ++++++------ .../path-objects/2d.path.stroke.scale2.worker.js | 18 ++++++------ .../path-objects/2d.path.stroke.skew.html | 18 ++++++------ .../path-objects/2d.path.stroke.skew.worker.js | 18 ++++++------ .../path-objects/2d.path.stroke.unaffected.html | 2 +- .../2d.path.stroke.unaffected.worker.js | 2 +- .../path-objects/2d.path.stroke.union.html | 2 +- .../path-objects/2d.path.stroke.union.worker.js | 2 +- .../path-objects/2d.path.transformation.basic.html | 2 +- .../2d.path.transformation.basic.worker.js | 2 +- .../2d.path.transformation.changing.html | 2 +- .../2d.path.transformation.changing.worker.js | 2 +- .../2d.path.transformation.multiple.html | 2 +- .../2d.path.transformation.multiple.worker.js | 2 +- .../2d.imageData.get.unaffected.html | 4 +-- .../2d.imageData.get.unaffected.worker.js | 4 +-- .../pixel-manipulation/2d.imageData.put.alpha.html | 2 +- .../2d.imageData.put.alpha.worker.js | 2 +- .../pixel-manipulation/2d.imageData.put.basic.html | 2 +- .../2d.imageData.put.basic.worker.js | 2 +- .../pixel-manipulation/2d.imageData.put.clip.html | 4 +-- .../2d.imageData.put.clip.worker.js | 4 +-- .../2d.imageData.put.created.html | 2 +- .../2d.imageData.put.created.worker.js | 2 +- .../pixel-manipulation/2d.imageData.put.cross.html | 2 +- .../2d.imageData.put.cross.worker.js | 2 +- .../2d.imageData.put.dirty.negative.html | 10 +++---- .../2d.imageData.put.dirty.negative.worker.js | 10 +++---- .../2d.imageData.put.dirty.outside.html | 14 ++++----- .../2d.imageData.put.dirty.outside.worker.js | 14 ++++----- .../2d.imageData.put.dirty.rect1.html | 10 +++---- .../2d.imageData.put.dirty.rect1.worker.js | 10 +++---- .../2d.imageData.put.dirty.rect2.html | 10 +++---- .../2d.imageData.put.dirty.rect2.worker.js | 10 +++---- .../2d.imageData.put.dirty.zero.html | 2 +- .../2d.imageData.put.dirty.zero.worker.js | 2 +- .../2d.imageData.put.modified.html | 2 +- .../2d.imageData.put.modified.worker.js | 2 +- .../pixel-manipulation/2d.imageData.put.path.html | 2 +- .../2d.imageData.put.path.worker.js | 2 +- .../2d.imageData.put.unaffected.html | 2 +- .../2d.imageData.put.unaffected.worker.js | 2 +- .../offscreen/shadows/2d.shadow.alpha.1.html | 2 +- .../offscreen/shadows/2d.shadow.alpha.1.worker.js | 2 +- .../offscreen/shadows/2d.shadow.alpha.2.html | 2 +- .../offscreen/shadows/2d.shadow.alpha.2.worker.js | 2 +- .../offscreen/shadows/2d.shadow.alpha.3.html | 2 +- .../offscreen/shadows/2d.shadow.alpha.3.worker.js | 2 +- .../offscreen/shadows/2d.shadow.alpha.4.html | 2 +- .../offscreen/shadows/2d.shadow.alpha.4.worker.js | 2 +- .../offscreen/shadows/2d.shadow.alpha.5.html | 2 +- .../offscreen/shadows/2d.shadow.alpha.5.worker.js | 2 +- .../offscreen/shadows/2d.shadow.canvas.alpha.html | 2 +- .../shadows/2d.shadow.canvas.alpha.worker.js | 2 +- .../offscreen/shadows/2d.shadow.canvas.basic.html | 2 +- .../shadows/2d.shadow.canvas.basic.worker.js | 2 +- .../shadows/2d.shadow.canvas.transparent.1.html | 2 +- .../2d.shadow.canvas.transparent.1.worker.js | 2 +- .../shadows/2d.shadow.canvas.transparent.2.html | 6 ++-- .../2d.shadow.canvas.transparent.2.worker.js | 6 ++-- .../canvas/offscreen/shadows/2d.shadow.clip.1.html | 4 +-- .../offscreen/shadows/2d.shadow.clip.1.worker.js | 4 +-- .../canvas/offscreen/shadows/2d.shadow.clip.2.html | 4 +-- .../offscreen/shadows/2d.shadow.clip.2.worker.js | 4 +-- .../canvas/offscreen/shadows/2d.shadow.clip.3.html | 4 +-- .../offscreen/shadows/2d.shadow.clip.3.worker.js | 4 +-- .../offscreen/shadows/2d.shadow.composite.1.html | 2 +- .../shadows/2d.shadow.composite.1.worker.js | 2 +- .../offscreen/shadows/2d.shadow.composite.2.html | 2 +- .../shadows/2d.shadow.composite.2.worker.js | 2 +- .../offscreen/shadows/2d.shadow.composite.3.html | 4 +-- .../shadows/2d.shadow.composite.3.worker.js | 4 +-- .../offscreen/shadows/2d.shadow.enable.blur.html | 2 +- .../shadows/2d.shadow.enable.blur.worker.js | 2 +- .../offscreen/shadows/2d.shadow.enable.off.1.html | 2 +- .../shadows/2d.shadow.enable.off.1.worker.js | 2 +- .../offscreen/shadows/2d.shadow.enable.off.2.html | 2 +- .../shadows/2d.shadow.enable.off.2.worker.js | 2 +- .../offscreen/shadows/2d.shadow.enable.x.html | 2 +- .../offscreen/shadows/2d.shadow.enable.x.worker.js | 2 +- .../offscreen/shadows/2d.shadow.enable.y.html | 2 +- .../offscreen/shadows/2d.shadow.enable.y.worker.js | 2 +- .../shadows/2d.shadow.gradient.alpha.html | 2 +- .../shadows/2d.shadow.gradient.alpha.worker.js | 2 +- .../shadows/2d.shadow.gradient.basic.html | 2 +- .../shadows/2d.shadow.gradient.basic.worker.js | 2 +- .../shadows/2d.shadow.gradient.transparent.1.html | 2 +- .../2d.shadow.gradient.transparent.1.worker.js | 2 +- .../shadows/2d.shadow.gradient.transparent.2.html | 6 ++-- .../2d.shadow.gradient.transparent.2.worker.js | 6 ++-- .../offscreen/shadows/2d.shadow.image.alpha.html | 2 +- .../shadows/2d.shadow.image.alpha.worker.js | 2 +- .../offscreen/shadows/2d.shadow.image.basic.html | 2 +- .../shadows/2d.shadow.image.basic.worker.js | 2 +- .../offscreen/shadows/2d.shadow.image.scale.html | 6 ++-- .../shadows/2d.shadow.image.scale.worker.js | 6 ++-- .../offscreen/shadows/2d.shadow.image.section.html | 6 ++-- .../shadows/2d.shadow.image.section.worker.js | 6 ++-- .../shadows/2d.shadow.image.transparent.1.html | 2 +- .../2d.shadow.image.transparent.1.worker.js | 2 +- .../shadows/2d.shadow.image.transparent.2.html | 6 ++-- .../2d.shadow.image.transparent.2.worker.js | 6 ++-- .../shadows/2d.shadow.offset.negativeX.html | 4 +-- .../shadows/2d.shadow.offset.negativeX.worker.js | 4 +-- .../shadows/2d.shadow.offset.negativeY.html | 4 +-- .../shadows/2d.shadow.offset.negativeY.worker.js | 4 +-- .../shadows/2d.shadow.offset.positiveX.html | 4 +-- .../shadows/2d.shadow.offset.positiveX.worker.js | 4 +-- .../shadows/2d.shadow.offset.positiveY.html | 4 +-- .../shadows/2d.shadow.offset.positiveY.worker.js | 4 +-- .../offscreen/shadows/2d.shadow.outside.html | 8 +++--- .../offscreen/shadows/2d.shadow.outside.worker.js | 8 +++--- .../shadows/2d.shadow.pattern.transparent.2.html | 6 ++-- .../2d.shadow.pattern.transparent.2.worker.js | 6 ++-- .../offscreen/shadows/2d.shadow.stroke.basic.html | 6 ++-- .../shadows/2d.shadow.stroke.basic.worker.js | 6 ++-- .../offscreen/shadows/2d.shadow.stroke.cap.1.html | 6 ++-- .../shadows/2d.shadow.stroke.cap.1.worker.js | 6 ++-- .../offscreen/shadows/2d.shadow.stroke.cap.2.html | 6 ++-- .../shadows/2d.shadow.stroke.cap.2.worker.js | 6 ++-- .../offscreen/shadows/2d.shadow.stroke.join.1.html | 8 +++--- .../shadows/2d.shadow.stroke.join.1.worker.js | 8 +++--- .../offscreen/shadows/2d.shadow.stroke.join.2.html | 8 +++--- .../shadows/2d.shadow.stroke.join.2.worker.js | 8 +++--- .../offscreen/shadows/2d.shadow.stroke.join.3.html | 8 +++--- .../shadows/2d.shadow.stroke.join.3.worker.js | 8 +++--- .../offscreen/shadows/2d.shadow.transform.1.html | 2 +- .../shadows/2d.shadow.transform.1.worker.js | 2 +- .../offscreen/shadows/2d.shadow.transform.2.html | 2 +- .../shadows/2d.shadow.transform.2.worker.js | 2 +- .../offscreen/text/2d.text.draw.align.center.html | 12 ++++---- .../text/2d.text.draw.align.center.worker.js | 12 ++++---- .../offscreen/text/2d.text.draw.align.end.ltr.html | 12 ++++---- .../text/2d.text.draw.align.end.ltr.worker.js | 12 ++++---- .../offscreen/text/2d.text.draw.align.end.rtl.html | 12 ++++---- .../text/2d.text.draw.align.end.rtl.worker.js | 12 ++++---- .../offscreen/text/2d.text.draw.align.left.html | 12 ++++---- .../text/2d.text.draw.align.left.worker.js | 12 ++++---- .../offscreen/text/2d.text.draw.align.right.html | 12 ++++---- .../text/2d.text.draw.align.right.worker.js | 12 ++++---- .../text/2d.text.draw.align.start.ltr.html | 12 ++++---- .../text/2d.text.draw.align.start.ltr.worker.js | 12 ++++---- .../text/2d.text.draw.align.start.rtl.html | 12 ++++---- .../text/2d.text.draw.align.start.rtl.worker.js | 12 ++++---- .../text/2d.text.draw.baseline.alphabetic.html | 12 ++++---- .../2d.text.draw.baseline.alphabetic.worker.js | 12 ++++---- .../text/2d.text.draw.baseline.bottom.html | 12 ++++---- .../text/2d.text.draw.baseline.bottom.worker.js | 12 ++++---- .../text/2d.text.draw.baseline.hanging.html | 12 ++++---- .../text/2d.text.draw.baseline.hanging.worker.js | 12 ++++---- .../text/2d.text.draw.baseline.ideographic.html | 12 ++++---- .../2d.text.draw.baseline.ideographic.worker.js | 12 ++++---- .../text/2d.text.draw.baseline.middle.html | 12 ++++---- .../text/2d.text.draw.baseline.middle.worker.js | 12 ++++---- .../offscreen/text/2d.text.draw.baseline.top.html | 12 ++++---- .../text/2d.text.draw.baseline.top.worker.js | 12 ++++---- .../offscreen/text/2d.text.draw.fill.basic.png | Bin 1508 -> 1137 bytes .../text/2d.text.draw.fill.maxWidth.bound.html | 8 +++--- .../2d.text.draw.fill.maxWidth.bound.worker.js | 8 +++--- .../text/2d.text.draw.fill.maxWidth.fontface.html | 8 +++--- .../2d.text.draw.fill.maxWidth.fontface.worker.js | 8 +++--- .../text/2d.text.draw.fill.maxWidth.large.png | Bin 1508 -> 1137 bytes .../offscreen/text/2d.text.draw.fill.rtl.png | Bin 1508 -> 1137 bytes .../text/2d.text.draw.fill.unaffected.html | 4 +-- .../text/2d.text.draw.fill.unaffected.worker.js | 4 +-- .../offscreen/text/2d.text.draw.fontface.html | 8 +++--- .../text/2d.text.draw.fontface.notinpage.html | 8 +++--- .../text/2d.text.draw.fontface.notinpage.worker.js | 8 +++--- .../text/2d.text.draw.fontface.repeat.html | 8 +++--- .../text/2d.text.draw.fontface.repeat.worker.js | 8 +++--- .../offscreen/text/2d.text.draw.fontface.worker.js | 8 +++--- .../offscreen/text/2d.text.draw.space.basic.html | 4 +-- .../text/2d.text.draw.space.basic.worker.js | 4 +-- .../text/2d.text.draw.space.collapse.end.html | 4 +-- .../text/2d.text.draw.space.collapse.end.worker.js | 4 +-- .../text/2d.text.draw.space.collapse.nonspace.html | 4 +-- .../2d.text.draw.space.collapse.nonspace.worker.js | 4 +-- .../text/2d.text.draw.space.collapse.other.html | 4 +-- .../2d.text.draw.space.collapse.other.worker.js | 4 +-- .../text/2d.text.draw.space.collapse.space.html | 4 +-- .../2d.text.draw.space.collapse.space.worker.js | 4 +-- .../text/2d.text.draw.space.collapse.start.html | 4 +-- .../2d.text.draw.space.collapse.start.worker.js | 4 +-- .../offscreen/text/2d.text.draw.stroke.basic.png | Bin 2064 -> 1634 bytes .../text/2d.text.draw.stroke.unaffected.html | 4 +-- .../text/2d.text.draw.stroke.unaffected.worker.js | 4 +-- .../2d.state.saverestore.bitmap.html | 2 +- .../2d.state.saverestore.bitmap.worker.js | 2 +- .../2d.state.saverestore.clip.html | 2 +- .../2d.state.saverestore.clip.worker.js | 2 +- .../2d.state.saverestore.path.html | 2 +- .../2d.state.saverestore.path.worker.js | 2 +- .../2d.state.saverestore.transformation.html | 2 +- .../2d.state.saverestore.transformation.worker.js | 2 +- .../the-offscreen-canvas/2d.getcontext.shared.html | 2 +- .../2d.getcontext.shared.worker.js | 2 +- .../the-offscreen-canvas/initial.color.html | 2 +- .../the-offscreen-canvas/initial.color.worker.js | 2 +- .../the-offscreen-canvas/initial.reset.clip.html | 2 +- .../initial.reset.clip.worker.js | 2 +- .../initial.reset.different.html | 4 +-- .../initial.reset.different.worker.js | 4 +-- .../initial.reset.gradient.html | 2 +- .../initial.reset.gradient.worker.js | 2 +- .../the-offscreen-canvas/initial.reset.path.html | 2 +- .../initial.reset.path.worker.js | 2 +- .../initial.reset.pattern.html | 2 +- .../initial.reset.pattern.worker.js | 2 +- .../the-offscreen-canvas/initial.reset.same.html | 4 +-- .../initial.reset.same.worker.js | 4 +-- .../initial.reset.transform.html | 2 +- .../initial.reset.transform.worker.js | 2 +- .../transformations/2d.transformation.order.html | 2 +- .../2d.transformation.order.worker.js | 2 +- .../2d.transformation.rotate.direction.html | 2 +- .../2d.transformation.rotate.direction.worker.js | 2 +- .../2d.transformation.rotate.nonfinite.html | 2 +- .../2d.transformation.rotate.nonfinite.worker.js | 2 +- .../2d.transformation.rotate.radians.html | 2 +- .../2d.transformation.rotate.radians.worker.js | 2 +- .../2d.transformation.rotate.wrap.html | 6 ++-- .../2d.transformation.rotate.wrap.worker.js | 6 ++-- .../2d.transformation.rotate.wrapnegative.html | 6 ++-- ...2d.transformation.rotate.wrapnegative.worker.js | 6 ++-- .../2d.transformation.rotate.zero.html | 2 +- .../2d.transformation.rotate.zero.worker.js | 2 +- .../2d.transformation.scale.basic.html | 2 +- .../2d.transformation.scale.basic.worker.js | 2 +- .../2d.transformation.scale.large.html | 2 +- .../2d.transformation.scale.large.worker.js | 2 +- .../2d.transformation.scale.multiple.html | 2 +- .../2d.transformation.scale.multiple.worker.js | 2 +- .../2d.transformation.scale.negative.html | 4 +-- .../2d.transformation.scale.negative.worker.js | 4 +-- .../2d.transformation.scale.nonfinite.html | 2 +- .../2d.transformation.scale.nonfinite.worker.js | 2 +- .../2d.transformation.scale.zero.html | 2 +- .../2d.transformation.scale.zero.worker.js | 2 +- .../2d.transformation.setTransform.multiple.html | 2 +- ....transformation.setTransform.multiple.worker.js | 2 +- .../2d.transformation.setTransform.nonfinite.html | 2 +- ...transformation.setTransform.nonfinite.worker.js | 2 +- .../2d.transformation.setTransform.skewed.html | 16 +++++------ ...2d.transformation.setTransform.skewed.worker.js | 16 +++++------ .../2d.transformation.transform.identity.html | 2 +- .../2d.transformation.transform.identity.worker.js | 2 +- .../2d.transformation.transform.multiply.html | 2 +- .../2d.transformation.transform.multiply.worker.js | 2 +- .../2d.transformation.transform.nonfinite.html | 2 +- ...2d.transformation.transform.nonfinite.worker.js | 2 +- .../2d.transformation.transform.skewed.html | 16 +++++------ .../2d.transformation.transform.skewed.worker.js | 16 +++++------ .../2d.transformation.translate.basic.html | 2 +- .../2d.transformation.translate.basic.worker.js | 2 +- .../2d.transformation.translate.nonfinite.html | 2 +- ...2d.transformation.translate.nonfinite.worker.js | 2 +- .../tests/html/canvas/resources/canvas-tests.js | 4 +-- .../tests/html/canvas/tools/gentestutils.py | 6 ++-- .../tests/html/canvas/tools/gentestutilsunion.py | 6 ++-- .../tests/html/canvas/tools/yaml-new/filters.yaml | 10 +++---- .../the-canvas-element/2d.getcontext.shared.html | 2 +- .../the-canvas-element/2d.type.extend.html | 2 +- .../the-canvas-element/2d.type.replace.html | 2 +- .../the-canvas-element/initial.colour.html | 3 +- .../the-canvas-element/initial.reset.clip.html | 3 +- .../initial.reset.different.html | 5 ++-- .../the-canvas-element/initial.reset.gradient.html | 3 +- .../the-canvas-element/initial.reset.path.html | 3 +- .../the-canvas-element/initial.reset.pattern.html | 3 +- .../the-canvas-element/initial.reset.same.html | 5 ++-- .../initial.reset.transform.html | 3 +- .../the-canvas-element/security.dataURI.html | 3 +- .../the-canvas-element/toDataURL.jpeg.alpha.html | 3 +- .../toDataURL.jpeg.primarycolours.html | 9 +++--- .../toDataURL.jpeg.quality.basic.html | 4 +-- .../toDataURL.png.complexcolours.html | 9 +++--- .../toDataURL.png.primarycolours.html | 9 +++--- 1976 files changed, 5268 insertions(+), 5284 deletions(-) rewrite testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.basic.png (99%) rewrite testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.rtl.png (99%) rewrite testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.stroke.basic.png (99%) rewrite testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.basic.png (99%) rewrite testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.large.png (99%) rewrite testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.rtl.png (99%) rewrite testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.stroke.basic.png (99%) diff --git a/testing/web-platform/tests/fetch/redirects/subresource-fragments.html b/testing/web-platform/tests/fetch/redirects/subresource-fragments.html index 61f91b6a369d..0bd74d7bfbcd 100644 --- a/testing/web-platform/tests/fetch/redirects/subresource-fragments.html +++ b/testing/web-platform/tests/fetch/redirects/subresource-fragments.html @@ -31,7 +31,7 @@ onload = () => { }); ctx.drawImage(img, 0, 0); // canvas, pixelX, pixelY, r, g, b, alpha, ?, ?, tolerance - _assertPixelApprox(canvas, 40, 40, 0, 255, 0, 255, undefined, undefined, 4); + _assertPixelApprox(canvas, 40, 40, 0, 255, 0, 255, 4); }, img.dataset.desc); }); done(); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.copy.html index b0eb7af95d36..ac022f95e085 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.copy.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,191, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-atop.html index 415815a93416..29cf9bcc5306 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-atop.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5); +_assertPixelApprox(canvas, 50,25, 128,255,128,191, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-in.html index 634d0ef9486f..dc748df15370 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-in.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-out.html index 2a17abe97a76..ebf33f3eba1a 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-out.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,32, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-over.html index 2086c3131bb5..6727e324c63d 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.destination-over.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5); +_assertPixelApprox(canvas, 50,25, 109,255,146,223, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.lighter.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.lighter.html index 16af5ff73afc..abb1fe0ea740 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.lighter.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.lighter.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5); +_assertPixelApprox(canvas, 50,25, 191,255,128,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-atop.html index 9f308283ba1c..76ee7db0534c 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-atop.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); +_assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-in.html index 88c578a117f0..77cbb5e0a63d 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-in.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-out.html index b2a83cc94c6e..353dcd443810 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-out.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-over.html index 9272a462148e..06516cb75193 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.source-over.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5); +_assertPixelApprox(canvas, 50,25, 219,255,36,223, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.xor.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.xor.html index d9b8f4e2c86d..3bc6eb5d7908 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.xor.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.canvas.xor.html @@ -29,7 +29,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); +_assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.copy.html index b8f0384d2924..ace0618cca4c 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.copy.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-atop.html index 3b29bba8a4df..45301941d7ce 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-atop.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-in.html index 9679d5de46eb..2ace910253b5 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-in.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-out.html index 69b3a4916ae7..4b3acf9b86f0 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-out.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-over.html index 60c74c659fb2..0b1f9b52711f 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.destination-over.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.lighter.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.lighter.html index ab8ea116c887..4d2525d75132 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.lighter.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.lighter.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-atop.html index c9e1251df48e..db722a8983aa 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-atop.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-in.html index 347cfc77e6a3..43479240529a 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-in.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-out.html index c43a0f192ce1..358dad372ec3 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-out.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-over.html index 6d1e5b558e65..542f889e7f38 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.source-over.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.xor.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.xor.html index 9f5eda566aa5..edbf6b0be2a8 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.xor.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.clip.xor.html @@ -27,8 +27,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvas.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvas.html index ea287a599ada..2ae3d662f08c 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvas.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvas.html @@ -30,7 +30,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvascopy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvascopy.html index 3bb9577f3cc7..1f3e6299ba05 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvascopy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvascopy.html @@ -32,7 +32,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy' ctx.globalAlpha = 0.51; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,130, "50,25", "0,255,0,130", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,130, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvaspattern.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvaspattern.html index 6f6e4e247f84..e861cddf302a 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvaspattern.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.canvaspattern.html @@ -31,7 +31,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = ctx.createPattern(canvas2, 'no-repeat'); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.fill.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.fill.html index dd551687c927..fce9b7fbfc39 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.fill.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.fill.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.image.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.image.html index ab24cfb0522a..deb13f34160c 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.image.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.image.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.drawImage(document.getElementById('red.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.imagepattern.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.imagepattern.html index 36b46d152205..06aea4c02958 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.imagepattern.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.globalAlpha.imagepattern.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = ctx.createPattern(document.getElementById('red.png'), 'no-repeat'); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.copy.html index b8f9a80cb6ee..f32e03bbaefa 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.copy.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,191, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-atop.html index e14d76e2ecca..2da0d198d058 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-atop.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5); +_assertPixelApprox(canvas, 50,25, 128,255,128,191, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-in.html index b2a8e2595b50..63871b2d8e7d 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-in.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-out.html index 1281af962392..3d96b191ecba 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-out.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,32, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-over.html index d742f84dfb86..8e3dafb63572 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.destination-over.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5); +_assertPixelApprox(canvas, 50,25, 109,255,146,223, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.lighter.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.lighter.html index 139f65a5ec10..6271a77594ed 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.lighter.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.lighter.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5); +_assertPixelApprox(canvas, 50,25, 191,255,128,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-atop.html index c1d952c2b87f..eb7d75449dd0 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-atop.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); +_assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-in.html index 23d7273f3369..0f2fdad979f9 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-in.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-out.html index 94a904c018d4..fd920855d403 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-out.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-over.html index 6ecd184b5b31..ce5b6c631b80 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.source-over.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5); +_assertPixelApprox(canvas, 50,25, 219,255,36,223, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.xor.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.xor.html index 2114751e09bd..68ce901d2af7 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.xor.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.image.xor.html @@ -24,7 +24,7 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.drawImage(document.getElementById('yellow75.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); +_assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.copy.html index 25fb4ed63011..74d9ad5cc2eb 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.copy.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-atop.html index 4557b11c3ae5..5e8f60474ea5 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-atop.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-in.html index 3f8ab1424105..246bdee5450f 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-out.html index a96e1c84d9b7..7227cf41d825 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-out.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-over.html index 9943a582ef7e..48671cee5bed 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.destination-over.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.lighter.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.lighter.html index 7c8f514a0c5d..f869b6d1a909 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.lighter.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.lighter.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,255,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-atop.html index 0cff288de3ff..14041236d2d9 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-atop.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-in.html index 91652da756ce..8f1cfcd16fdf 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-out.html index 62f7faac53c1..55522d54c241 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-out.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-over.html index ef030462c746..6194526396d2 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.source-over.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.xor.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.xor.html index 88089aad16fa..431b8a334644 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.xor.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.solid.xor.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.copy.html index 91cb114f1ed1..58673a12f834 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.copy.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,191, "50,25", "0,0,255,191", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,191, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-atop.html index 8e7c441ddf82..4d22016feace 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-atop.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,128,128,191, "50,25", "0,128,128,191", 5); +_assertPixelApprox(canvas, 50,25, 0,128,128,191, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-in.html index 00643667f619..e946c7215147 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,96, "50,25", "0,255,0,96", 5); +_assertPixelApprox(canvas, 50,25, 0,255,0,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-out.html index 32c5be9e8044..6e2482519336 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-out.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,32, "50,25", "0,255,0,32", 5); +_assertPixelApprox(canvas, 50,25, 0,255,0,32, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-over.html index bc1792f0b00a..4c9c9fbc5fcb 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.destination-over.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,146,109,223, "50,25", "0,146,109,223", 5); +_assertPixelApprox(canvas, 50,25, 0,146,109,223, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.lighter.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.lighter.html index 2147088fdb74..4b3d14844790 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.lighter.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.lighter.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,128,191,255, "50,25", "0,128,191,255", 5); +_assertPixelApprox(canvas, 50,25, 0,128,191,255, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-atop.html index 6f4f502533bb..4b0987764a19 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-atop.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5); +_assertPixelApprox(canvas, 50,25, 0,64,191,128, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-in.html index 4cef84f51bbf..236f01b49ea3 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-out.html index 18dc208a5176..d597ff9e06ec 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-out.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,96, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-over.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-over.html index 6045b14cafaa..e2f8a7f6f8a6 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-over.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.source-over.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,36,219,223, "50,25", "0,36,219,223", 5); +_assertPixelApprox(canvas, 50,25, 0,36,219,223, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.xor.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.xor.html index a40168bc150f..83027e552045 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.xor.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.transparent.xor.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5); +_assertPixelApprox(canvas, 50,25, 0,64,191,128, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.html index b5153b71b667..cd443ae6aa66 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.copy.html @@ -26,7 +26,7 @@ ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.html index 1875aa813d5e..9182124ecf23 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-atop.html @@ -26,7 +26,7 @@ ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.html index ea88b1111775..7906c159d449 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.destination-in.html @@ -26,7 +26,7 @@ ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.html index 18631c94cfb3..d46b7d447656 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-in.html @@ -26,7 +26,7 @@ ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.html index 60c82a990613..08a026496d58 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.fill.source-out.html @@ -26,7 +26,7 @@ ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.copy.html index d53c7113c6c5..e909612a5f5e 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.copy.html @@ -24,8 +24,8 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10); -_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.html index aedc0993282b..d257e2f2af15 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-atop.html @@ -24,8 +24,8 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10); -_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.html index f9efba60997f..c3e3bc0c47db 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.destination-in.html @@ -24,8 +24,8 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10); -_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.html index a01fce3d074b..fbcb3c23dfa2 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-in.html @@ -24,8 +24,8 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10); -_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.html index 495cbfd8f8ae..03979e6ffed4 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.image.source-out.html @@ -24,8 +24,8 @@ ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10); -_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.copy.html index 93a3e9d95df5..4bdf1d21761d 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.copy.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; var canvas2 = document.createElement('canvas'); ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-atop.html index c2fe2de40079..093b6829536f 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-atop.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; var canvas2 = document.createElement('canvas'); ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-in.html index 9c30b6edfc66..dc613bd0619b 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.destination-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; var canvas2 = document.createElement('canvas'); ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-in.html index 375c50661c6d..6616b4ebe4c2 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; var canvas2 = document.createElement('canvas'); ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-out.html index 6891ff64eb9d..fe2d70f258b6 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.nocontext.source-out.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; var canvas2 = document.createElement('canvas'); ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.html index 4fdd6e08a2e2..4d6a91de9182 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.copy.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat'); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.html index 47ad8ff7fce6..bf03da0791db 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-atop.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat'); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.html index 2dfa056e2a0f..f5a5fe3f9df8 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.destination-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat'); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.html index 0be4fb6bd556..385334d4c662 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat'); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.html b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.html index dacae113cb57..ae0be111a98d 100644 --- a/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.html +++ b/testing/web-platform/tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat'); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.3arg.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.3arg.html index 22844edd23f2..7669c280491a 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.3arg.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.3arg.html @@ -25,10 +25,10 @@ ctx.drawImage(document.getElementById('red.png'), 100, 0); ctx.drawImage(document.getElementById('red.png'), 0, -50); ctx.drawImage(document.getElementById('red.png'), 0, 50); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.5arg.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.5arg.html index fac52a0fc00c..3a2f20509461 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.5arg.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.5arg.html @@ -26,10 +26,10 @@ ctx.drawImage(document.getElementById('red.png'), 0, 0, 50, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 50); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html index 3f2a3c6e7dbb..eddf3c1ea916 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html @@ -22,10 +22,10 @@ _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('green.png'), 0, 0, 100, 50, 0, 0, 100, 50); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html index f1abe00330d1..d85ae7806569 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html @@ -26,10 +26,10 @@ ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, -100, 0, 100, 5 ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, 100, 0, 100, 50); ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, 0, -50, 100, 50); ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, 0, 50, 100, 50); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html index b3df0219a33a..703c67889481 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html @@ -26,10 +26,10 @@ ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, -50, 0, 50, 50) ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, 100, 0, 50, 50); ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, 0, -25, 100, 25); ctx.drawImage(document.getElementById('red.png'), 0, 0, 100, 50, 0, 50, 100, 25); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html index f8f55f97d2d3..48ab9376ffbe 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html @@ -22,10 +22,10 @@ _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('rgrg-256x256.png'), 140, 20, 100, 50, 0, 0, 100, 50); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html index aedbb25193e2..5946cb30c9aa 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html @@ -25,14 +25,14 @@ ctx.drawImage(document.getElementById('rgrg-256x256.png'), 0, 0, 256, 256, 0, 0, ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 51, 26); ctx.fillRect(49, 24, 51, 26); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255", 2); -_assertPixelApprox(canvas, 80,20, 0,255,0,255, "80,20", "0,255,0,255", 2); -_assertPixelApprox(canvas, 20,30, 0,255,0,255, "20,30", "0,255,0,255", 2); -_assertPixelApprox(canvas, 80,30, 0,255,0,255, "80,30", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 20,20, 0,255,0,255, 2); +_assertPixelApprox(canvas, 80,20, 0,255,0,255, 2); +_assertPixelApprox(canvas, 20,30, 0,255,0,255, 2); +_assertPixelApprox(canvas, 80,30, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.alpha.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.alpha.html index adec48a6f6fd..36db82e4edb9 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.alpha.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.alpha.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0; ctx.drawImage(document.getElementById('red.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.apng.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.apng.html index a7dac1719626..b16473e36857 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.apng.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.apng.html @@ -22,7 +22,7 @@ _addTest(function(canvas, ctx) { deferTest(); step_timeout(t.step_func_done(function () { ctx.drawImage(document.getElementById('anim-gr.png'), 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.gif.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.gif.html index c2489159eed9..30cad0c7aea9 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.gif.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.gif.html @@ -22,7 +22,7 @@ _addTest(function(canvas, ctx) { deferTest(); step_timeout(t.step_func_done(function () { ctx.drawImage(document.getElementById('anim-gr.gif'), 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html index 95b255c5e022..6afc4e713c4c 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html @@ -20,7 +20,7 @@ var t = async_test("drawImage() of an APNG draws the poster frame"); _addTest(function(canvas, ctx) { ctx.drawImage(document.getElementById('anim-poster-gr.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.canvas.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.canvas.html index 18348d27bfcd..3041d7379136 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.canvas.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.canvas.html @@ -29,17 +29,17 @@ ctx2.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.drawImage(canvas2, 0, 0); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); ctx.drawImage(document.createElement('canvas'), 0, 0); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.clip.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.clip.html index 876862d0abc6..fac98fe949d8 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.clip.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.clip.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.rect(-10, -10, 1, 1); ctx.clip(); ctx.drawImage(document.getElementById('red.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.composite.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.composite.html index ae3b32fba072..60204a5d27b7 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.composite.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.composite.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.drawImage(document.getElementById('red.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.floatsource.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.floatsource.html index 0b0f30703eda..4b715f29feaa 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.floatsource.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.floatsource.html @@ -20,7 +20,7 @@ var t = async_test(""); _addTest(function(canvas, ctx) { ctx.drawImage(document.getElementById('green.png'), 10.1, 10.1, 0.1, 0.1, 0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html index 471ff440a4d0..c684589de06b 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); var img = document.getElementById('red.png'); img.src = ""; ctx.drawImage(img, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html index d44e26ab92ae..347e750eef99 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html @@ -28,7 +28,7 @@ img.src = '../images/red.png'; // until a fetch task in the networking task source is processed, // so the image must not be fully decodable yet: ctx.drawImage(img, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.nosrc.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.nosrc.html index f9b21e0e2a72..677a7b856fa5 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.nosrc.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.nosrc.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); var img = new Image(); ctx.drawImage(img, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html index e3457e4bee03..5f90f819efe9 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html @@ -29,7 +29,7 @@ img.src = '../images/red.png'; // until a fetch task in the networking task source is processed, // so the image must not be fully decodable yet: ctx.drawImage(img, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html index f963d8d169c1..c887fd64533a 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); var img = document.getElementById('red.png'); img.removeAttribute('src'); ctx.drawImage(img, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedest.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedest.html index 33702398226f..8418f635d486 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedest.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedest.html @@ -23,16 +23,16 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('ggrr-256x256.png'), 100, 78, 50, 50, 0, 50, 50, -50); ctx.drawImage(document.getElementById('ggrr-256x256.png'), 100, 128, 50, -50, 100, 50, -50, -50); -_assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedir.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedir.html index a6083eabd02f..9a42e5af8549 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedir.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativedir.html @@ -23,16 +23,16 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('ggrr-256x256.png'), 0, 178, 50, -100, 0, 0, 50, 100); ctx.drawImage(document.getElementById('ggrr-256x256.png'), 0, 78, 50, 100, 50, 100, 50, -100); -_assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativesource.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativesource.html index bc14864eec6a..07b154b1f02e 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativesource.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.negativesource.html @@ -23,16 +23,16 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('ggrr-256x256.png'), 100, 78, -100, 50, 0, 0, 50, 50); ctx.drawImage(document.getElementById('ggrr-256x256.png'), 100, 128, -100, -50, 50, 0, 50, 50); -_assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); -_assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); +_assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html index cda50dfc5c16..673cd3e64aa2 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html @@ -323,7 +323,7 @@ ctx.drawImage(red, 0, 0, 100, 50, 0, Infinity, Infinity, 50); ctx.drawImage(red, 0, 0, 100, 50, 0, Infinity, Infinity, Infinity); ctx.drawImage(red, 0, 0, 100, 50, 0, Infinity, 100, Infinity); ctx.drawImage(red, 0, 0, 100, 50, 0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nowrap.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nowrap.html index e6f4254e0547..71b45a52d437 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nowrap.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nowrap.html @@ -22,9 +22,9 @@ _addTest(function(canvas, ctx) { ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('redtransparent.png'), -1950, 0, 2000, 50); -_assertPixelApprox(canvas, 45,25, 0,255,0,255, "45,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 55,25, 0,255,0,255, "55,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 45,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 55,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.path.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.path.html index 8c1ae7211b76..7cc5afe09427 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.path.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.path.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#0f0'; ctx.rect(0, 0, 100, 50); ctx.drawImage(document.getElementById('red.png'), 0, 0); ctx.fill(); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.1.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.1.html index 8b0a4c0b7792..7c5524b95fdb 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.1.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.1.html @@ -25,10 +25,10 @@ ctx.fillStyle = '#f00'; ctx.fillRect(50, 0, 50, 50); ctx.drawImage(canvas, 50, 0); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.2.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.2.html index 62a43044153b..dbc96dbb3c17 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.2.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.self.2.html @@ -27,10 +27,10 @@ ctx.drawImage(canvas, 0, 1); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 2); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.svg.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.svg.html index 6c12a6bdccae..b01232d447d6 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.svg.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.svg.html @@ -20,7 +20,7 @@ var t = async_test("drawImage() of an SVG image"); _addTest(function(canvas, ctx) { ctx.drawImage(document.getElementById('green.svg'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.transform.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.transform.html index eaf3895eca2f..c49070e69cbe 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.transform.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.transform.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.translate(100, 0); ctx.drawImage(document.getElementById('red.png'), 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.html index b2cd1e820892..3831f3cc8649 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('red.png'), 10, 10, 0, 1, 0, 0, 100, 50); ctx.drawImage(document.getElementById('red.png'), 10, 10, 1, 0, 0, 0, 100, 50); ctx.drawImage(document.getElementById('red.png'), 10, 10, 0, 0, 0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html index 8739265a8b25..b37cd4d19da4 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.drawImage(document.getElementById('red-zerowidth.svg'), 0, 0, 100, 50); ctx.drawImage(document.getElementById('red-zeroheight.svg'), 0, 0, 100, 50); ctx.drawImage(document.getElementById('red-zerosize.svg'), 0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html index 617963648023..3821fff21c0c 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html @@ -22,7 +22,7 @@ _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html index 0c6deaaaada1..da2642394416 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html @@ -27,7 +27,7 @@ ctx.clip(); ctx.clearRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html index cd27ecf2bc9b..3a228ae7ab3f 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.1; ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html index 54976fe3f3a7..2f49b8086004 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html @@ -23,7 +23,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html index 2124535f2be6..13ad1fb81204 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html @@ -25,10 +25,10 @@ ctx.clearRect(0, 0, 50, 25); ctx.clearRect(100, 0, -50, 25); ctx.clearRect(0, 50, 50, -25); ctx.clearRect(100, 50, -50, -25); -_assertPixel(canvas, 25,12, 0,0,0,0, "25,12", "0,0,0,0"); -_assertPixel(canvas, 75,12, 0,0,0,0, "75,12", "0,0,0,0"); -_assertPixel(canvas, 25,37, 0,0,0,0, "25,37", "0,0,0,0"); -_assertPixel(canvas, 75,37, 0,0,0,0, "75,37", "0,0,0,0"); +_assertPixel(canvas, 25,12, 0,0,0,0); +_assertPixel(canvas, 75,12, 0,0,0,0); +_assertPixel(canvas, 25,37, 0,0,0,0); +_assertPixel(canvas, 75,37, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html index 18ce63081322..56232594e10a 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html @@ -44,7 +44,7 @@ ctx.clearRect(0, Infinity, Infinity, 50); ctx.clearRect(0, Infinity, Infinity, Infinity); ctx.clearRect(0, Infinity, 100, Infinity); ctx.clearRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.path.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.path.html index d0dbc6cd2d0e..8d837adc3a3d 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.path.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.path.html @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.rect(0, 0, 100, 50); ctx.clearRect(0, 0, 16, 16); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html index 89c051b5cce0..e65b46b23cd3 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html @@ -26,7 +26,7 @@ ctx.shadowBlur = 0; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 50; ctx.clearRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html index a3ca992af15f..9e524c36f212 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.scale(10, 10); ctx.translate(0, 5); ctx.clearRect(0, -5, 10, 5); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html index 45830a1683bc..ea1fff31cb86 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.clearRect(0, 0, 100, 0); ctx.clearRect(0, 0, 0, 50); ctx.clearRect(0, 0, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html index a440dfd847b4..14c04829a750 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html @@ -21,7 +21,7 @@ _addTest(function(canvas, ctx) { ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html index ccbe776889ac..bdd269e1ad0c 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html @@ -28,7 +28,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html index 0a2fa3d4c8f8..6f754581b22b 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html @@ -26,10 +26,10 @@ ctx.fillRect(0, 0, 50, 25); ctx.fillRect(100, 0, -50, 25); ctx.fillRect(0, 50, 50, -25); ctx.fillRect(100, 50, -50, -25); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html index 98b19cee4fda..bf0ea501a07e 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html @@ -45,7 +45,7 @@ ctx.fillRect(0, Infinity, Infinity, 50); ctx.fillRect(0, Infinity, Infinity, Infinity); ctx.fillRect(0, Infinity, 100, Infinity); ctx.fillRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.path.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.path.html index d13144925abd..3d073c41f60f 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.path.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.path.html @@ -25,7 +25,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 16, 16); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html index 35c73e98a8a9..78f3f4d36771 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html @@ -26,7 +26,7 @@ ctx.shadowBlur = 0; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html index 409faaba0bde..6892747651e4 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html @@ -23,7 +23,7 @@ ctx.scale(10, 10); ctx.translate(0, 5); ctx.fillStyle = '#0f0'; ctx.fillRect(0, -5, 10, 5); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html index 44b50244eb62..915347713fa3 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html @@ -25,7 +25,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 0); ctx.fillRect(0, 0, 0, 50); ctx.fillRect(0, 0, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html index c50fb1b969d3..299bb8a39eec 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html @@ -22,7 +22,7 @@ _addTest(function(canvas, ctx) { ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html index 1da47f43d959..5f35cd07be33 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html @@ -29,7 +29,7 @@ ctx.lineWidth = 50; ctx.strokeRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html index 300aa59ecae7..3e80a77f7444 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html @@ -23,7 +23,7 @@ ctx.globalAlpha = 0; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html index 5b6481803d06..ce52dffd8c21 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html @@ -23,7 +23,7 @@ ctx.globalCompositeOperation = 'source-in'; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html index 5dfdfee14f66..617d56f125cd 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html @@ -27,10 +27,10 @@ ctx.strokeRect(12, 12, 26, 1); ctx.strokeRect(88, 12, -26, 1); ctx.strokeRect(12, 38, 26, -1); ctx.strokeRect(88, 38, -26, -1); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html index 27829cb31f0b..3f98e5e2feb4 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html @@ -46,7 +46,7 @@ ctx.strokeRect(0, Infinity, Infinity, 50); ctx.strokeRect(0, Infinity, Infinity, Infinity); ctx.strokeRect(0, Infinity, 100, Infinity); ctx.strokeRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html index 2dcf83d70017..5d88373525a7 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html @@ -26,7 +26,7 @@ ctx.lineWidth = 5; ctx.strokeRect(0, 0, 16, 16); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html index 0c6928b74d61..a8c7ba314a31 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html @@ -29,7 +29,7 @@ ctx.shadowOffsetY = 50; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(0, -75, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html index 436dcc18d2e6..9fe89042abf0 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html @@ -24,7 +24,7 @@ ctx.translate(0, 5); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 5; ctx.strokeRect(2.5, -2.6, 5, 0.2); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html index f8b6cdca623e..188699d6a8d1 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html @@ -22,7 +22,7 @@ _addTest(function(canvas, ctx) { ctx.strokeStyle = '#f00'; ctx.lineWidth = 250; ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html index 78045a4d9f6f..2e28b90dd2a5 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html @@ -24,7 +24,7 @@ ctx.lineWidth = 250; ctx.lineCap = 'round'; ctx.lineJoin = 'round'; ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html index 910380074777..5831c228fffc 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html @@ -22,7 +22,7 @@ _addTest(function(canvas, ctx) { ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.strokeRect(0, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html index 435a77f3f348..6a09e8eaf958 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html @@ -23,7 +23,7 @@ ctx.strokeStyle = '#f00'; ctx.lineWidth = 250; ctx.lineCap = 'round'; ctx.strokeRect(100, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html index cb1a7537aea0..c6cc50ca9b5d 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html @@ -23,7 +23,7 @@ ctx.strokeStyle = '#0f0'; ctx.lineWidth = 250; ctx.lineJoin = 'round'; ctx.strokeRect(100, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.center.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.center.html index 3aecdd14fcc4..71a7cae30a17 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.center.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.center.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'center'; ctx.fillText('DD', 50, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.ltr.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.ltr.html index 5e9f0d20126a..5bd7aa10b022 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.ltr.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.ltr.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'end'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.rtl.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.rtl.html index 527fec9a3c4d..d37a29c558d2 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.rtl.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.end.rtl.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'end'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.left.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.left.html index a9626bacac07..5a4bdb6abb9d 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.left.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.left.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'left'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.right.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.right.html index e62ad304168b..29e009e72249 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.right.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.right.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'right'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.ltr.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.ltr.html index af4c77179ebd..d74a4b89e419 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.ltr.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.ltr.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'start'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.rtl.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.rtl.html index 2492482e80ca..8dd671cf2040 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.rtl.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.align.start.rtl.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'start'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.basic.png b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.basic.png dissimilarity index 99% index 1e313371d828e9f5edf61480e64ea5c689653fca..70d7b046cb226cfcb2bfeebe3477d3b580d8270a 100644 GIT binary patch delta 1099 zcwPZZ1ho6)3-Jh$HGc#qNklv$Qh(TJ5zHzz#CNa)CO{zo{hhKeM$){!EL>!+!)RT!hX*<x84srMk8ggJ_B-Atn_KEl#gJ8P| z_NdC_;!tIFo~0sLY8icQOpJt0);SR$@oO!B>mrz=>fe#d-^|~G7&MBk8@9o?kiR7= z6ChRI z*p$|EQmyC#%!R9dyT|)b2b*BF#kM;V6CZ+;)enY4DQxf#U+rf#R4v9&r?oCrvtxK* zNJC(=ci))uG{ZXCXXex-mH%+uIR{04R&OgoI)8=GE`qfdffc|@uoW5%Vf+Ns@?!EY zp_0`D2hB4-x#YcP5bO}arI52=1XRF&_|qHDO?Wn+CK;2}4!=Mxd;m|GeI}|d^>Ehj zX;hjy)<04cgV}IK`Fxg7ldxL{6PrWMbbm`M3SsHw1iC7T^OPqro&!1 z1%G?(M(nE=oYx{X2_lkYy(|v*yeUZMNwrg}RP~Fb@{akcAcf>D(E3PCfM^cVCXy%T zPoX_f*$iJxS)Z#fNTCRp*bVxG6j~xR2_pM9YarYfhvgRfH`Iuws{W!>{%Ss@Cz&DF zWC`z{E)o+X*(d9D_3{t2&<|3_5q;QRqJJX!!JEevO4JSCC*Gz=OpIiotgoc|QR^;; zq{}UJMHf@2r3CasEv$qR7zx8*A}oW$>Z{k4b`=$giIFUmHCnyNi>!N|3qIos!mC1dCx8)WId_fG%j3JA)VOhKR((;cz${4u`|xa5x+ehr{td@i%8e|AlO# Rc(nik002ovPDHLkV1gG84;ugg delta 1473 zcwPa)1wQ)m2;>WpHGc(}Nkl#zt>SgEA4%ouzP~XS?@(M#Zi%E>(7f=J=%l3ty`Z}=$7nSDINHxoogaSLzeOlku+aeOJaQi2tie=$2vc|~N^ z!^C8l7IHAblYdo=$`_f=y9pxia(0Gw&N7_KlcE0KoPkF$Jo&16 z-ePWQYSM@K+!N|OtYbafK^xPU9Xaz?&ZE0QWFoK97JhDFE$`67a3(XG388m4vv?!H zx4JK@HHXu}RDKmPH`Rx)5!VOi&EYfI#;_u1Mzb>*zJJK1EY28y7kP4R7H4_r-NnUO zgdxo5Kr~hoQi4^(;)vYYlv&#;rm#BHFD=qv7_E*bORR;bBj(Wh-V-?#dcWRuxGSRR ze6`3oN(O5L+XMO6`LvmVvlUzwem+;E|7c+Tq=jL z!d_ku^?xQC_IE?&aj=pD;9SmVs{grYpyqfh{3Y;(9FcuRB6uoPnmcwFrM@gY7|4Ii zA&g{K;LHq-PlT4cn~FaiXlrv1q$8NZX|y*mzY#(A50wGQmhD90X z)%p6v*cAD*gL~<0y4h#qr;*4ZRxy82qLv=4&$2G^;FK)RWIhRm6YIN{2HRJgj&f>r zhSW+oFR+N&X;+9=R%NB2o4KD$qkXL$;$WRZM??7%oh+%J!~HpGw*|tp4PDbC^Q@%# z2!F=cXaD`mepYfxL&ne#L%4xG`8t2+#d)?{fB}U}<_kQ49mPL3yA?>K)bbij} zd^g@qNRCe68lI;+N2H4zisF6*rGmAayYlzl^P^onbFnN4guT&Sq!1mw;e?|W-DB*7S8odpKE6>wj6zu6&37z_-9(xIK$7mPbQY%qGx>6w$dqV1i}u-pL?QvTD}T-( z`BPKoBF2Gvtcltm3Qu~!;JSnnm$3-6a&ou{Uc_>+jqwR08(GI!kn_k%O4yS^{}$G~%sM`}t9O z%ByjWzbASn7#dv_mM4fD%ZGvA{D0Aj!3frf=ulsfW>UKeyvLBx*vi(>{-1`2mwssD zjX+*j-}SR-MmHCEvLrBfG`+MQ#=wJhc`!eewoTxBIUmu5;kMMv0q)3pHfUikZ%1qS zw0c5YlpFW5hI6tWs7~d#5$%=~zXu+y+B?MRWRv5ghkSFmVfd9tN3@+ z^$GK`^v{l-iTcVmp5&J-WqB0qzVhe9Bz}OwniPEtiOF;ymIbSxhFszM>`ur$KIZa# z{WJ6b3D&PXnEwC00S4>G!L}=9%}1COjk~y^cRaVTC1-k@xIJOXw{jJ0b1sHEd4zMa zO^-TX{!}r6iL}#BH{00C<~ouhBbmZj+8NGvK4b$2|1U0As8FFog$flaRH#s)LWK$y bD&*sT6xG|T{JT;?00000NkvXXu0mjfyVK$F diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.bound.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.bound.html index 300c4539d331..50c67293492f 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.bound.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.bound.html @@ -33,10 +33,10 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('DD', 0, 37.5, 100); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.fontface.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.fontface.html index 8de1ac69eacb..1e133a6736ca 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.fontface.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.fontface.html @@ -33,10 +33,10 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillText('EEEE', -50, 37.5, 40); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.rtl.png b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.rtl.png dissimilarity index 99% index 1e313371d828e9f5edf61480e64ea5c689653fca..70d7b046cb226cfcb2bfeebe3477d3b580d8270a 100644 GIT binary patch delta 1099 zcwPZZ1ho6)3-Jh$HGc#qNklv$Qh(TJ5zHzz#CNa)CO{zo{hhKeM$){!EL>!+!)RT!hX*<x84srMk8ggJ_B-Atn_KEl#gJ8P| z_NdC_;!tIFo~0sLY8icQOpJt0);SR$@oO!B>mrz=>fe#d-^|~G7&MBk8@9o?kiR7= z6ChRI z*p$|EQmyC#%!R9dyT|)b2b*BF#kM;V6CZ+;)enY4DQxf#U+rf#R4v9&r?oCrvtxK* zNJC(=ci))uG{ZXCXXex-mH%+uIR{04R&OgoI)8=GE`qfdffc|@uoW5%Vf+Ns@?!EY zp_0`D2hB4-x#YcP5bO}arI52=1XRF&_|qHDO?Wn+CK;2}4!=Mxd;m|GeI}|d^>Ehj zX;hjy)<04cgV}IK`Fxg7ldxL{6PrWMbbm`M3SsHw1iC7T^OPqro&!1 z1%G?(M(nE=oYx{X2_lkYy(|v*yeUZMNwrg}RP~Fb@{akcAcf>D(E3PCfM^cVCXy%T zPoX_f*$iJxS)Z#fNTCRp*bVxG6j~xR2_pM9YarYfhvgRfH`Iuws{W!>{%Ss@Cz&DF zWC`z{E)o+X*(d9D_3{t2&<|3_5q;QRqJJX!!JEevO4JSCC*Gz=OpIiotgoc|QR^;; zq{}UJMHf@2r3CasEv$qR7zx8*A}oW$>Z{k4b`=$giIFUmHCnyNi>!N|3qIos!mC1dCx8)WId_fG%j3JA)VOhKR((;cz${4u`|xa5x+ehr{td@i%8e|AlO# Rc(nik002ovPDHLkV1gG84;ugg delta 1473 zcwPa)1wQ)m2;>WpHGc(}Nkl#zt>SgEA4%ouzP~XS?@(M#Zi%E>(7f=J=%l3ty`Z}=$7nSDINHxoogaSLzeOlku+aeOJaQi2tie=$2vc|~N^ z!^C8l7IHAblYdo=$`_f=y9pxia(0Gw&N7_KlcE0KoPkF$Jo&16 z-ePWQYSM@K+!N|OtYbafK^xPU9Xaz?&ZE0QWFoK97JhDFE$`67a3(XG388m4vv?!H zx4JK@HHXu}RDKmPH`Rx)5!VOi&EYfI#;_u1Mzb>*zJJK1EY28y7kP4R7H4_r-NnUO zgdxo5Kr~hoQi4^(;)vYYlv&#;rm#BHFD=qv7_E*bORR;bBj(Wh-V-?#dcWRuxGSRR ze6`3oN(O5L+XMO6`LvmVvlUzwem+;E|7c+Tq=jL z!d_ku^?xQC_IE?&aj=pD;9SmVs{grYpyqfh{3Y;(9FcuRB6uoPnmcwFrM@gY7|4Ii zA&g{K;LHq-PlT4cn~FaiXlrv1q$8NZX|y*mzY#(A50wGQmhD90X z)%p6v*cAD*gL~<0y4h#qr;*4ZRxy82qLv=4&$2G^;FK)RWIhRm6YIN{2HRJgj&f>r zhSW+oFR+N&X;+9=R%NB2o4KD$qkXL$;$WRZM??7%oh+%J!~HpGw*|tp4PDbC^Q@%# z2!F=cXaD`mepYfxL&ne#L%4xG`8t2+#d)?{fB}U}<_kQ49mPL3yA?>K)bbij} zd^g@qNRCe68lI;+N2H4zisF6*rGmAayYlzl^P^onbFnN4guT&Sq!1mw;e?|W-DB*7S8odpKE6>wj6zu6&37z_-9(xIK$7mPbQY%qGx>6w$dqV1i}u-pL?QvTD}T-( z`BPKoBF2Gvtcltm3Qu~!;JSnnm$3-6a&ou{Uc_>+jqwR08(GI!kn_k%O4yS^{}$G~%sM`}t9O z%ByjWzbASn7#dv_mM4fD%ZGvA{D0Aj!3frf=ulsfW>UKeyvLBx*vi(>{-1`2mwssD zjX+*j-}SR-MmHCEvLrBfG`+MQ#=wJhc`!eewoTxBIUmu5;kMMv0q)3pHfUikZ%1qS zw0c5YlpFW5hI6tWs7~d#5$%=~zXu+y+B?MRWRv5ghkSFmVfd9tN3@+ z^$GK`^v{l-iTcVmp5&J-WqB0qzVhe9Bz}OwniPEtiOF;ymIbSxhFszM>`ur$KIZa# z{WJ6b3D&PXnEwC00S4>G!L}=9%}1COjk~y^cRaVTC1-k@xIJOXw{jJ0b1sHEd4zMa zO^-TX{!}r6iL}#BH{00C<~ouhBbmZj+8NGvK4b$2|1U0As8FFog$flaRH#s)LWK$y bD&*sT6xG|T{JT;?00000NkvXXu0mjfyVK$F diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.unaffected.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.unaffected.html index 9cbace645bb1..cb1e7dbae028 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.unaffected.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fill.unaffected.html @@ -33,8 +33,8 @@ ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.html index f6435a6af074..9adcf3560d57 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.html @@ -33,10 +33,10 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.notinpage.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.notinpage.html index 7a21dbc40e79..6ccb0c020aff 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.notinpage.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.notinpage.html @@ -32,10 +32,10 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.repeat.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.repeat.html index 13c27b6e029c..457c48c3d1b0 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.repeat.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.fontface.repeat.html @@ -33,10 +33,10 @@ ctx.fillText('AA', 0, 50); deferTest(); step_timeout(t.step_func_done(function () { ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.basic.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.basic.html index 6e1ea12a595a..26f8114e20ea 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.basic.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.basic.html @@ -33,8 +33,8 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E EE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.collapse.nonspace.html b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.collapse.nonspace.html index 9c1d2f758c79..e105ec358e0b 100644 --- a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.collapse.nonspace.html +++ b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.space.collapse.nonspace.html @@ -33,8 +33,8 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E\x0b EE', -150, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.stroke.basic.png b/testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.draw.stroke.basic.png dissimilarity index 99% index b04566f5c66e5816afdf094c1441d8a483297420..fb3b5b830d345d2aa858e41673e08f99977baf08 100644 GIT binary patch delta 1600 zcwPZO2EX}`5aJAwHGc*dNkl0-;3>DHy2O7;UWzX)47c43B6D#1N@qEpbX|0}KUu$cSP93jm-=#d8zIF7b7bP_36erlrq5p?SM6h=70o7@{wxlclsOEWA@kMTJVFl+I7wu~S zhq#v(EaWDpGKdGFyVNm;=eUPT(4Cvp&6n8A&DAQGd=BMo`RuXvakMvzS)wVi+&c zJ`W<1Tzn1Z@JzH>0W*1@=HNkoA8ovh>EJa^^JB0)6rz~La?q9|%%E|SO)HkLm8-yf zewGK3NHPpo9lv7=XvryBrLt*3EhRLjn(1r-xA0-)#{f2QJ9wU7MVl3{E=)!@j^#ll zlB|L?EPo*b*vYq2*^CPh-L34V8D}T~??-a!Ru0dETC!BBoX zRW{IxlQg9<$ASm<@h8xR+RNwge{5tZD5Z)XX@5PrgZ^~m%XtuqB&%TE%O65{AH94Kg>y1Gd{dl8Ilu`NHPyr0e|HCpoH2~3(YHsu5`O|nxkx|7PRF} z*71uZ4?d zWWJGZ&Sa{1I#uLHg(a^epD~;}FTEyF6Q*%Z+8iR0){JHeM>)jHj7Z3W=JMyXiSCt( zT+x%&oFcB~26|D>JStM@tYr6(wIYGyIV&g?dU)WTR4-p`~AGccle00 zjAeN4L=Y0&v~1+b`mIthmNz-ewP}xT>L{a@W&D6gLgit;;1jwqnRRIuUZ)2$nL-86 z=2Qf^+3rN~5U+xX3`=#+bMYF*7=N&g2Wb`*YWXhxSW2G^M*Ismg5wFhuAGRZBdZKP zCA~Qk=HfjDrZv8szlQQ#j1T3NA>I83N0S!&WbO~yNjE;qsR;7;WKCcN7r22Uwx%`S zK-aKmEK67u*M)P`Jyftbt-noqoK;{Tdvhw1js`wijrk-Tbw9)047$t<1AjH)SV(RQ zsS3++Q`WPML8+4E zBmH=XMXX6XM8iZPf;Ej!p}aB6KiS76od5lcpJ&teQ96e51)k#bBsrVT^r9VYxr!R9 y+0LnK2Fi&@OiWBnOiWBnOiWBnOiWBnZul=!n+wy_(&CK(0000M$d#HfHm5f?y3 z7Nrz|Mj=tA3?>pK#I2%eAs{ZL5EYFYmqZX{i3rFLmx_!;Gy(xsP}xM7ky%(G?iwL~ zKr`>nd-uIZz{)@GTlbG!-KT%u_uTHj=kz5@mMmGaWXX~xOMjOCGdanNuc3LmraLHO z1@Evc;|}|9R=EF)G5gXM$8!O_XhBozP(c+7na5jvpMgkY`fxrSXhH$ospLK8@iLz# zZx`XLB`l&mWtWX;K_?2C#6&*JV4y20A%|+N%nPQGZGai>c-_8qt(f=|?vnVJu%~HZV)*l%XlDd7729NN3rV56IyGav09D znRRgnm0U~Rn8Nxrh&SuW8t#k`Ig~edAD<*vU3_v7RS5DHz{PDY@y!MvSvYF^^#h*R|ZnEH=|Uw3^HBqBR?^l_P1*F75)4 zaC5rB+{?Y-aF#HebAxM;PdEO=M%shpsN|4%kxqOR-sPRFqnM*YZ4SpVl27;z$Yl{f zO*b~;oqshprRC{Vax^%NRneB0huvfdAF~FW%m(U2x2nswuy7_bG1_u4tH}pb7#Uyt z6xV{jyq~c2_R^9~oB{gr&*<)I$lO^N&4VC^O&k+pwtx%4RIZ{t%=tIz7cJhF4?$f% zPna*Yn8zOv@*~ewrgMWnk#hjL4P=~Ux`_7^mvB& zB4*L;z)Y2Wbk+=R0Ee(6ZjtYyFK>b-Y>(M@M)446%Vz3D=wHwL@DVtghp6H`CeS-# zA}4YTm0?ZQXGECbQ@P@Q@_r2&I_n4?=6_!y+8Um)t?p(fzXT(AI;Q+6s>Ao|6)uVB zC65xGjtN0?>CDZ%#%C;IJY6I6kv$A$H63C~np4bkRIrxExi}_r%#>JXtzvq@^#aS; z&OMqL8=McC;-do8DIM{7lVPk7CoMZJjq%vPk5ModN78Stmhi?qIIsIl7I2Z zw#W_)XFl6`oT6xv+U#}K2@Fbh^`|5CgMD+}=GJ6VBl$Bpi46(c#AVC}d6aQN%2A!o z9JVrz;$+#?DZIq;lsYY$NHwo>3!M{&RLD3g(?u9HWSAS)p#$Tox{0z1`$<9{2Gs)jZ44_=A?Vtgr2_=u?NQ zSjqr?mQY)d0vgeV3SQ)4)+W@P0*%Ib< z0gY2$ySKmdSRA8pG!O6`3o<+QYD-nv%SJOgl;6rAG(YBubUm(S4t>Fzm`vpoK4cPW=#oz4Tka02 z*hjRi$@70mXBG1#xQJ2?i@uIyAPv~bV=<}XCK@uG1uUd@2A%#p1ikh6CKPVuT}pU? z^D+?G8#(9kJv;Xl|6tBKmiD{|hA=s$aRmz*1fJx=5W8(>1Kq$xZhr~!S`@kT3JbYC zt3!EdaP&+%&?DX8dk2x@S(o-N!T#@AW4RABV{5V;s22TsJ={-bM7STp%y2(}H{y-~ z;>hEEUIq1IvQf04Ivf+9#bz#w9!W1MXbmQDd%BVDue0jJWWU$(cm_@K_#~XG{Df8E zL!Hk$`hy%sQpIEjg@1oD&FIW^e89Xg^{!)fy#DThU^m@Z&KvxePBf>G;~C5gd>rO- z>-YneNcPiNy<^T8m&Kerr{=D3){J*z7E2c@V?+uW#vE2sMLA1(FoeFifC`R{7td!2 z_k?#)hkiWDQp&03eP&P`a@8VM^6N~-y`RpS&Q;(DS!AzFK8|;1)-Dt%T9L|6EgiXw6 zF55EbC6BY|NqY(@qyd$b^A^vi{Oyt@OO`BIvSi7UB} - diff --git a/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html b/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html index dde65c16feae..c45f55860091 100644 --- a/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html +++ b/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html @@ -48,7 +48,7 @@ for (const color of inputColors) { let outputColor = getColor(color, slopes, intercepts); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } diff --git a/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html b/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html index 66922fb00dc3..b561cb6fd3f0 100644 --- a/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html +++ b/testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html @@ -58,7 +58,7 @@ for (const color of inputColors) { let outputColor = getColor(color, [tableValuesR, tableValuesG, tableValuesB]); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.butt.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.butt.html index 62ddcfc611e5..59b1f76c686c 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.butt.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.butt.html @@ -41,19 +41,19 @@ ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 25,14, 0,255,0,255, "25,14", "0,255,0,255"); -_assertPixel(canvas, 25,15, 0,255,0,255, "25,15", "0,255,0,255"); -_assertPixel(canvas, 25,16, 0,255,0,255, "25,16", "0,255,0,255"); -_assertPixel(canvas, 25,34, 0,255,0,255, "25,34", "0,255,0,255"); -_assertPixel(canvas, 25,35, 0,255,0,255, "25,35", "0,255,0,255"); -_assertPixel(canvas, 25,36, 0,255,0,255, "25,36", "0,255,0,255"); - -_assertPixel(canvas, 75,14, 0,255,0,255, "75,14", "0,255,0,255"); -_assertPixel(canvas, 75,15, 0,255,0,255, "75,15", "0,255,0,255"); -_assertPixel(canvas, 75,16, 0,255,0,255, "75,16", "0,255,0,255"); -_assertPixel(canvas, 75,34, 0,255,0,255, "75,34", "0,255,0,255"); -_assertPixel(canvas, 75,35, 0,255,0,255, "75,35", "0,255,0,255"); -_assertPixel(canvas, 75,36, 0,255,0,255, "75,36", "0,255,0,255"); +_assertPixel(canvas, 25,14, 0,255,0,255); +_assertPixel(canvas, 25,15, 0,255,0,255); +_assertPixel(canvas, 25,16, 0,255,0,255); +_assertPixel(canvas, 25,34, 0,255,0,255); +_assertPixel(canvas, 25,35, 0,255,0,255); +_assertPixel(canvas, 25,36, 0,255,0,255); + +_assertPixel(canvas, 75,14, 0,255,0,255); +_assertPixel(canvas, 75,15, 0,255,0,255); +_assertPixel(canvas, 75,16, 0,255,0,255); +_assertPixel(canvas, 75,34, 0,255,0,255); +_assertPixel(canvas, 75,35, 0,255,0,255); +_assertPixel(canvas, 75,36, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.closed.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.closed.html index 5e4d04c056c6..5f16ac950058 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.closed.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.closed.html @@ -35,10 +35,10 @@ ctx.lineTo(1000, 200); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.open.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.open.html index 1efe2ded8eaf..fc5aca585c5f 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.open.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.open.html @@ -35,10 +35,10 @@ ctx.lineTo(1000, 200); ctx.lineTo(200, 200); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.round.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.round.html index efffb3c8c682..48411812de05 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.round.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.round.html @@ -57,19 +57,19 @@ ctx.arc(75, 15, 10+tol, 0, Math.PI, true); ctx.arc(75, 35, 10+tol, Math.PI, 0, true); ctx.fill(); -_assertPixel(canvas, 17,6, 0,255,0,255, "17,6", "0,255,0,255"); -_assertPixel(canvas, 25,6, 0,255,0,255, "25,6", "0,255,0,255"); -_assertPixel(canvas, 32,6, 0,255,0,255, "32,6", "0,255,0,255"); -_assertPixel(canvas, 17,43, 0,255,0,255, "17,43", "0,255,0,255"); -_assertPixel(canvas, 25,43, 0,255,0,255, "25,43", "0,255,0,255"); -_assertPixel(canvas, 32,43, 0,255,0,255, "32,43", "0,255,0,255"); - -_assertPixel(canvas, 67,6, 0,255,0,255, "67,6", "0,255,0,255"); -_assertPixel(canvas, 75,6, 0,255,0,255, "75,6", "0,255,0,255"); -_assertPixel(canvas, 82,6, 0,255,0,255, "82,6", "0,255,0,255"); -_assertPixel(canvas, 67,43, 0,255,0,255, "67,43", "0,255,0,255"); -_assertPixel(canvas, 75,43, 0,255,0,255, "75,43", "0,255,0,255"); -_assertPixel(canvas, 82,43, 0,255,0,255, "82,43", "0,255,0,255"); +_assertPixel(canvas, 17,6, 0,255,0,255); +_assertPixel(canvas, 25,6, 0,255,0,255); +_assertPixel(canvas, 32,6, 0,255,0,255); +_assertPixel(canvas, 17,43, 0,255,0,255); +_assertPixel(canvas, 25,43, 0,255,0,255); +_assertPixel(canvas, 32,43, 0,255,0,255); + +_assertPixel(canvas, 67,6, 0,255,0,255); +_assertPixel(canvas, 75,6, 0,255,0,255); +_assertPixel(canvas, 82,6, 0,255,0,255); +_assertPixel(canvas, 67,43, 0,255,0,255); +_assertPixel(canvas, 75,43, 0,255,0,255); +_assertPixel(canvas, 82,43, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.square.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.square.html index 953ee92c064d..3423fa79e473 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.square.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cap.square.html @@ -41,19 +41,19 @@ ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 5, 20, 40); -_assertPixel(canvas, 25,4, 0,255,0,255, "25,4", "0,255,0,255"); -_assertPixel(canvas, 25,5, 0,255,0,255, "25,5", "0,255,0,255"); -_assertPixel(canvas, 25,6, 0,255,0,255, "25,6", "0,255,0,255"); -_assertPixel(canvas, 25,44, 0,255,0,255, "25,44", "0,255,0,255"); -_assertPixel(canvas, 25,45, 0,255,0,255, "25,45", "0,255,0,255"); -_assertPixel(canvas, 25,46, 0,255,0,255, "25,46", "0,255,0,255"); - -_assertPixel(canvas, 75,4, 0,255,0,255, "75,4", "0,255,0,255"); -_assertPixel(canvas, 75,5, 0,255,0,255, "75,5", "0,255,0,255"); -_assertPixel(canvas, 75,6, 0,255,0,255, "75,6", "0,255,0,255"); -_assertPixel(canvas, 75,44, 0,255,0,255, "75,44", "0,255,0,255"); -_assertPixel(canvas, 75,45, 0,255,0,255, "75,45", "0,255,0,255"); -_assertPixel(canvas, 75,46, 0,255,0,255, "75,46", "0,255,0,255"); +_assertPixel(canvas, 25,4, 0,255,0,255); +_assertPixel(canvas, 25,5, 0,255,0,255); +_assertPixel(canvas, 25,6, 0,255,0,255); +_assertPixel(canvas, 25,44, 0,255,0,255); +_assertPixel(canvas, 25,45, 0,255,0,255); +_assertPixel(canvas, 25,46, 0,255,0,255); + +_assertPixel(canvas, 75,4, 0,255,0,255); +_assertPixel(canvas, 75,5, 0,255,0,255); +_assertPixel(canvas, 75,6, 0,255,0,255); +_assertPixel(canvas, 75,44, 0,255,0,255); +_assertPixel(canvas, 75,45, 0,255,0,255); +_assertPixel(canvas, 75,46, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cross.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cross.html index ea1174522456..a664e3725347 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cross.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.cross.html @@ -32,10 +32,10 @@ ctx.lineTo(110, 60); ctx.lineTo(100, 60); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.bevel.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.bevel.html index 210b08f62b6e..c1320c2c0b36 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.bevel.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.bevel.html @@ -62,17 +62,17 @@ ctx.lineTo(90+tol, 20); ctx.lineTo(80, 10-tol); ctx.fill(); -_assertPixel(canvas, 34,16, 0,255,0,255, "34,16", "0,255,0,255"); -_assertPixel(canvas, 34,15, 0,255,0,255, "34,15", "0,255,0,255"); -_assertPixel(canvas, 35,15, 0,255,0,255, "35,15", "0,255,0,255"); -_assertPixel(canvas, 36,15, 0,255,0,255, "36,15", "0,255,0,255"); -_assertPixel(canvas, 36,14, 0,255,0,255, "36,14", "0,255,0,255"); - -_assertPixel(canvas, 84,16, 0,255,0,255, "84,16", "0,255,0,255"); -_assertPixel(canvas, 84,15, 0,255,0,255, "84,15", "0,255,0,255"); -_assertPixel(canvas, 85,15, 0,255,0,255, "85,15", "0,255,0,255"); -_assertPixel(canvas, 86,15, 0,255,0,255, "86,15", "0,255,0,255"); -_assertPixel(canvas, 86,14, 0,255,0,255, "86,14", "0,255,0,255"); +_assertPixel(canvas, 34,16, 0,255,0,255); +_assertPixel(canvas, 34,15, 0,255,0,255); +_assertPixel(canvas, 35,15, 0,255,0,255); +_assertPixel(canvas, 36,15, 0,255,0,255); +_assertPixel(canvas, 36,14, 0,255,0,255); + +_assertPixel(canvas, 84,16, 0,255,0,255); +_assertPixel(canvas, 84,15, 0,255,0,255); +_assertPixel(canvas, 85,15, 0,255,0,255); +_assertPixel(canvas, 86,15, 0,255,0,255); +_assertPixel(canvas, 86,14, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.closed.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.closed.html index e230d9a09a53..6fd9d9d300ba 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.closed.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.closed.html @@ -34,10 +34,10 @@ ctx.lineTo(1000, 50); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.miter.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.miter.html index 24c21567aec5..b4f8fbc9a40e 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.miter.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.miter.html @@ -53,17 +53,17 @@ ctx.stroke(); ctx.fillRect(60, 10, 30, 20); ctx.fillRect(70, 10, 20, 30); -_assertPixel(canvas, 38,12, 0,255,0,255, "38,12", "0,255,0,255"); -_assertPixel(canvas, 39,11, 0,255,0,255, "39,11", "0,255,0,255"); -_assertPixel(canvas, 40,10, 0,255,0,255, "40,10", "0,255,0,255"); -_assertPixel(canvas, 41,9, 0,255,0,255, "41,9", "0,255,0,255"); -_assertPixel(canvas, 42,8, 0,255,0,255, "42,8", "0,255,0,255"); - -_assertPixel(canvas, 88,12, 0,255,0,255, "88,12", "0,255,0,255"); -_assertPixel(canvas, 89,11, 0,255,0,255, "89,11", "0,255,0,255"); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 91,9, 0,255,0,255, "91,9", "0,255,0,255"); -_assertPixel(canvas, 92,8, 0,255,0,255, "92,8", "0,255,0,255"); +_assertPixel(canvas, 38,12, 0,255,0,255); +_assertPixel(canvas, 39,11, 0,255,0,255); +_assertPixel(canvas, 40,10, 0,255,0,255); +_assertPixel(canvas, 41,9, 0,255,0,255); +_assertPixel(canvas, 42,8, 0,255,0,255); + +_assertPixel(canvas, 88,12, 0,255,0,255); +_assertPixel(canvas, 89,11, 0,255,0,255); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 91,9, 0,255,0,255); +_assertPixel(canvas, 92,8, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.open.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.open.html index 521a8a6cf745..162b1f87b294 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.open.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.open.html @@ -34,10 +34,10 @@ ctx.lineTo(1000, 50); ctx.lineTo(100, 50); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.parallel.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.parallel.html index 828ff0cfe5d1..c26182b0b47a 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.parallel.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.parallel.html @@ -31,10 +31,10 @@ ctx.lineTo(0, 25); ctx.lineTo(-100, 25); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.round.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.round.html index a20cee9f089d..f1e60182f3cd 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.round.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.join.round.html @@ -60,17 +60,17 @@ ctx.moveTo(80, 20); ctx.arc(80, 20, 10+tol, 0, 2*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 36,14, 0,255,0,255, "36,14", "0,255,0,255"); -_assertPixel(canvas, 36,13, 0,255,0,255, "36,13", "0,255,0,255"); -_assertPixel(canvas, 37,13, 0,255,0,255, "37,13", "0,255,0,255"); -_assertPixel(canvas, 38,13, 0,255,0,255, "38,13", "0,255,0,255"); -_assertPixel(canvas, 38,12, 0,255,0,255, "38,12", "0,255,0,255"); - -_assertPixel(canvas, 86,14, 0,255,0,255, "86,14", "0,255,0,255"); -_assertPixel(canvas, 86,13, 0,255,0,255, "86,13", "0,255,0,255"); -_assertPixel(canvas, 87,13, 0,255,0,255, "87,13", "0,255,0,255"); -_assertPixel(canvas, 88,13, 0,255,0,255, "88,13", "0,255,0,255"); -_assertPixel(canvas, 88,12, 0,255,0,255, "88,12", "0,255,0,255"); +_assertPixel(canvas, 36,14, 0,255,0,255); +_assertPixel(canvas, 36,13, 0,255,0,255); +_assertPixel(canvas, 37,13, 0,255,0,255); +_assertPixel(canvas, 38,13, 0,255,0,255); +_assertPixel(canvas, 38,12, 0,255,0,255); + +_assertPixel(canvas, 86,14, 0,255,0,255); +_assertPixel(canvas, 86,13, 0,255,0,255); +_assertPixel(canvas, 87,13, 0,255,0,255); +_assertPixel(canvas, 88,13, 0,255,0,255); +_assertPixel(canvas, 88,12, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.acute.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.acute.html index 531276cbd1f2..7807d5942da9 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.acute.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.acute.html @@ -41,10 +41,10 @@ ctx.lineTo(100, 100); ctx.lineTo(1000, 1000); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.exceeded.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.exceeded.html index a4a0fd23565b..9c31cdd4ff6a 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.exceeded.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.exceeded.html @@ -33,10 +33,10 @@ ctx.lineTo(200, 200); ctx.lineTo(1000, 201); // slightly non-right-angle to avoid being a special case ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.lineedge.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.lineedge.html index 1de599390f7b..33d96f36cc81 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.lineedge.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.lineedge.html @@ -30,10 +30,10 @@ ctx.miterLimit = 1.414; ctx.beginPath(); ctx.strokeRect(100, 25, 200, 0); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.obtuse.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.obtuse.html index c6b7619be9a2..73507f623c22 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.obtuse.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.obtuse.html @@ -41,10 +41,10 @@ ctx.lineTo(800, 300); ctx.lineTo(10000, -8900); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.rightangle.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.rightangle.html index 3100a6c3f928..a8b528bf056e 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.rightangle.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.rightangle.html @@ -33,10 +33,10 @@ ctx.lineTo(200, 200); ctx.lineTo(1000, 200); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.within.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.within.html index 4a15782ab87f..c5d71cda5744 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.within.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.miter.within.html @@ -33,10 +33,10 @@ ctx.lineTo(200, 200); ctx.lineTo(1000, 201); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.union.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.union.html index 7d5fb787aea4..e9f5a85e02a3 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.union.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.union.html @@ -33,12 +33,12 @@ ctx.lineTo(0, 26); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 25,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 25,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.basic.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.basic.html index a0bdc4be9b6c..b0fe6c466502 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.basic.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.basic.html @@ -41,21 +41,21 @@ ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 14,25, 0,255,0,255, "14,25", "0,255,0,255"); -_assertPixel(canvas, 15,25, 0,255,0,255, "15,25", "0,255,0,255"); -_assertPixel(canvas, 16,25, 0,255,0,255, "16,25", "0,255,0,255"); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 34,25, 0,255,0,255, "34,25", "0,255,0,255"); -_assertPixel(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255"); -_assertPixel(canvas, 36,25, 0,255,0,255, "36,25", "0,255,0,255"); - -_assertPixel(canvas, 64,25, 0,255,0,255, "64,25", "0,255,0,255"); -_assertPixel(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255"); -_assertPixel(canvas, 66,25, 0,255,0,255, "66,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 84,25, 0,255,0,255, "84,25", "0,255,0,255"); -_assertPixel(canvas, 85,25, 0,255,0,255, "85,25", "0,255,0,255"); -_assertPixel(canvas, 86,25, 0,255,0,255, "86,25", "0,255,0,255"); +_assertPixel(canvas, 14,25, 0,255,0,255); +_assertPixel(canvas, 15,25, 0,255,0,255); +_assertPixel(canvas, 16,25, 0,255,0,255); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 34,25, 0,255,0,255); +_assertPixel(canvas, 35,25, 0,255,0,255); +_assertPixel(canvas, 36,25, 0,255,0,255); + +_assertPixel(canvas, 64,25, 0,255,0,255); +_assertPixel(canvas, 65,25, 0,255,0,255); +_assertPixel(canvas, 66,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 84,25, 0,255,0,255); +_assertPixel(canvas, 85,25, 0,255,0,255); +_assertPixel(canvas, 86,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.scaledefault.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.scaledefault.html index b009e110429f..9c50a0d68e1d 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.scaledefault.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.scaledefault.html @@ -28,11 +28,11 @@ ctx.moveTo(0, 0.5); ctx.lineTo(2, 0.5); ctx.stroke(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 50,5, 0,255,0,255, "50,5", "0,255,0,255"); -_assertPixel(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 50,5, 0,255,0,255); +_assertPixel(canvas, 50,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.transformed.html b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.transformed.html index f3f57a968a33..f42f859a31ee 100644 --- a/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.transformed.html +++ b/testing/web-platform/tests/html/canvas/element/line-styles/2d.line.width.transformed.html @@ -47,21 +47,21 @@ ctx.save(); ctx.restore(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 14,25, 0,255,0,255, "14,25", "0,255,0,255"); -_assertPixel(canvas, 15,25, 0,255,0,255, "15,25", "0,255,0,255"); -_assertPixel(canvas, 16,25, 0,255,0,255, "16,25", "0,255,0,255"); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 34,25, 0,255,0,255, "34,25", "0,255,0,255"); -_assertPixel(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255"); -_assertPixel(canvas, 36,25, 0,255,0,255, "36,25", "0,255,0,255"); +_assertPixel(canvas, 14,25, 0,255,0,255); +_assertPixel(canvas, 15,25, 0,255,0,255); +_assertPixel(canvas, 16,25, 0,255,0,255); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 34,25, 0,255,0,255); +_assertPixel(canvas, 35,25, 0,255,0,255); +_assertPixel(canvas, 36,25, 0,255,0,255); -_assertPixel(canvas, 64,25, 0,255,0,255, "64,25", "0,255,0,255"); -_assertPixel(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255"); -_assertPixel(canvas, 66,25, 0,255,0,255, "66,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 84,25, 0,255,0,255, "84,25", "0,255,0,255"); -_assertPixel(canvas, 85,25, 0,255,0,255, "85,25", "0,255,0,255"); -_assertPixel(canvas, 86,25, 0,255,0,255, "86,25", "0,255,0,255"); +_assertPixel(canvas, 64,25, 0,255,0,255); +_assertPixel(canvas, 65,25, 0,255,0,255); +_assertPixel(canvas, 66,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 84,25, 0,255,0,255); +_assertPixel(canvas, 85,25, 0,255,0,255); +_assertPixel(canvas, 86,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/manual/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html b/testing/web-platform/tests/html/canvas/element/manual/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html index 59eedb1cff4d..37701bacee14 100644 --- a/testing/web-platform/tests/html/canvas/element/manual/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html +++ b/testing/web-platform/tests/html/canvas/element/manual/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html @@ -24,9 +24,8 @@ canvas.offsetTop; ctx.fillStyle = 'currentColor'; canvas.style.display = 'inline'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); - diff --git a/testing/web-platform/tests/html/canvas/element/manual/filters/tentative/idl-conversions/canvas-filter-sequence-conversion.html b/testing/web-platform/tests/html/canvas/element/manual/filters/tentative/idl-conversions/canvas-filter-sequence-conversion.html index 7774f3aa4fa5..8b1a5cdf60d9 100644 --- a/testing/web-platform/tests/html/canvas/element/manual/filters/tentative/idl-conversions/canvas-filter-sequence-conversion.html +++ b/testing/web-platform/tests/html/canvas/element/manual/filters/tentative/idl-conversions/canvas-filter-sequence-conversion.html @@ -47,7 +47,7 @@ _addTest(function(canvas, ctx) { ctx.reset(); ctx.filter = makeFilter(tc.input); ctx.fillRect(0, 0, 100, 100); - _assertPixelApprox(canvas, 5, 5, tc.result,0,0,255, "5,5", `${tc.result},0,0,255`, 2); + _assertPixelApprox(canvas, 5, 5, tc.result,0,0,255, 2); } } t.done(); diff --git a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html index 9c4f1401e2d4..a2dcf0cc0b82 100644 --- a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html +++ b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-bounds.html @@ -35,7 +35,7 @@ function testClip( name, sx, sy, sw, sh, expectedColors, expectedWidth, expected ctx.drawImage(imageBitmap, 0, 0); for (let [x, y, r, g, b, a] of expectedColors) { - _assertPixel(canvas, x,y, r,g,b,a, `${x},${y}`, `${r},${g},${b},${a}`); + _assertPixel(canvas, x,y, r,g,b,a); } }); }, name); diff --git a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html index 1efb8e7dc910..2ddf3648f5a3 100644 --- a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html +++ b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html @@ -13,7 +13,7 @@ function testCanvasDisplayingPattern(canvas, width, height) { var tolerance = 10; // high tolerance for differing color management results const check = (x, y, r, g, b, a) => - _assertPixelApprox(canvas, x,y, r,g,b,a, `${x},${y}`, `${r},${g},${b},${a}`, tolerance); + _assertPixelApprox(canvas, x,y, r,g,b,a, tolerance); check(1 * width / 4, 1 * height / 4, 124,0,27,255); check(3 * width / 4, 1 * height / 4, 0,124,46,255); diff --git a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html index e734820d116b..5b5698813afe 100644 --- a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html +++ b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html @@ -26,7 +26,7 @@ function testCanvasDisplayingPattern(canvas, width, height, sourceIsVideo) bottomRight = [5, 0, 2, 255]; } const check = (x, y, [r, g, b, a]) => - _assertPixelApprox(canvas, x,y, r,g,b,a, `${x},${y}`, `${r},${g},${b},${a}`, tolerance); + _assertPixelApprox(canvas, x,y, r,g,b,a, tolerance); check(1 * width / 4, 1 * height / 4, topLeft); check(3 * width / 4, 1 * height / 4, topRight); check(1 * width / 4, 3 * height / 4, bottomLeft); diff --git a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html index 99d08d830075..32791b039c6a 100644 --- a/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html +++ b/testing/web-platform/tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html @@ -30,7 +30,7 @@ function testCanvasDisplayingPattern(canvas, width, height, sourceIsVideo, flipp [topRight, bottomRight] = [bottomRight, topRight]; } const check = (x, y, [r, g, b, a]) => - _assertPixelApprox(canvas, x,y, r,g,b,a, `${x},${y}`, `${r},${g},${b},${a}`, tolerance); + _assertPixelApprox(canvas, x,y, r,g,b,a, tolerance); check(1 * width / 4, 1 * height / 4, topLeft); check(3 * width / 4, 1 * height / 4, topRight); check(1 * width / 4, 3 * height / 4, bottomLeft); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.1.html index a202700fa6c6..838492d182a8 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.1.html @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, Math.PI/2, -Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.2.html index decff2b6276f..7ddcbcbe4774 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.2.html @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, -3*Math.PI/2, -Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.3.html index feff59e3a700..f5df8a2bf2cf 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.3.html @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, (512+1/2)*Math.PI, (1024-1)*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.4.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.4.html index 5bfc531c1442..635112f76bc8 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.4.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.4.html @@ -26,10 +26,10 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arc(50, 25, 60, (512+1/2)*Math.PI, (1024-1)*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.5.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.5.html index d5ef61d7637c..59edd27bbeff 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.5.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.5.html @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, (1024-1)*Math.PI, (512+1/2)*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.6.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.6.html index 8d37b4453b16..83f960b60e24 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.6.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.angle.6.html @@ -26,10 +26,10 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arc(50, 25, 60, (1024-1)*Math.PI, (512+1/2)*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.default.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.default.html index 1f36d93162f7..51c1f1a8f809 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.default.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.default.html @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, -Math.PI, Math.PI/2); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.empty.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.empty.html index 76cf593217fd..bff802900152 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.empty.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.empty.html @@ -26,7 +26,7 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(200, 25, 5, 0, 2*Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.end.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.end.html index 52836a2e4284..aa26b6592187 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.end.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.end.html @@ -28,7 +28,7 @@ ctx.moveTo(-100, 0); ctx.arc(-100, 0, 25, -Math.PI/2, Math.PI/2, true); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonempty.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonempty.html index 5fd51cea921e..63a472ba9af2 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonempty.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonempty.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arc(200, 25, 5, 0, 2*Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonfinite.html index e70ecb2827d9..04d51bffc0fb 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.nonfinite.html @@ -68,8 +68,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.1.html index 9cb1e84ae453..c100c6476fa8 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.1.html @@ -38,15 +38,15 @@ ctx.moveTo(25, 125); ctx.arc(25, 125, 24, 0, 2*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.2.html index f81358ae944e..1045e4027693 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.scale.2.html @@ -28,15 +28,15 @@ ctx.beginPath(); ctx.arc(0, 0, 0.6, 0, Math.PI/2, false); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.1.html index 34d4a535135a..c97c833ec1ae 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.1.html @@ -29,8 +29,8 @@ ctx.stroke(); ctx.beginPath(); ctx.arc(0, 0, 25, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.2.html index 006258890a1e..58c51e32ec85 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.selfintersect.2.html @@ -29,12 +29,12 @@ ctx.stroke(); ctx.beginPath(); ctx.arc(100, 0, 25, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 97,1, 0,255,0,255, "97,1", "0,255,0,255"); -_assertPixel(canvas, 97,2, 0,255,0,255, "97,2", "0,255,0,255"); -_assertPixel(canvas, 97,3, 0,255,0,255, "97,3", "0,255,0,255"); -_assertPixel(canvas, 2,48, 0,255,0,255, "2,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 97,1, 0,255,0,255); +_assertPixel(canvas, 97,2, 0,255,0,255); +_assertPixel(canvas, 97,3, 0,255,0,255); +_assertPixel(canvas, 2,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.1.html index c30fc669945f..29bf2cf6532a 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.1.html @@ -26,12 +26,12 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(50, 50, 50, 0, Math.PI, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 20,48, 0,255,0,255, "20,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 20,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.2.html index c94242415d58..aad3a5196456 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.2.html @@ -26,12 +26,12 @@ ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.arc(50, 50, 50, 0, Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 20,48, 0,255,0,255, "20,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 20,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.3.html index f7181158e8b1..8f9e2735828c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.3.html @@ -26,11 +26,11 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(0, 50, 50, 0, -Math.PI/2, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.4.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.4.html index 4ac95ad15dbe..4efa26369f9f 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.4.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.4.html @@ -26,11 +26,11 @@ ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.arc(-50, 50, 100, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.5.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.5.html index 5e53c6f356c6..21727d4f4992 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.5.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.shape.5.html @@ -26,11 +26,11 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(300, 0, 100, 0, 5*Math.PI, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.1.html index ed65638541ec..a07eb101bd8d 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.1.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI - 1e-4, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.2.html index fc39ff06a5f9..5ea0c1e60f04 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.2.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI - 1e-4, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.3.html index 505dc737a12b..8e1d50e002f7 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.3.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI + 1e-4, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.4.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.4.html index c49714ff6fd5..914fc4b18d8e 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.4.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.twopie.4.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI + 1e-4, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.1.html index f375b18439fe..b648c869adc2 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.1.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 0, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.2.html index 45a96d4d9007..4aab17a7a5a0 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zero.2.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 0, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zeroradius.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zeroradius.html index 33172cc54bca..6f50bb474f9c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zeroradius.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arc.zeroradius.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arc(200, 25, 0, 0, Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.1.html index c3e719e20f3e..9b963505ee2d 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.1.html @@ -36,9 +36,9 @@ ctx.moveTo(50, 25); ctx.arcTo(50, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.2.html index 49fe8e19b01e..4cabedd056a5 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.coincide.2.html @@ -28,7 +28,7 @@ ctx.moveTo(0, 25); ctx.arcTo(100, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.1.html index 0bc58ff2b1db..393c7a7f6735 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.1.html @@ -35,7 +35,7 @@ ctx.moveTo(-100, 25); ctx.arcTo(0, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.2.html index 71a69d3fe67d..7dc386b51839 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.2.html @@ -35,7 +35,7 @@ ctx.moveTo(100, 25); ctx.arcTo(200, 25, 110, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.3.html index 6c2e1b8bf2d7..76930e5fd123 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.collinear.3.html @@ -40,7 +40,7 @@ ctx.moveTo(-100, 25); ctx.arcTo(0, 25, -200, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.1.html index 8ec82e0ff467..756cfe602c7a 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.1.html @@ -26,7 +26,7 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arcTo(100, 50, 200, 50, 0.1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.2.html index fb8be3f4959d..18b1992d89db 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.ensuresubpath.2.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.arcTo(0, 25, 50, 250, 0.1); // adds (x1,y1), draws nothing ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.nonfinite.html index fe2bc69db86e..d05e05d27814 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.nonfinite.html @@ -66,8 +66,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.scale.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.scale.html index ccbdde9f4a58..00d9f99b96a3 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.scale.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.scale.html @@ -31,15 +31,15 @@ ctx.arcTo(50, 50, 50, 0, 50); ctx.lineTo(-1000, 0); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve1.html index 7d52f3c9f09f..0caf25048d34 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve1.html @@ -39,20 +39,20 @@ ctx.arc(55, 45, 25+tol, 0, -Math.PI/2, true); ctx.arc(55, 45, 15-tol, -Math.PI/2, 0, false); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 55,19, 0,255,0,255, "55,19", "0,255,0,255"); -_assertPixel(canvas, 55,20, 0,255,0,255, "55,20", "0,255,0,255"); -_assertPixel(canvas, 55,21, 0,255,0,255, "55,21", "0,255,0,255"); -_assertPixel(canvas, 64,22, 0,255,0,255, "64,22", "0,255,0,255"); -_assertPixel(canvas, 65,21, 0,255,0,255, "65,21", "0,255,0,255"); -_assertPixel(canvas, 72,28, 0,255,0,255, "72,28", "0,255,0,255"); -_assertPixel(canvas, 73,27, 0,255,0,255, "73,27", "0,255,0,255"); -_assertPixel(canvas, 78,36, 0,255,0,255, "78,36", "0,255,0,255"); -_assertPixel(canvas, 79,35, 0,255,0,255, "79,35", "0,255,0,255"); -_assertPixel(canvas, 80,44, 0,255,0,255, "80,44", "0,255,0,255"); -_assertPixel(canvas, 80,45, 0,255,0,255, "80,45", "0,255,0,255"); -_assertPixel(canvas, 80,46, 0,255,0,255, "80,46", "0,255,0,255"); -_assertPixel(canvas, 65,45, 0,255,0,255, "65,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 55,19, 0,255,0,255); +_assertPixel(canvas, 55,20, 0,255,0,255); +_assertPixel(canvas, 55,21, 0,255,0,255); +_assertPixel(canvas, 64,22, 0,255,0,255); +_assertPixel(canvas, 65,21, 0,255,0,255); +_assertPixel(canvas, 72,28, 0,255,0,255); +_assertPixel(canvas, 73,27, 0,255,0,255); +_assertPixel(canvas, 78,36, 0,255,0,255); +_assertPixel(canvas, 79,35, 0,255,0,255); +_assertPixel(canvas, 80,44, 0,255,0,255); +_assertPixel(canvas, 80,45, 0,255,0,255); +_assertPixel(canvas, 80,46, 0,255,0,255); +_assertPixel(canvas, 65,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve2.html index b0ffa46e6f4c..3e1677bec01e 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.curve2.html @@ -39,19 +39,19 @@ ctx.moveTo(10, 25); ctx.arcTo(75, 25, 75, 60, 20); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 55,19, 0,255,0,255, "55,19", "0,255,0,255"); -_assertPixel(canvas, 55,20, 0,255,0,255, "55,20", "0,255,0,255"); -_assertPixel(canvas, 55,21, 0,255,0,255, "55,21", "0,255,0,255"); -_assertPixel(canvas, 64,22, 0,255,0,255, "64,22", "0,255,0,255"); -_assertPixel(canvas, 65,21, 0,255,0,255, "65,21", "0,255,0,255"); -_assertPixel(canvas, 72,28, 0,255,0,255, "72,28", "0,255,0,255"); -_assertPixel(canvas, 73,27, 0,255,0,255, "73,27", "0,255,0,255"); -_assertPixel(canvas, 78,36, 0,255,0,255, "78,36", "0,255,0,255"); -_assertPixel(canvas, 79,35, 0,255,0,255, "79,35", "0,255,0,255"); -_assertPixel(canvas, 80,44, 0,255,0,255, "80,44", "0,255,0,255"); -_assertPixel(canvas, 80,45, 0,255,0,255, "80,45", "0,255,0,255"); -_assertPixel(canvas, 80,46, 0,255,0,255, "80,46", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 55,19, 0,255,0,255); +_assertPixel(canvas, 55,20, 0,255,0,255); +_assertPixel(canvas, 55,21, 0,255,0,255); +_assertPixel(canvas, 64,22, 0,255,0,255); +_assertPixel(canvas, 65,21, 0,255,0,255); +_assertPixel(canvas, 72,28, 0,255,0,255); +_assertPixel(canvas, 73,27, 0,255,0,255); +_assertPixel(canvas, 78,36, 0,255,0,255); +_assertPixel(canvas, 79,35, 0,255,0,255); +_assertPixel(canvas, 80,44, 0,255,0,255); +_assertPixel(canvas, 80,45, 0,255,0,255); +_assertPixel(canvas, 80,46, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.end.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.end.html index 59685ae6f647..8a41dcd7b61c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.end.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.end.html @@ -28,11 +28,11 @@ ctx.moveTo(-100, -100); ctx.arcTo(-100, 25, 200, 25, 10); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.start.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.start.html index c5755ddd4666..1ee229ef327c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.start.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.shape.start.html @@ -28,11 +28,11 @@ ctx.moveTo(0, 25); ctx.arcTo(200, 25, 200, 50, 10); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.transformation.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.transformation.html index 1417e073c2a6..32811f230053 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.transformation.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.transformation.html @@ -30,15 +30,15 @@ ctx.arcTo(50, 50, 50, 0, 50); ctx.lineTo(-100, 0); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.1.html index a2a8a8bdc87a..4bacbf0dbce7 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.1.html @@ -35,7 +35,7 @@ ctx.moveTo(0, -25); ctx.arcTo(50, -25, 50, 50, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.2.html index a0db92a8e5e8..1f26b5942b2f 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.arcTo.zero.2.html @@ -35,7 +35,7 @@ ctx.moveTo(100, 25); ctx.arcTo(200, 25, 50, 25, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.beginPath.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.beginPath.html index 8140ac73ad96..a21282cc3e55 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.beginPath.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.beginPath.html @@ -25,7 +25,7 @@ ctx.rect(0, 0, 100, 50); ctx.beginPath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.basic.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.basic.html index e3285291e6e3..7f90f7bde469 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.basic.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.basic.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.bezierCurveTo(100, 25, 100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html index caece38fa8c9..1e6f8298c5ac 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html @@ -26,8 +26,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.bezierCurveTo(100, 50, 200, 50, 200, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 95,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html index cf2bd5deff60..875601c5dabd 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html @@ -26,8 +26,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.bezierCurveTo(0, 25, 100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.nonfinite.html index 05df77ab0805..e6da7b272673 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.nonfinite.html @@ -100,8 +100,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.scaled.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.scaled.html index 6bff2a01da59..d24b83786fc3 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.scaled.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.scaled.html @@ -28,11 +28,11 @@ ctx.beginPath(); ctx.moveTo(-2, 3.1); ctx.bezierCurveTo(-2, -1, 2.1, -1, 2.1, 3.1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.shape.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.shape.html index c6d6c310ff95..7ebe1e3460c6 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.shape.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.bezierCurveTo.shape.html @@ -27,11 +27,11 @@ ctx.beginPath(); ctx.moveTo(-2000, 3100); ctx.bezierCurveTo(-2000, -1000, 2100, -1000, 2100, 3100); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.1.html index b347387b0d7b..c49afd431ff7 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.1.html @@ -29,7 +29,7 @@ ctx.clip(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.2.html index 908fc8a7b1b5..dfba3b8164a2 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.basic.2.html @@ -29,7 +29,7 @@ ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.empty.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.empty.html index 6b5862c0308c..ba7a869f5cdc 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.empty.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.empty.html @@ -28,7 +28,7 @@ ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.intersect.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.intersect.html index c171822595f2..1cdd9603d79e 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.intersect.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.intersect.html @@ -32,7 +32,7 @@ ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.unaffected.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.unaffected.html index b4c09f6d5a2e..893877f876d2 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.unaffected.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.unaffected.html @@ -34,7 +34,7 @@ ctx.clip(); ctx.lineTo(0, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.1.html index 3a70bddde565..5e8fa8142439 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.1.html @@ -37,7 +37,7 @@ ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.2.html index f296ee4593e0..ae8fd4c4d945 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.clip.winding.2.html @@ -41,7 +41,7 @@ ctx.clip(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.empty.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.empty.html index a6a5f14ed433..e9840f195a3e 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.empty.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.empty.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.closePath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.newline.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.newline.html index c12e5f084d31..2ad2609e1aec 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.newline.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.newline.html @@ -29,7 +29,7 @@ ctx.lineTo(200, -100); ctx.lineTo(200, 25); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.nextpoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.nextpoint.html index 3ac3b099eea2..7538af29f303 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.nextpoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.closePath.nextpoint.html @@ -28,7 +28,7 @@ ctx.lineTo(-100, -1000); ctx.closePath(); ctx.lineTo(1000, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.basic.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.basic.html index 33a96df92c94..890c15cf4b29 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.basic.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.basic.html @@ -29,7 +29,7 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.unaffected.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.unaffected.html index acda47373aa4..bd42e95181f7 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.unaffected.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.closed.unaffected.html @@ -31,8 +31,8 @@ ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 10,40, 0,255,0,255, "10,40", "0,255,0,255"); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 10,40, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.overlap.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.overlap.html index fbe0f03f3577..eb50ac6846bf 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.overlap.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.overlap.html @@ -28,7 +28,7 @@ ctx.closePath(); ctx.rect(10, 10, 80, 30); ctx.fill(); -_assertPixelApprox(canvas, 50,25, 0,127,0,255, "50,25", "0,127,0,255", 1); +_assertPixelApprox(canvas, 50,25, 0,127,0,255, 1); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.add.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.add.html index bac163ff9f98..5fbcd6526017 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.add.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.add.html @@ -34,7 +34,7 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.1.html index 4980616f389b..963e5d3c75d5 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.1.html @@ -34,7 +34,7 @@ ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.2.html index 6429ff68a59c..305d628b9e56 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.2.html @@ -33,7 +33,7 @@ ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.3.html index 97dadad7036e..4bda1bd248f3 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.fill.winding.subtract.3.html @@ -39,7 +39,7 @@ ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.initial.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.initial.html index fa700b368221..ec17cc330aa5 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.initial.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.initial.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.closePath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.basic.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.basic.html index 317baf93a1dd..4a2cca3a3aff 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.basic.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.basic.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.1.html index 9e2f0cf4e93c..0fa8f1c05491 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.1.html @@ -26,7 +26,7 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.lineTo(100, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.2.html index b24ebb04111c..e5b2aa335c24 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.ensuresubpath.2.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.lineTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nextpoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nextpoint.html index 0e8147d2bddb..54b586176de9 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nextpoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nextpoint.html @@ -28,7 +28,7 @@ ctx.moveTo(-100, -100); ctx.lineTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nonfinite.html index df0bf367f11e..fa3acf538519 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.lineTo.nonfinite.html @@ -32,8 +32,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.basic.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.basic.html index cacbfab39f3c..3ab41dc03992 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.basic.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.basic.html @@ -28,7 +28,7 @@ ctx.lineTo(10, 50); ctx.lineTo(100, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 90,25, 0,255,0,255, "90,25", "0,255,0,255"); +_assertPixel(canvas, 90,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.multiple.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.multiple.html index 0a364e425cf6..24307b4e9ed5 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.multiple.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.multiple.html @@ -28,7 +28,7 @@ ctx.lineTo(100, 25); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.newsubpath.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.newsubpath.html index 8830f89a9c29..456b7538ace7 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.newsubpath.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.newsubpath.html @@ -28,7 +28,7 @@ ctx.moveTo(100, 50); ctx.moveTo(0, 50); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.nonfinite.html index 617e3cdfb734..4f61d9e58b9c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.moveTo.nonfinite.html @@ -32,7 +32,7 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.basic.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.basic.html index 8f9d2875bf26..1c2da33f9673 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.basic.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.basic.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.quadraticCurveTo(100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html index 81a18d061dd6..6c75732dacaf 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html @@ -26,8 +26,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.quadraticCurveTo(100, 50, 200, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 95,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html index f66c0d85c92c..8da6964cc2fa 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html @@ -26,8 +26,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.quadraticCurveTo(0, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.nonfinite.html index 253d39bc5e85..4bc7107fca27 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.nonfinite.html @@ -48,8 +48,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.scaled.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.scaled.html index ebd7668e315b..4b6ffaa741b4 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.scaled.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.scaled.html @@ -28,11 +28,11 @@ ctx.beginPath(); ctx.moveTo(-1, 1.05); ctx.quadraticCurveTo(0, -1, 1.2, 1.05); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.shape.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.shape.html index e0a7e9bdbe22..58d35dc22f26 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.shape.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.quadraticCurveTo.shape.html @@ -27,11 +27,11 @@ ctx.beginPath(); ctx.moveTo(-1000, 1050); ctx.quadraticCurveTo(0, -1000, 1200, 1050); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.basic.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.basic.html index 3799fee87780..296800decd52 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.basic.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.basic.html @@ -24,7 +24,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.rect(0, 0, 100, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.closed.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.closed.html index 2aaf5aeec197..60a237770fa3 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.closed.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.closed.html @@ -26,7 +26,7 @@ ctx.lineWidth = 200; ctx.lineJoin = 'miter'; ctx.rect(100, 50, 100, 100); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.1.html index 2893931509e4..6f3338b84114 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.1.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.rect(200, 100, 400, 1000); ctx.lineTo(-2000, -1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.2.html index 2145d0e4ca3b..e5a1776dd64e 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.end.2.html @@ -28,10 +28,10 @@ ctx.lineJoin = 'bevel'; ctx.rect(150, 150, 2000, 2000); ctx.lineTo(160, 160); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.negative.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.negative.html index 3b30ef00375e..e7e51371e164 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.negative.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.negative.html @@ -28,10 +28,10 @@ ctx.rect(100, 0, -50, 25); ctx.rect(0, 50, 50, -25); ctx.rect(100, 50, -50, -25); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.newsubpath.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.newsubpath.html index 2e610e44b51b..e2c5a4cff836 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.newsubpath.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.newsubpath.html @@ -28,7 +28,7 @@ ctx.moveTo(-100, 25); ctx.lineTo(-50, 25); ctx.rect(200, 25, 1, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.nonfinite.html index 22891bb4ca70..b8517e8fa4dc 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.nonfinite.html @@ -48,8 +48,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.selfintersect.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.selfintersect.html index c02c5523827d..e7c73dfaffbd 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.selfintersect.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.selfintersect.html @@ -26,7 +26,7 @@ ctx.lineWidth = 90; ctx.beginPath(); ctx.rect(45, 20, 10, 10); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.winding.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.winding.html index 942bf1da50b6..c9547fe32aae 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.winding.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.winding.html @@ -28,10 +28,10 @@ ctx.rect(100, 50, -50, -50); ctx.rect(0, 25, 100, -25); ctx.rect(100, 25, -100, 25); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.1.html index f8d45cdd131f..9a210e744147 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.1.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(0, 50, 100, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.2.html index f5250b54f30a..0e3a7c87d66d 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.2.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(50, -100, 0, 250); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.3.html index 6d7879debccc..e92b121f3125 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.3.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(50, 25, 0, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.4.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.4.html index cf813aef36fd..086ef94f2921 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.4.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.4.html @@ -26,7 +26,7 @@ ctx.lineWidth = 50; ctx.rect(100, 25, 0, 0); ctx.lineTo(0, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.5.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.5.html index f8643aeeea22..880cab561409 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.5.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.5.html @@ -26,7 +26,7 @@ ctx.lineWidth = 50; ctx.moveTo(0, 0); ctx.rect(100, 25, 0, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.6.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.6.html index b3ded772c83b..34c9d15cfede 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.6.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.rect.zero.6.html @@ -28,7 +28,7 @@ ctx.lineWidth = 200; ctx.beginPath(); ctx.rect(100, 25, 1000, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.html index ad7168a793c8..bdcf60d44ccd 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.html @@ -26,28 +26,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.single argument.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.single argument.html index 5fc1425dec04..6e13276c987d 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.single argument.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.single argument.html @@ -26,28 +26,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.html index 7ca4dd7265a4..6186d98eafa5 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.html @@ -26,28 +26,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.single.argument.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.single.argument.html index 17f4946a9b07..7bf91ffe35c0 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.single.argument.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompointinit.single.argument.html @@ -26,28 +26,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.html index 0703e9f10b3e..250bf7d6ab54 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.single.argument.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.single.argument.html index c097ac9b5060..e5e953de74bb 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.single.argument.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.single.argument.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, 20); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompoint.html index e74e0f1eabe4..699603b4fdb9 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompoint.html @@ -26,20 +26,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html index 37eb89dcf764..55c06ca2ebb8 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html @@ -26,20 +26,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.double.html index f35ec3246dc6..1d38197baff9 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompoint.html index 6aebe1b9f750..701109d4f2e6 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompoint.html @@ -26,20 +26,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html index 7f672555008d..409d5014c317 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html @@ -26,20 +26,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.double.html index 9ae82104c98b..a0c458f006d8 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompoint.html index 3402094027df..ac4a3ddd8941 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompoint.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html index 11709a1df890..bdfba5df4198 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.double.html index 197a8add86a7..3e8931e7fc00 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompoint.html index 1a4b9c4ba9c5..7546120a6992 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompoint.html @@ -26,20 +26,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html index 72e753305999..d8c805c28b69 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html @@ -26,20 +26,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.double.html index 74df39e99170..c3d722bac4e4 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompoint.html index 5b16dcd9b88c..1d61ce570594 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompoint.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html index eec602ea453a..f1714a84e322 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.double.html index af7d760faba3..f3f5721a729f 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompoint.html index 9a4c3975326a..4ecff46aeec9 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompoint.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html index 72b9ecc7b513..e5b1feed32f0 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.double.html index 059f49f0c1b9..7c22f2457cb3 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompoint.html index 50b64d51c110..f897a721cf7e 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompoint.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html index a58a8461c513..826befa02a57 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.double.html index 0ffbbfe2b045..a0db8fa25e37 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompoint.html index 2452564e9e7e..ac4f0795c68c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompoint.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html index f58de8e49bed..b902fb9fce29 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.double.html index 3d6225289d2c..d69e2da221d3 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompoint.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompoint.html index 99c9aa3dada0..f660fdaa6485 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompoint.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompoint.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html index 59291121aa79..0764d3e0014a 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html @@ -26,15 +26,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.double.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.double.html index 7e2addf116d8..7a2cd952e608 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.double.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.double.html @@ -24,10 +24,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.closed.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.closed.html index 780323cfed15..40756e5d941c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.closed.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.closed.html @@ -26,7 +26,7 @@ ctx.lineWidth = 200; ctx.lineJoin = 'miter'; ctx.roundRect(100, 50, 100, 100, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.1.html index 03ed7f31e265..10ab8c1fb832 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.1.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.roundRect(200, 100, 400, 1000, [0]); ctx.lineTo(-2000, -1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.2.html index 1ed59f2a4980..3b95d1ca88e9 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.2.html @@ -28,10 +28,10 @@ ctx.lineJoin = 'bevel'; ctx.roundRect(150, 150, 2000, 2000, [0]); ctx.lineTo(160, 160); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.3.html index f42177b4e4c8..48fc4988aa8d 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.3.html @@ -26,10 +26,10 @@ ctx.lineWidth = 100; ctx.roundRect(101, 51, 2000, 2000, [500, 500, 500, 500]); ctx.lineTo(-1, -1); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.4.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.4.html index a2c59b350951..4b70fbc344a7 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.4.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.end.4.html @@ -26,10 +26,10 @@ ctx.lineWidth = 10; ctx.roundRect(-1, -1, 2000, 2000, [1000, 1000, 1000, 1000]); ctx.lineTo(-150, -150); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.negative.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.negative.html index 4327046c382f..81ffe8c93e4c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.negative.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.negative.html @@ -29,15 +29,15 @@ ctx.roundRect(0, 50, 50, -25, [10, 0, 0, 0]); ctx.roundRect(100, 50, -50, -25, [10, 0, 0, 0]); ctx.fill(); // All rects drawn -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); // Correct corners are rounded. -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.newsubpath.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.newsubpath.html index 8ec9a5f14cdf..892ef6e5f195 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.newsubpath.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.newsubpath.html @@ -28,7 +28,7 @@ ctx.moveTo(-100, 25); ctx.lineTo(-50, 25); ctx.roundRect(200, 25, 1, 1, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.nonfinite.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.nonfinite.html index 91c1abf353a1..a047b73177f7 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.nonfinite.html @@ -107,8 +107,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.1.html index fa6be6a13cc0..e7675ba35c35 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.1.html @@ -24,15 +24,15 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [40, 40, 40, 40]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 2,25, 0,255,0,255, "2,25", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 97,25, 0,255,0,255, "97,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 2,25, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 97,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.2.html index 30f064c70477..48140ca60ed4 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.2.html @@ -24,15 +24,15 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [1000, 1000, 1000, 1000]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 2,25, 0,255,0,255, "2,25", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 97,25, 0,255,0,255, "97,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 2,25, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 97,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noargument.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noargument.html index 7e5f387014d3..e45b20b7a076 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noargument.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noargument.html @@ -25,24 +25,24 @@ ctx.roundRect(10, 10, 80, 30); ctx.fillStyle = '#0f0'; ctx.fill(); // upper left corner (10, 10) -_assertPixel(canvas, 10,9, 255,0,0,255, "10,9", "255,0,0,255"); -_assertPixel(canvas, 9,10, 255,0,0,255, "9,10", "255,0,0,255"); -_assertPixel(canvas, 10,10, 0,255,0,255, "10,10", "0,255,0,255"); +_assertPixel(canvas, 10,9, 255,0,0,255); +_assertPixel(canvas, 9,10, 255,0,0,255); +_assertPixel(canvas, 10,10, 0,255,0,255); // upper right corner (89, 10) -_assertPixel(canvas, 90,10, 255,0,0,255, "90,10", "255,0,0,255"); -_assertPixel(canvas, 89,9, 255,0,0,255, "89,9", "255,0,0,255"); -_assertPixel(canvas, 89,10, 0,255,0,255, "89,10", "0,255,0,255"); +_assertPixel(canvas, 90,10, 255,0,0,255); +_assertPixel(canvas, 89,9, 255,0,0,255); +_assertPixel(canvas, 89,10, 0,255,0,255); // lower right corner (89, 39) -_assertPixel(canvas, 89,40, 255,0,0,255, "89,40", "255,0,0,255"); -_assertPixel(canvas, 90,39, 255,0,0,255, "90,39", "255,0,0,255"); -_assertPixel(canvas, 89,39, 0,255,0,255, "89,39", "0,255,0,255"); +_assertPixel(canvas, 89,40, 255,0,0,255); +_assertPixel(canvas, 90,39, 255,0,0,255); +_assertPixel(canvas, 89,39, 0,255,0,255); // lower left corner (10, 30) -_assertPixel(canvas, 9,39, 255,0,0,255, "9,39", "255,0,0,255"); -_assertPixel(canvas, 10,40, 255,0,0,255, "10,40", "255,0,0,255"); -_assertPixel(canvas, 10,39, 0,255,0,255, "10,39", "0,255,0,255"); +_assertPixel(canvas, 9,39, 255,0,0,255); +_assertPixel(canvas, 10,40, 255,0,0,255); +_assertPixel(canvas, 10,39, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noarugment.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noarugment.html index 8b1840e02836..08f576b37925 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noarugment.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.radius.noarugment.html @@ -25,26 +25,25 @@ ctx.roundRect(10, 10, 80, 30); ctx.fillStyle = '#0f0'; ctx.fill(); // upper left corner (10, 10) -_assertPixel(canvas, 10,9, 255,0,0,255, "10,9", "255,0,0,255"); -_assertPixel(canvas, 9,10, 255,0,0,255, "9,10", "255,0,0,255"); -_assertPixel(canvas, 10,10, 0,255,0,255, "10,10", "0,255,0,255"); +_assertPixel(canvas, 10,9, 255,0,0,255); +_assertPixel(canvas, 9,10, 255,0,0,255); +_assertPixel(canvas, 10,10, 0,255,0,255); // upper right corner (89, 10) -_assertPixel(canvas, 90,10, 255,0,0,255, "90,10", "255,0,0,255"); -_assertPixel(canvas, 89,9, 255,0,0,255, "89,9", "255,0,0,255"); -_assertPixel(canvas, 89,10, 0,255,0,255, "89,10", "0,255,0,255"); +_assertPixel(canvas, 90,10, 255,0,0,255); +_assertPixel(canvas, 89,9, 255,0,0,255); +_assertPixel(canvas, 89,10, 0,255,0,255); // lower right corner (89, 39) -_assertPixel(canvas, 89,40, 255,0,0,255, "89,40", "255,0,0,255"); -_assertPixel(canvas, 90,39, 255,0,0,255, "90,39", "255,0,0,255"); -_assertPixel(canvas, 89,39, 0,255,0,255, "89,39", "0,255,0,255"); +_assertPixel(canvas, 89,40, 255,0,0,255); +_assertPixel(canvas, 90,39, 255,0,0,255); +_assertPixel(canvas, 89,39, 0,255,0,255); // lower left corner (10, 30) -_assertPixel(canvas, 9,39, 255,0,0,255, "9,39", "255,0,0,255"); -_assertPixel(canvas, 10,40, 255,0,0,255, "10,40", "255,0,0,255"); -_assertPixel(canvas, 10,39, 0,255,0,255, "10,39", "0,255,0,255"); +_assertPixel(canvas, 9,39, 255,0,0,255); +_assertPixel(canvas, 10,40, 255,0,0,255); +_assertPixel(canvas, 10,39, 0,255,0,255); }); - diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.selfintersect.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.selfintersect.html index 4b2c7d7c837d..d644d66e7ca6 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.selfintersect.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.selfintersect.html @@ -26,7 +26,7 @@ ctx.lineWidth = 90; ctx.beginPath(); ctx.roundRect(45, 20, 10, 10, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.winding.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.winding.html index 53eb5863a10e..6bcad2c9642c 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.winding.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.winding.html @@ -28,10 +28,10 @@ ctx.roundRect(100, 50, -50, -50, [0]); ctx.roundRect(0, 25, 100, -25, [0]); ctx.roundRect(100, 25, -100, 25, [0]); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.1.html index cd1c4746d8e8..690087f0aa0e 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.1.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(0, 50, 100, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.2.html index d2ed1a713456..cfeb923299a2 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.2.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(50, -100, 0, 250, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.3.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.3.html index e756672fe97b..39151f38c762 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.3.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.3.html @@ -26,7 +26,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(50, 25, 0, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.4.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.4.html index 9258a680f894..20dccbeaa0b6 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.4.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.4.html @@ -26,7 +26,7 @@ ctx.lineWidth = 50; ctx.roundRect(100, 25, 0, 0, [0]); ctx.lineTo(0, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.5.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.5.html index 2bcaf4ddba12..bcb84a591710 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.5.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.5.html @@ -26,7 +26,7 @@ ctx.lineWidth = 50; ctx.moveTo(0, 0); ctx.roundRect(100, 25, 0, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.6.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.6.html index abc43f7851d3..829503767dc9 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.6.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.roundrect.zero.6.html @@ -28,7 +28,7 @@ ctx.lineWidth = 200; ctx.beginPath(); ctx.roundRect(100, 25, 1000, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.empty.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.empty.html index 4c2991c7bd8d..5a2a91bd0fe8 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.empty.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.empty.html @@ -32,7 +32,7 @@ ctx.moveTo(40, 25); ctx.moveTo(60, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.overlap.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.overlap.html index 2747bf73e978..c1b425d18c7a 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.overlap.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.overlap.html @@ -30,7 +30,7 @@ ctx.moveTo(0, 30); ctx.lineTo(100, 30); ctx.stroke(); -_assertPixelApprox(canvas, 50,25, 0,127,0,255, "50,25", "0,127,0,255", 1); +_assertPixelApprox(canvas, 50,25, 0,127,0,255, 1); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.arc.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.arc.html index 1757270fb330..abef923f6a6d 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.arc.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.arc.html @@ -37,7 +37,7 @@ ctx.moveTo(60, 25); ctx.arc(50, 25, 10, 0, 0, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.closed.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.closed.html index bfae13e1b9c4..4515669bc8e5 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.closed.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.closed.html @@ -33,7 +33,7 @@ ctx.lineTo(50, 25); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.corner.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.corner.html index d7589116e3bb..532c74659500 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.corner.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.corner.html @@ -35,7 +35,7 @@ ctx.lineTo(-100, 200); ctx.lineTo(-100, 1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.curve.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.curve.html index 6e7a9a47db34..6055d8b3f4c4 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.curve.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.curve.html @@ -37,7 +37,7 @@ ctx.moveTo(50, 25); ctx.bezierCurveTo(50, 25, 50, 25, 50, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.line.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.line.html index 06a3e1da4a16..2d8dcbe49954 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.line.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.line.html @@ -32,7 +32,7 @@ ctx.moveTo(50, 25); ctx.lineTo(50, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.rect.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.rect.html index 6044ee332004..28b02ca32556 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.rect.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.prune.rect.html @@ -33,7 +33,7 @@ ctx.stroke(); ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale1.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale1.html index dcb21daf7f33..29ccc6613dac 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale1.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale1.html @@ -38,15 +38,15 @@ ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale2.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale2.html index 0920d8f1bbbe..bc72c5c140f8 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale2.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.scale2.html @@ -40,15 +40,15 @@ ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.skew.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.skew.html index 26f16f7cc586..b902a1dc2754 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.skew.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.skew.html @@ -54,15 +54,15 @@ ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.unaffected.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.unaffected.html index 7bdd3bbec02d..9b05a6aa0dbb 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.unaffected.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.unaffected.html @@ -34,7 +34,7 @@ ctx.closePath(); ctx.strokeStyle = '#0f0'; ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.union.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.union.html index a4b1091770d6..daa8da934937 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.union.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.stroke.union.html @@ -30,7 +30,7 @@ ctx.moveTo(100, 40); ctx.lineTo(0, 40); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.basic.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.basic.html index d19c507cc84b..d77b66a68fc9 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.basic.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.basic.html @@ -28,7 +28,7 @@ ctx.translate(0, -100); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.changing.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.changing.html index c02d6925d7ec..5f79285a81dd 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.changing.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.changing.html @@ -34,7 +34,7 @@ ctx.rotate(Math.PI/2); ctx.scale(0.1, 0.1); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.multiple.html b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.multiple.html index 1c9fa3e7b083..aafa11c127b6 100644 --- a/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.multiple.html +++ b/testing/web-platform/tests/html/canvas/element/path-objects/2d.path.transformation.multiple.html @@ -39,7 +39,7 @@ ctx.stroke(); ctx.translate(0, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.get.unaffected.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.get.unaffected.html index a77992f5d2cd..15ad997d5f1b 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.get.unaffected.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.get.unaffected.html @@ -33,8 +33,8 @@ ctx.clip(); var imgdata = ctx.getImageData(0, 0, 50, 50); ctx.restore(); ctx.putImageData(imgdata, 50, 0); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.alpha.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.alpha.html index cce73c80180c..ae8ad977766d 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.alpha.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.alpha.html @@ -25,7 +25,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,64, "50,25", "0,255,0,64", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,64, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.basic.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.basic.html index 061ea97a2f1c..9a7021fd56a6 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.basic.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.basic.html @@ -25,7 +25,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.clip.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.clip.html index b476ea81d731..229b8129563d 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.clip.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.clip.html @@ -28,8 +28,8 @@ ctx.beginPath(); ctx.rect(0, 0, 50, 50); ctx.clip(); ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.created.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.created.html index b6e1512bfde4..3f515b2523ef 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.created.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.created.html @@ -29,7 +29,7 @@ for (var i = 0; i < imgdata.data.length; i += 4) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.cross.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.cross.html index f9166ffbf48d..282ad03e6d5e 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.cross.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.cross.html @@ -27,7 +27,7 @@ var imgdata = ctx2.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.negative.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.negative.html index b07334beacc8..81226e6978f4 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.negative.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.negative.html @@ -32,11 +32,11 @@ ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, 40, 20, 20, 20, -20, -20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.outside.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.outside.html index bed261b74800..8750c332d60b 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.outside.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.outside.html @@ -32,13 +32,13 @@ ctx.putImageData(imgdata, 200, 200, 0, 0, 100, 50); ctx.putImageData(imgdata, 40, 20, -30, -20, 30, 20); ctx.putImageData(imgdata, -30, 20, 0, 0, 30, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,15, 0,255,0,255, "98,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,45, 0,255,0,255, "98,45", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,5, 0,255,0,255, "1,5", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,45, 0,255,0,255, "1,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,45, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,5, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,45, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect1.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect1.html index 6871666ffd4c..104896d20173 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect1.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect1.html @@ -32,11 +32,11 @@ ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, 40, 20, 0, 0, 20, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect2.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect2.html index c59a89c742b6..7acb2205a357 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect2.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.rect2.html @@ -32,11 +32,11 @@ ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, -20, -10, 60, 30, 20, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.zero.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.zero.html index d6e2101a2384..336e02a35a26 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.zero.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.dirty.zero.html @@ -25,7 +25,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0, 0, 0, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.modified.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.modified.html index 96d55315033b..f5f085a0010e 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.modified.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.modified.html @@ -30,7 +30,7 @@ for (var i = 0, len = imgdata.width*imgdata.height*4; i < len; i += 4) imgdata.data[i+1] = 255; } ctx.putImageData(imgdata, 45, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.path.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.path.html index 1406e5057cef..b81054d22811 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.path.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.path.html @@ -26,7 +26,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.putImageData(imgdata, 0, 0); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.unaffected.html b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.unaffected.html index ca45c0a3d5ca..345cb5cbc71f 100644 --- a/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.unaffected.html +++ b/testing/web-platform/tests/html/canvas/element/pixel-manipulation/2d.imageData.put.unaffected.html @@ -31,7 +31,7 @@ ctx.shadowBlur = 1; ctx.translate(100, 50); ctx.scale(0.1, 0.1); ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/reset/2d.reset.basic.html b/testing/web-platform/tests/html/canvas/element/reset/2d.reset.basic.html index c6fe6333b715..8f63730851df 100644 --- a/testing/web-platform/tests/html/canvas/element/reset/2d.reset.basic.html +++ b/testing/web-platform/tests/html/canvas/element/reset/2d.reset.basic.html @@ -22,12 +22,12 @@ _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height); ctx.reset(); -_assertPixel(canvas, 0,0, 0,0,0,0, "0,0", "0,0,0,0"); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); -_assertPixel(canvas, 25,50, 0,0,0,0, "25,50", "0,0,0,0"); -_assertPixel(canvas, 100,50, 0,0,0,0, "100,50", "0,0,0,0"); -_assertPixel(canvas, 0,50, 0,0,0,0, "0,50", "0,0,0,0"); -_assertPixel(canvas, 100,0, 0,0,0,0, "100,0", "0,0,0,0"); +_assertPixel(canvas, 0,0, 0,0,0,0); +_assertPixel(canvas, 50,25, 0,0,0,0); +_assertPixel(canvas, 25,50, 0,0,0,0); +_assertPixel(canvas, 100,50, 0,0,0,0); +_assertPixel(canvas, 0,50, 0,0,0,0); +_assertPixel(canvas, 100,0, 0,0,0,0); t.done(); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.1.html index fe875fcac7a5..38d3bd74eeb2 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.1.html @@ -25,7 +25,7 @@ ctx.shadowColor = 'rgba(255, 0, 0, 0.01)'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 4); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 4); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.2.html index ab0e2bbc330d..ae813036b8c5 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.2.html @@ -25,7 +25,7 @@ ctx.shadowColor = 'rgba(0, 0, 255, 0.5)'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.3.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.3.html index c0037cf5a58d..42cabad36a05 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.3.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.3.html @@ -27,7 +27,7 @@ ctx.shadowOffsetY = 50; ctx.globalAlpha = 0.5; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.4.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.4.html index a4ab327eb2af..96af9df0faab 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.4.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.4.html @@ -27,7 +27,7 @@ ctx.shadowOffsetY = 50; ctx.globalAlpha = 0.707; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.5.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.5.html index 8f4c71c33142..2f0b6838d809 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.5.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.alpha.5.html @@ -26,7 +26,7 @@ ctx.shadowColor = '#00f'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.alpha.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.alpha.html index 331ddd98dfe0..5ad64e16fdf0 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.alpha.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.alpha.html @@ -32,7 +32,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#00f'; ctx.drawImage(canvas2, 0, -50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.basic.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.basic.html index b6a92107a8d2..fd70884d02d0 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.basic.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.basic.html @@ -32,7 +32,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 50; ctx.drawImage(canvas2, 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.1.html index 3b7dabc9a9d7..f18b7d7189ed 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.1.html @@ -30,7 +30,7 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetY = 50; ctx.drawImage(canvas2, 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.2.html index 6d7f34fbfd14..c9590543ea37 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.canvas.transparent.2.html @@ -36,9 +36,9 @@ ctx.drawImage(canvas2, 50, -50); ctx.shadowColor = '#f00'; ctx.drawImage(canvas2, -50, -50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.1.html index 880c26558dea..f952096bbd67 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.1.html @@ -33,8 +33,8 @@ ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.2.html index 823352dd209a..22208c5ad339 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.2.html @@ -33,8 +33,8 @@ ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.3.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.3.html index 104a51e9ca62..5af9b012adc0 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.3.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.clip.3.html @@ -34,8 +34,8 @@ ctx.shadowOffsetX = 50; ctx.fillRect(-50, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.1.html index 8f32cf9bd0c6..28a82e65868e 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.1.html @@ -27,7 +27,7 @@ ctx.shadowOffsetX = 100; ctx.fillStyle = '#0f0'; ctx.fillRect(-100, 0, 200, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.2.html index 1b693a923d43..aeb6dc1053d2 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.2.html @@ -27,7 +27,7 @@ ctx.shadowBlur = 1; ctx.fillStyle = '#0f0'; ctx.fillRect(-10, -10, 120, 70); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.3.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.3.html index 05c8e8f950e5..9a0c02e110f9 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.3.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.composite.3.html @@ -27,8 +27,8 @@ ctx.shadowBlur = 10; ctx.fillStyle = '#f00'; ctx.fillRect(200, 0, 100, 50); -_assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.blur.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.blur.html index bb59ad4b6388..ffe70f1c3855 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.blur.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.blur.html @@ -24,7 +24,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowBlur = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.1.html index 25438b9aa6d7..e3adc9ae8960 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.1.html @@ -22,7 +22,7 @@ _addTest(function(canvas, ctx) { ctx.shadowColor = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.2.html index 52528ae05b20..8dd3fc32d787 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.off.2.html @@ -23,7 +23,7 @@ ctx.globalCompositeOperation = 'destination-atop'; ctx.shadowColor = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.x.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.x.html index 9e3bc404800e..54fa86e11547 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.x.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.x.html @@ -24,7 +24,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.y.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.y.html index 810891116b8c..7295d578be32 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.y.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.enable.y.html @@ -24,7 +24,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.alpha.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.alpha.html index f864bb37af44..7ae83ebe9af9 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.alpha.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.alpha.html @@ -29,7 +29,7 @@ ctx.shadowColor = '#00f'; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.basic.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.basic.html index 1ee39b112652..233770e0d00a 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.basic.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.basic.html @@ -29,7 +29,7 @@ ctx.shadowOffsetY = 50; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.1.html index bd542c9c0efc..2427c7f59d5e 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.1.html @@ -29,7 +29,7 @@ ctx.shadowOffsetY = 50; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.2.html index 2fbec52b49ad..e27b19cc0af0 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.gradient.transparent.2.html @@ -33,9 +33,9 @@ ctx.shadowColor = '#0f0'; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.alpha.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.alpha.html index 3b6bf2c31e02..2c8133f63095 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.alpha.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.alpha.html @@ -25,7 +25,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#00f'; ctx.drawImage(document.getElementById('transparent50.png'), 0, -50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.basic.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.basic.html index f424c29b63a3..f91b195e4c04 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.basic.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.basic.html @@ -25,7 +25,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 50; ctx.drawImage(document.getElementById('red.png'), 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.scale.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.scale.html index 9e41f76ac1b1..c0edc313739b 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.scale.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.scale.html @@ -25,9 +25,9 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#0f0'; ctx.drawImage(document.getElementById('redtransparent.png'), 0, 0, 100, 50, -10, -50, 240, 50); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.section.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.section.html index d1bce82099c8..2ff2bf2a2449 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.section.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.section.html @@ -25,9 +25,9 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#f00'; ctx.drawImage(document.getElementById('redtransparent.png'), 50, 0, 50, 50, 0, -50, 50, 50); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.1.html index d04561fa852a..c152dc2962b9 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.1.html @@ -25,7 +25,7 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetY = 50; ctx.drawImage(document.getElementById('transparent.png'), 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.2.html index fed2d2a8f30f..636c72d9d6be 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.image.transparent.2.html @@ -29,9 +29,9 @@ ctx.drawImage(document.getElementById('redtransparent.png'), 50, -50); ctx.shadowColor = '#f00'; ctx.drawImage(document.getElementById('redtransparent.png'), -50, -50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeX.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeX.html index 9fbf9eed074c..828fe89f000c 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeX.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeX.html @@ -25,8 +25,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = -50; ctx.fillRect(50, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeY.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeY.html index 428bed458761..daf9b7eec0cf 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeY.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.negativeY.html @@ -25,8 +25,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = -25; ctx.fillRect(0, 25, 100, 25); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveX.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveX.html index fe722d90e09a..9d627ddfddb1 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveX.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveX.html @@ -25,8 +25,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveY.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveY.html index 49e64b7a9be4..619826342e89 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveY.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.offset.positiveY.html @@ -25,8 +25,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 25; ctx.fillRect(0, 0, 100, 25); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.outside.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.outside.html index c71394dca64f..331dca9246cc 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.outside.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.outside.html @@ -31,10 +31,10 @@ ctx.shadowOffsetY = 100; ctx.fillRect(25, -100, 50, 25); ctx.shadowOffsetY = -100; ctx.fillRect(25, 125, 50, 25); -_assertPixel(canvas, 12,25, 0,255,0,255, "12,25", "0,255,0,255"); -_assertPixel(canvas, 87,25, 0,255,0,255, "87,25", "0,255,0,255"); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 12,25, 0,255,0,255); +_assertPixel(canvas, 87,25, 0,255,0,255); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.alpha.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.alpha.html index 1fa95ada061e..a995a4ab1f1a 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.alpha.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.alpha.html @@ -27,7 +27,7 @@ ctx.shadowColor = '#00f'; ctx.fillStyle = pattern; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.basic.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.basic.html index 3bd3d6ded475..adb8aeaedf67 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.basic.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.basic.html @@ -27,7 +27,7 @@ ctx.shadowOffsetY = 50; ctx.fillStyle = pattern; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.1.html index 3909a31aa9ed..37af35d44d24 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.1.html @@ -27,7 +27,7 @@ ctx.shadowOffsetY = 50; ctx.fillStyle = pattern; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.2.html index 24becd0490d8..e96e9e33a473 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.pattern.transparent.2.html @@ -29,9 +29,9 @@ ctx.shadowColor = '#0f0'; ctx.fillStyle = pattern; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.basic.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.basic.html index 5cf7f054a755..c5834b86dcf4 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.basic.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.basic.html @@ -30,9 +30,9 @@ ctx.moveTo(0, -25); ctx.lineTo(100, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.1.html index 739ca1f3379f..ff6a1c4c1dff 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.1.html @@ -33,9 +33,9 @@ ctx.moveTo(100, -25); ctx.lineTo(150, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.2.html index 38a56e713b0d..40fd22a1c354 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.cap.2.html @@ -31,9 +31,9 @@ ctx.moveTo(25, -25); ctx.lineTo(75, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.1.html index 0f685285bcd7..5c7cda8e7b98 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.1.html @@ -32,10 +32,10 @@ ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.2.html index 71c6a70bdd8e..0ed3c90cb857 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.2.html @@ -34,10 +34,10 @@ ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.3.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.3.html index 5fa3b8209a15..ada4e159fa0d 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.3.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.stroke.join.3.html @@ -33,10 +33,10 @@ ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); // (not an exact right angle, to avoid some other bug in Firefox 3) ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.1.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.1.html index 5623237aacdf..57450512775e 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.1.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.1.html @@ -26,7 +26,7 @@ ctx.shadowColor = '#0f0'; ctx.translate(100, 100); ctx.fillRect(-100, -150, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.2.html b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.2.html index 06d1ade6f494..dc97c0672cf4 100644 --- a/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.2.html +++ b/testing/web-platform/tests/html/canvas/element/shadows/2d.shadow.transform.2.html @@ -26,7 +26,7 @@ ctx.shadowColor = '#0f0'; ctx.rotate(Math.PI) ctx.fillRect(-100, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.alphabetic.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.alphabetic.html index d97656a1b891..5bbd90f6375d 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.alphabetic.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.alphabetic.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'alphabetic'; ctx.fillText('CC', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.bottom.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.bottom.html index b587f2207047..311be39f4fe8 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.bottom.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.bottom.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'bottom'; ctx.fillText('CC', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.hanging.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.hanging.html index 710345673da8..65aa7cd176e5 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.hanging.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.hanging.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'hanging'; ctx.fillText('CC', 0, 12.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.ideographic.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.ideographic.html index 1cb1743663e0..84f126200a90 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.ideographic.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.ideographic.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'ideographic'; ctx.fillText('CC', 0, 31.25); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.middle.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.middle.html index e446c3e1cc3c..a09a2f3153ce 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.middle.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.middle.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'middle'; ctx.fillText('CC', 0, 25); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.top.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.top.html index 43a7c9ac17e9..b0c72c41eadd 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.top.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.baseline.top.html @@ -34,12 +34,12 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'top'; ctx.fillText('CC', 0, 0); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.end.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.end.html index 904bce1b8349..57de14adc236 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.end.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.end.html @@ -34,8 +34,8 @@ step_timeout(t.step_func_done(function () { ctx.fillStyle = '#0f0'; ctx.textAlign = 'right'; ctx.fillText('EE ', 100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.other.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.other.html index 44d34d10fa38..e593b9769e58 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.other.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.other.html @@ -33,8 +33,8 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E \x09\x0a\x0c\x0d \x09\x0a\x0c\x0dEE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.space.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.space.html index ef5fec9fbab8..6e24007b1c98 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.space.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.space.html @@ -33,8 +33,8 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E EE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.start.html b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.start.html index 2a1b38e77721..5ec776e32408 100644 --- a/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.start.html +++ b/testing/web-platform/tests/html/canvas/element/text-styles/2d.text.draw.space.collapse.start.html @@ -33,8 +33,8 @@ step_timeout(t.step_func_done(function () { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText(' EE', 0, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }), 500); diff --git a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.bitmap.html b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.bitmap.html index 2a9a4b577ac0..459e0d543f43 100644 --- a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.bitmap.html +++ b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.bitmap.html @@ -25,7 +25,7 @@ ctx.save(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.restore(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.clip.html b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.clip.html index 89f59c46f93b..6d1ab02f89d4 100644 --- a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.clip.html +++ b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.clip.html @@ -27,7 +27,7 @@ ctx.clip(); ctx.restore(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.path.html b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.path.html index 90cf62451571..a8023f1448c8 100644 --- a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.path.html +++ b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.path.html @@ -26,7 +26,7 @@ ctx.rect(0, 0, 100, 50); ctx.restore(); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.transformation.html b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.transformation.html index 02e86307037b..6d035ef9ea32 100644 --- a/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.transformation.html +++ b/testing/web-platform/tests/html/canvas/element/the-canvas-state/2d.state.saverestore.transformation.html @@ -26,7 +26,7 @@ ctx.translate(200, 0); ctx.restore(); ctx.fillStyle = '#f00'; ctx.fillRect(-200, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.order.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.order.html index 0aa6c4a33fb3..7fe6dbc133c9 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.order.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.order.html @@ -26,7 +26,7 @@ ctx.scale(2, 1); ctx.rotate(Math.PI / 2); ctx.fillStyle = '#0f0'; ctx.fillRect(0, -50, 50, 50); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.direction.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.direction.html index 4c1b48f7480f..756b5ee6670b 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.direction.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.direction.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.rotate(Math.PI / 2); ctx.fillStyle = '#0f0'; ctx.fillRect(0, -100, 50, 100); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.nonfinite.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.nonfinite.html index c034cfa8f4ed..93839c6427e2 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.nonfinite.html @@ -30,7 +30,7 @@ ctx.rotate(NaN); ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -10, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.radians.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.radians.html index 41835f1fa482..fabf9da24f04 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.radians.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.radians.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.rotate(Math.PI); // should fail obviously if this is 3.1 degrees ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrap.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrap.html index c75426e9b741..05cb3073ee2a 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrap.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrap.html @@ -28,9 +28,9 @@ ctx.rotate(Math.PI * (1 + 4096)); // == pi (mod 2*pi) // be safe enough on reasonable implementations ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,2, 0,255,0,255, "98,2", "0,255,0,255"); -_assertPixel(canvas, 98,47, 0,255,0,255, "98,47", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,2, 0,255,0,255); +_assertPixel(canvas, 98,47, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrapnegative.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrapnegative.html index a94528185c1a..9eae3c5214d4 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrapnegative.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.wrapnegative.html @@ -25,9 +25,9 @@ ctx.fillRect(0, 0, 100, 50); ctx.rotate(-Math.PI * (1 + 4096)); ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,2, 0,255,0,255, "98,2", "0,255,0,255"); -_assertPixel(canvas, 98,47, 0,255,0,255, "98,47", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,2, 0,255,0,255); +_assertPixel(canvas, 98,47, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.zero.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.zero.html index ddbf3e3df0c4..54ad6aa13852 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.zero.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.rotate.zero.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.rotate(0); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.basic.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.basic.html index 83e774915209..0573702bd862 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.basic.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.basic.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.scale(2, 4); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 12.5); -_assertPixel(canvas, 90,40, 0,255,0,255, "90,40", "0,255,0,255"); +_assertPixel(canvas, 90,40, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.large.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.large.html index eefdb842aaea..65fa9ab8da0f 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.large.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.large.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.scale(1e5, 1e5); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 1, 1); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.multiple.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.multiple.html index 44e8d2ece530..5bf837ccd76d 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.multiple.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.multiple.html @@ -26,7 +26,7 @@ ctx.scale(Math.sqrt(2), Math.sqrt(2)); ctx.scale(Math.sqrt(2), Math.sqrt(2)); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 25); -_assertPixel(canvas, 90,40, 0,255,0,255, "90,40", "0,255,0,255"); +_assertPixel(canvas, 90,40, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.negative.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.negative.html index ee3c00c1addd..e7085999a2b8 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.negative.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.negative.html @@ -33,8 +33,8 @@ ctx.scale(1, -1); ctx.fillStyle = '#0f0'; ctx.fillRect(50, -50, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.nonfinite.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.nonfinite.html index 4ee2fd75bc7e..59b154904523 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.nonfinite.html @@ -34,7 +34,7 @@ ctx.scale(Infinity, Infinity); ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -10, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.zero.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.zero.html index e2d952a2099b..4ff7397ae8c4 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.zero.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.scale.zero.html @@ -38,7 +38,7 @@ ctx.restore(); canvas.toDataURL(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.multiple.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.multiple.html index 7e90537113ee..5fa910a5b111 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.multiple.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.multiple.html @@ -27,7 +27,7 @@ ctx.setTransform(); ctx.setTransform(2,0, 0,2, 0,0); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 25); -_assertPixel(canvas, 75,35, 0,255,0,255, "75,35", "0,255,0,255"); +_assertPixel(canvas, 75,35, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.nonfinite.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.nonfinite.html index b30293bff1c8..fea3799a41f7 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.nonfinite.html @@ -102,7 +102,7 @@ ctx.setTransform(0, 0, 0, 0, Infinity, Infinity); ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -10, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.skewed.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.skewed.html index 0381679538a6..e78a07897b57 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.skewed.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.setTransform.skewed.html @@ -40,14 +40,14 @@ ctx.moveTo(pts[0][0], pts[0][1]); for (var i = 0; i < pts.length; ++i) ctx.lineTo(pts[i][0], pts[i][1]); ctx.fill(); -_assertPixel(canvas, 21,11, 0,255,0,255, "21,11", "0,255,0,255"); -_assertPixel(canvas, 79,11, 0,255,0,255, "79,11", "0,255,0,255"); -_assertPixel(canvas, 21,39, 0,255,0,255, "21,39", "0,255,0,255"); -_assertPixel(canvas, 79,39, 0,255,0,255, "79,39", "0,255,0,255"); -_assertPixel(canvas, 39,19, 0,255,0,255, "39,19", "0,255,0,255"); -_assertPixel(canvas, 61,19, 0,255,0,255, "61,19", "0,255,0,255"); -_assertPixel(canvas, 39,31, 0,255,0,255, "39,31", "0,255,0,255"); -_assertPixel(canvas, 61,31, 0,255,0,255, "61,31", "0,255,0,255"); +_assertPixel(canvas, 21,11, 0,255,0,255); +_assertPixel(canvas, 79,11, 0,255,0,255); +_assertPixel(canvas, 21,39, 0,255,0,255); +_assertPixel(canvas, 79,39, 0,255,0,255); +_assertPixel(canvas, 39,19, 0,255,0,255); +_assertPixel(canvas, 61,19, 0,255,0,255); +_assertPixel(canvas, 39,31, 0,255,0,255); +_assertPixel(canvas, 61,31, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.identity.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.identity.html index a33209ee83c1..c9742ac210cc 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.identity.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.identity.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.transform(1,0, 0,1, 0,0); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.multiply.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.multiply.html index 29aa5fb94531..04e5adf4c86a 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.multiply.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.multiply.html @@ -26,7 +26,7 @@ ctx.transform(1,2, 3,4, 5,6); ctx.transform(-2,1, 3/2,-1/2, 1,-2); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.nonfinite.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.nonfinite.html index 6d5f19cf780b..b94da2c38188 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.nonfinite.html @@ -102,7 +102,7 @@ ctx.transform(0, 0, 0, 0, Infinity, Infinity); ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -10, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.skewed.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.skewed.html index a873fe85eecc..35cf997eb0ab 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.skewed.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.transform.skewed.html @@ -40,14 +40,14 @@ ctx.moveTo(pts[0][0], pts[0][1]); for (var i = 0; i < pts.length; ++i) ctx.lineTo(pts[i][0], pts[i][1]); ctx.fill(); -_assertPixel(canvas, 21,11, 0,255,0,255, "21,11", "0,255,0,255"); -_assertPixel(canvas, 79,11, 0,255,0,255, "79,11", "0,255,0,255"); -_assertPixel(canvas, 21,39, 0,255,0,255, "21,39", "0,255,0,255"); -_assertPixel(canvas, 79,39, 0,255,0,255, "79,39", "0,255,0,255"); -_assertPixel(canvas, 39,19, 0,255,0,255, "39,19", "0,255,0,255"); -_assertPixel(canvas, 61,19, 0,255,0,255, "61,19", "0,255,0,255"); -_assertPixel(canvas, 39,31, 0,255,0,255, "39,31", "0,255,0,255"); -_assertPixel(canvas, 61,31, 0,255,0,255, "61,31", "0,255,0,255"); +_assertPixel(canvas, 21,11, 0,255,0,255); +_assertPixel(canvas, 79,11, 0,255,0,255); +_assertPixel(canvas, 21,39, 0,255,0,255); +_assertPixel(canvas, 79,39, 0,255,0,255); +_assertPixel(canvas, 39,19, 0,255,0,255); +_assertPixel(canvas, 61,19, 0,255,0,255); +_assertPixel(canvas, 39,31, 0,255,0,255); +_assertPixel(canvas, 61,31, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.basic.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.basic.html index 0a506ad745ca..967d2d276144 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.basic.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.basic.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.translate(100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -50, 100, 50); -_assertPixel(canvas, 90,40, 0,255,0,255, "90,40", "0,255,0,255"); +_assertPixel(canvas, 90,40, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.nonfinite.html b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.nonfinite.html index 898aad99d086..83a8ebf7ba8c 100644 --- a/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/element/transformations/2d.transformation.translate.nonfinite.html @@ -34,7 +34,7 @@ ctx.translate(Infinity, Infinity); ctx.fillStyle = '#0f0'; ctx.fillRect(-100, -10, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.html index bab39234ad71..a89736b57938 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.worker.js index ecf7afd3e031..a8fbc74c1c31 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.copy.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.html index feb3080ba80b..dc53e8b5f020 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5); + _assertPixelApprox(canvas, 50,25, 128,255,128,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.worker.js index f6c64225739a..fcb944543c01 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-atop.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5); + _assertPixelApprox(canvas, 50,25, 128,255,128,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.html index b35792195639..73140e11df14 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.worker.js index d150bffbfbd6..e5d7f0b039ff 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-in.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.html index 401a9e0dc514..5f89aa29f7f4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,32, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.worker.js index cbdcfde403c2..a4436be0d2f4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-out.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,32, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.html index 079f74e5ebb4..d18f9dc86411 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5); + _assertPixelApprox(canvas, 50,25, 109,255,146,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.worker.js index 3ae7bdb85bbc..967e47b34d20 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.destination-over.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5); + _assertPixelApprox(canvas, 50,25, 109,255,146,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.html index 0a3862abe668..9de44add6834 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5); + _assertPixelApprox(canvas, 50,25, 191,255,128,255, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.worker.js index 2c217ceca2e6..849d4a6a6f80 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.lighter.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5); + _assertPixelApprox(canvas, 50,25, 191,255,128,255, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.html index 092e191aeb0b..cf9d5cfcbe1c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.worker.js index 2664155c3d7f..7601db1f5aa0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-atop.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.html index ee053857a948..30864d65a33b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.worker.js index 4c9731d8a740..5b21b35564a7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-in.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.html index 95b77f5bb675..d698540260fd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.worker.js index 0d2da83f516a..cf5b0a9ac470 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-out.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.html index cb93a986f463..e1e86c7979f8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5); + _assertPixelApprox(canvas, 50,25, 219,255,36,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.worker.js index 85ff012081e8..d61ebd1e56a7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.source-over.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5); + _assertPixelApprox(canvas, 50,25, 219,255,36,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.html index d9e57fc8c4f2..c2d1f5264545 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.html @@ -39,7 +39,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.worker.js index eedd05d5db3e..1b2286a87ac4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.canvas.xor.worker.js @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.drawImage(offscreenCanvas2, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.html index 0023597610e4..5d6afc11cf68 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.worker.js index 6803969762ff..3158893fc5bb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.copy.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.html index e72e962ee111..93d4d70adb76 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.worker.js index 67bea9fa6962..78b5368194d9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-atop.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.html index d808d13d1c08..d2520378e471 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.worker.js index 7576ba59cf1e..bc1202610386 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-in.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.html index 292c7b0cc00c..fdb1792b538a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.worker.js index 2d2b58ef007c..ebe3a70d0358 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-out.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.html index 61a508e52c32..ae4cb499bca9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.worker.js index 79dc3f7d50a0..fb8778f0e15e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.destination-over.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.html index 1e8c3477624a..1f705f264553 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.worker.js index 267030c8ce00..f6bf4c4aff49 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.lighter.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.html index 1d2396866908..eb5474702c7b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.worker.js index 8b869b19b3bc..fec34e1bc62c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-atop.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.html index 43f9304ba544..cdc814fa75f9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.worker.js index a8d2e587af90..b9a67cef2e85 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-in.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.html index b4872e5e76ee..9df047f77f91 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.worker.js index 42dcb8e5c980..9d2524064a74 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-out.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.html index 1da6f53b80f7..522f4f996bad 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.worker.js index aac34989159b..6d401c46b05c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.source-over.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.html index ce92ac6115cf..dc1170db37a5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.html @@ -28,8 +28,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.worker.js index 38a33a352798..1d89becc27ba 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.clip.xor.worker.js @@ -24,8 +24,8 @@ ctx.rect(-20, -20, 10, 10); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.html index 612731bae947..cd05d7b57b1f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.html @@ -28,7 +28,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.worker.js index 5089f8cfea25..fe644f2ca3e5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvas.worker.js @@ -24,7 +24,7 @@ ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.html index f76e9d5afb81..52a431cfaa1d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.html @@ -29,7 +29,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy' ctx.globalAlpha = 0.51; ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,130, "50,25", "0,255,0,130", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,130, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.worker.js index 87d741b4ad5a..e0ef84a78b46 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvascopy.worker.js @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy' ctx.globalAlpha = 0.51; ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,130, "50,25", "0,255,0,130", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,130, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.html index 13af53a6d41b..24d7a0fc3cdd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.html @@ -29,7 +29,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = ctx.createPattern(offscreenCanvas2, 'no-repeat'); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.worker.js index 0bb2b58327a4..2fb494d054a4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.canvaspattern.worker.js @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = ctx.createPattern(offscreenCanvas2, 'no-repeat'); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.html index 62a74820199b..e349b92376ba 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.worker.js index e70a53821a4f..f354773bf467 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.fill.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); +_assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.html index 97be17ca7011..29a963a7c6f5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.html @@ -35,7 +35,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); + _assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.worker.js index 49705cdab4e0..010fbd8bfa9d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.image.worker.js @@ -31,7 +31,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); + _assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.html index 67847cdb08b2..7eacf16c4fce 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.html @@ -36,7 +36,7 @@ promise.then(function(response) { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillRect(0, 0, 100, 50); - _assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); + _assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.worker.js index b855604fb49f..5607972635ea 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.globalAlpha.imagepattern.worker.js @@ -32,7 +32,7 @@ promise.then(function(response) { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations ctx.fillRect(0, 0, 100, 50); - _assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2); + _assertPixelApprox(canvas, 50,25, 2,253,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.html index b6ee1ffb0e01..1aa9c98e9d3a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.worker.js index 82f3cdbcd810..ba3399a2b11f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.copy.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.html index 91b1922ee53c..76547a1f86a3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5); + _assertPixelApprox(canvas, 50,25, 128,255,128,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.worker.js index b69c55882c31..677b882b0113 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-atop.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5); + _assertPixelApprox(canvas, 50,25, 128,255,128,191, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.html index ec6b1b0b7d1a..8fa578696165 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.worker.js index 58d40492a046..aa8c1ac06d5c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-in.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.html index e383b18b2d7b..3a4da68c2cb2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,32, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.worker.js index 95936bdc4b71..94ac27a00d42 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-out.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5); + _assertPixelApprox(canvas, 50,25, 0,255,255,32, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.html index f96cfb70803a..c6da28db6a7c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5); + _assertPixelApprox(canvas, 50,25, 109,255,146,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.worker.js index 65dc9a744512..3bc357dce877 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.destination-over.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5); + _assertPixelApprox(canvas, 50,25, 109,255,146,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.html index f0db5b43f64c..db89e5a3e8e0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5); + _assertPixelApprox(canvas, 50,25, 191,255,128,255, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.worker.js index cca47e902daa..922b5f463529 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.lighter.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5); + _assertPixelApprox(canvas, 50,25, 191,255,128,255, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.html index 1547e108c798..44dd6f4274dd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.worker.js index 434eeb7f991b..1b3299385881 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-atop.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.html index 6529b9042582..64c28c0c2111 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.worker.js index 869a6b94c4d4..3048f849a9c8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-in.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.html index fde8083be401..46d3e483ee71 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.worker.js index 379347628379..090bbe7d2269 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-out.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5); + _assertPixelApprox(canvas, 50,25, 255,255,0,96, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.html index 67c08390bdbf..1d13b7724836 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5); + _assertPixelApprox(canvas, 50,25, 219,255,36,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.worker.js index e337f4d7b0ef..7937e5be6946 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.source-over.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5); + _assertPixelApprox(canvas, 50,25, 219,255,36,223, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.html index 800a615510ad..73253fabcaa4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.worker.js index 0793948b38f6..7a22f7d39f20 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.image.xor.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5); + _assertPixelApprox(canvas, 50,25, 191,255,64,128, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.html index b9e34001b426..aaad0b418fff 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.worker.js index 2baab2847b60..63cc6c1e90de 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.copy.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.html index 6fae26d9804a..be4cf393a1be 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.worker.js index e9cc3f9a9da5..a09827ca88b0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-atop.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.html index 72b51c6cb3eb..e5ea33b5b0bb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.worker.js index d4b55604e0bb..b06ad632668f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-in.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.html index 7fe711decbde..49efe240d089 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.worker.js index de9811ecb3e3..3b0232e2555b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-out.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.html index 1d7e0fb08e0a..c1d7965cad1a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.worker.js index 60464d2c242a..99d64be57830 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.destination-over.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 0,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.html index 5bb9593cb9d2..2877e14ad9c1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.worker.js index 23a34fcc01ac..011a19934ee1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.lighter.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,255,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.html index 5360ac58f4fa..9f972edabc99 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.worker.js index 79ce54ef2cfa..2dc6ec9b2e81 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-atop.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.html index 80ecf3aba1c0..c674bbde91bb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.worker.js index 1cfedc986176..5b833ec156aa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-in.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.html index 8bab40a14d65..0fa403bb75cb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.worker.js index 7a64d43b7809..0486939935fb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-out.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.html index 6a77533886be..4392e60c9e5e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.worker.js index db6f5c3ca6a9..ce8190ec0f91 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.source-over.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5); +_assertPixelApprox(canvas, 50,25, 255,255,0,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.html index 12a5ab864ab8..a9eb83e6a9d6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.worker.js index 3da6e4dca5a1..8b7edec945fc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.solid.xor.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.fillStyle = 'rgba(255, 255, 0, 1.0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.html index 1f15d77ac943..20c107bd774a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,191, "50,25", "0,0,255,191", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,191, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.worker.js index 0c954b08ccc0..7fb646acd50a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.copy.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,191, "50,25", "0,0,255,191", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,191, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.html index b6f5e88425fe..2bc5466d2785 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,128,128,191, "50,25", "0,128,128,191", 5); +_assertPixelApprox(canvas, 50,25, 0,128,128,191, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.worker.js index d2909e4e0085..f433bedf7c91 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-atop.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,128,128,191, "50,25", "0,128,128,191", 5); +_assertPixelApprox(canvas, 50,25, 0,128,128,191, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.html index 4ba2c25de9ce..1d1121812df0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,96, "50,25", "0,255,0,96", 5); +_assertPixelApprox(canvas, 50,25, 0,255,0,96, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.worker.js index a62b40e1140c..a4c159aeef81 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-in.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,96, "50,25", "0,255,0,96", 5); +_assertPixelApprox(canvas, 50,25, 0,255,0,96, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.html index e5dcfed81089..17b3fecd0280 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,32, "50,25", "0,255,0,32", 5); +_assertPixelApprox(canvas, 50,25, 0,255,0,32, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.worker.js index 49f968da4217..cf6827fc51f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-out.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,32, "50,25", "0,255,0,32", 5); +_assertPixelApprox(canvas, 50,25, 0,255,0,32, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.html index 0b81d543a786..04c267a81702 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,146,109,223, "50,25", "0,146,109,223", 5); +_assertPixelApprox(canvas, 50,25, 0,146,109,223, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.worker.js index 3ef1433d106a..98a4b5b59ed7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.destination-over.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-over'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,146,109,223, "50,25", "0,146,109,223", 5); +_assertPixelApprox(canvas, 50,25, 0,146,109,223, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.html index b74c593dc271..86d06f2485df 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,128,191,255, "50,25", "0,128,191,255", 5); +_assertPixelApprox(canvas, 50,25, 0,128,191,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.worker.js index 239ad6573931..f9b419ace745 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.lighter.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'lighter'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,128,191,255, "50,25", "0,128,191,255", 5); +_assertPixelApprox(canvas, 50,25, 0,128,191,255, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.html index ba61962a1fa6..f4e79c0c2407 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5); +_assertPixelApprox(canvas, 50,25, 0,64,191,128, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.worker.js index 517942b93569..db65db836660 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-atop.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5); +_assertPixelApprox(canvas, 50,25, 0,64,191,128, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.html index 501d5975626e..56b4e7704d5d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,96, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.worker.js index 7e3964a18ebc..32765c4c03e1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-in.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,96, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.html index 09e2f3f65550..cca28c5ebcff 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,96, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.worker.js index f0660fe10730..3cf507bf8456 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-out.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5); +_assertPixelApprox(canvas, 50,25, 0,0,255,96, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.html index 291355d1f89c..a8ae30131d01 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,36,219,223, "50,25", "0,36,219,223", 5); +_assertPixelApprox(canvas, 50,25, 0,36,219,223, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.worker.js index 126e80741e44..35545c04d4eb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.source-over.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-over'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,36,219,223, "50,25", "0,36,219,223", 5); +_assertPixelApprox(canvas, 50,25, 0,36,219,223, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.html index b9100d636bb6..638bae02ecec 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5); +_assertPixelApprox(canvas, 50,25, 0,64,191,128, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.worker.js index d97d3a984138..b21d30d900c4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.transparent.xor.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'xor'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5); +_assertPixelApprox(canvas, 50,25, 0,64,191,128, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.html index ea7f416feeb2..f10275f40751 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.html @@ -27,7 +27,7 @@ ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.js index 6d8b4c22ec05..3b86c720f5fc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.worker.js @@ -23,7 +23,7 @@ ctx.globalCompositeOperation = 'copy'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.html index 37d3ffbda616..8672e9e19f4b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.html @@ -27,7 +27,7 @@ ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.js index 9312298b965c..69610fc1072c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-atop.worker.js @@ -23,7 +23,7 @@ ctx.globalCompositeOperation = 'destination-atop'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.html index 690a03fcb86a..0f069372ad14 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.html @@ -28,7 +28,7 @@ ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.js index 5e7b3b3d08d2..26b287134b13 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.destination-in.worker.js @@ -24,7 +24,7 @@ ctx.globalCompositeOperation = 'destination-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.html index 704221440f12..6e1ecdd719fd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.html @@ -27,7 +27,7 @@ ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.js index 79153081190a..6da98654cfc0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-in.worker.js @@ -23,7 +23,7 @@ ctx.globalCompositeOperation = 'source-in'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.html index d9f63657e58f..de16897f8c4e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.html @@ -27,7 +27,7 @@ ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.js index f77835ae27dc..515b587b58b2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.source-out.worker.js @@ -23,7 +23,7 @@ ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.translate(0, 25); ctx.fillRect(0, 50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.html index 30d9022cfa5e..5f3c9a191431 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.html @@ -36,8 +36,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.js index bd07d4d3713b..2faecdf0dd97 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.copy.worker.js @@ -32,8 +32,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.html index a44416863e09..3605e4469832 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.html @@ -36,8 +36,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.js index d12ca85fa3b5..8b361e066d9d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-atop.worker.js @@ -32,8 +32,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.html index 9257ff9fb52e..c48ee8e16e38 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.html @@ -36,8 +36,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.js index eb119651eeeb..b270efc7aa43 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.destination-in.worker.js @@ -32,8 +32,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.html index 954f9be2f61a..af4c3b7daaad 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.html @@ -36,8 +36,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.js index b5344ee1bd7d..5fe00cf14b02 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.worker.js @@ -32,8 +32,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.html index 7c9060caed75..4f1c3869b0d3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.html @@ -36,8 +36,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.js index 06fdd5a1a418..f93185bc66c3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-out.worker.js @@ -32,8 +32,8 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); - _assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 15,15, 0,0,0,0, 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.html index 81e72a0c762c..57c499d81cc9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.worker.js index 85b5e3bef308..bf6bdfe94310 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.copy.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'copy'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.html index 1083a875ba53..73684800ca58 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.worker.js index 3b26653a5605..3574add7d801 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-atop.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.html index ceac0e58d22e..b41c4b749c7f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.worker.js index ed739a8eb250..979a0849e81c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-in'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.html index d114ee2d1318..99aeefbb6af5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.worker.js index 77d2e442f6e6..55596f859de0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-in.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.html index d8ec902f058f..0dfd4ae0d0b5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.html @@ -26,7 +26,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.worker.js index 1696690cd90f..f0820e03fe01 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.source-out.worker.js @@ -22,7 +22,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; var offscreenCanvas2 = new OffscreenCanvas(100, 50); ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); +_assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.html index db3ca44053e6..244cc82f5567 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.html @@ -37,7 +37,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.js index 209e56b48418..3aeddac219e3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.copy.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.html index 76153815a423..3624f1baa911 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.html @@ -37,7 +37,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.js index 774fbc093f76..86aaf9fb52af 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-atop.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.html index 9951cefd76e4..21990f1ae0fc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.html @@ -37,7 +37,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.js index 2eafc21ba3b6..184efcd71e3f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.destination-in.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.html index e6117e2215dc..f95da543c913 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.html @@ -37,7 +37,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.js index 90394a19d12c..61c798b7aae6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-in.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.html b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.html index a0856adad63e..4eb6ba519f70 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.html +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.html @@ -37,7 +37,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.js b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.js index 515411d7d7c8..5827c7a1d7f6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/compositing/2d.composite.uncovered.pattern.source-out.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.fillStyle = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillRect(0, 50, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); + _assertPixelApprox(canvas, 50,25, 0,0,0,0, 5); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.html index 15d7b73a7319..8e144b1ba6b8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.html @@ -48,10 +48,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 100, 0); ctx.drawImage(bitmap1, 0, -50); ctx.drawImage(bitmap1, 0, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.worker.js index 875e618d1899..22cb3653e41f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.3arg.worker.js @@ -44,10 +44,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 100, 0); ctx.drawImage(bitmap1, 0, -50); ctx.drawImage(bitmap1, 0, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.html index 046e38f217b8..c383d1a41729 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.html @@ -49,10 +49,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 0, 0, 50, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.worker.js index d5dad453a931..3906a5a00b37 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.5arg.worker.js @@ -45,10 +45,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 0, 0, 50, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html index c1b927dfaf73..72ffb4ee3b69 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.html @@ -35,10 +35,10 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0, 100, 50, 0, 0, 100, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.worker.js index c392330cce91..244bc90fe7fe 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.basic.worker.js @@ -31,10 +31,10 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0, 100, 50, 0, 0, 100, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html index 4c0dc527c99c..ddfa0cbf7cd1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.html @@ -50,10 +50,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 0, 0, 100, 50, 100, 0, 100, 50); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, -50, 100, 50); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, 50, 100, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.worker.js index 292b11344503..81fdae81df62 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destpos.worker.js @@ -46,10 +46,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 0, 0, 100, 50, 100, 0, 100, 50); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, -50, 100, 50); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, 50, 100, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html index 96d7666b989b..d94daa861e00 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.html @@ -50,10 +50,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 0, 0, 100, 50, 100, 0, 50, 50); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, -25, 100, 25); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, 50, 100, 25); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.worker.js index 32a87f914cd4..60fea26afe3d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.destsize.worker.js @@ -46,10 +46,10 @@ Promise.all([promise1, promise2]).then(function(response1, response2) { ctx.drawImage(bitmap1, 0, 0, 100, 50, 100, 0, 50, 50); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, -25, 100, 25); ctx.drawImage(bitmap1, 0, 0, 100, 50, 0, 50, 100, 25); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html index 53f9dcf28269..ffd60f5da941 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.html @@ -35,10 +35,10 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 140, 20, 100, 50, 0, 0, 100, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.worker.js index 79604b11a67b..1522353ad6ee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcepos.worker.js @@ -31,10 +31,10 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 140, 20, 100, 50, 0, 0, 100, 50); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html index 1ba1c4571fd5..91962b671b14 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.html @@ -38,14 +38,14 @@ promise.then(function(response) { ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 51, 26); ctx.fillRect(49, 24, 51, 26); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255", 2); - _assertPixelApprox(canvas, 80,20, 0,255,0,255, "80,20", "0,255,0,255", 2); - _assertPixelApprox(canvas, 20,30, 0,255,0,255, "20,30", "0,255,0,255", 2); - _assertPixelApprox(canvas, 80,30, 0,255,0,255, "80,30", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 20,20, 0,255,0,255, 2); + _assertPixelApprox(canvas, 80,20, 0,255,0,255, 2); + _assertPixelApprox(canvas, 20,30, 0,255,0,255, 2); + _assertPixelApprox(canvas, 80,30, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.worker.js index b1667d68cba2..6658e2175054 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.9arg.sourcesize.worker.js @@ -34,14 +34,14 @@ promise.then(function(response) { ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 51, 26); ctx.fillRect(49, 24, 51, 26); - _assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); - _assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); - _assertPixelApprox(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255", 2); - _assertPixelApprox(canvas, 80,20, 0,255,0,255, "80,20", "0,255,0,255", 2); - _assertPixelApprox(canvas, 20,30, 0,255,0,255, "20,30", "0,255,0,255", 2); - _assertPixelApprox(canvas, 80,30, 0,255,0,255, "80,30", "0,255,0,255", 2); + _assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); + _assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); + _assertPixelApprox(canvas, 20,20, 0,255,0,255, 2); + _assertPixelApprox(canvas, 80,20, 0,255,0,255, 2); + _assertPixelApprox(canvas, 20,30, 0,255,0,255, 2); + _assertPixelApprox(canvas, 80,30, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.html index 7382452ec325..505c3fde5d11 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.worker.js index 59f48f8c2d54..92cb23fe14d0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.alpha.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html index ee4e17ec1e8d..59d79fd7174d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html @@ -33,7 +33,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.worker.js index ba77be0a8d45..94ca08a075b3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.animated.poster.worker.js @@ -29,7 +29,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.html index ee3f758bb965..3324bebcbf94 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.html @@ -35,7 +35,7 @@ promise.then(function(response) { ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.worker.js index f43f7eef171d..d3f1b7e4a116 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.broken.worker.js @@ -31,7 +31,7 @@ promise.then(function(response) { ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.html index 99251b5a2084..9b128710866e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.html @@ -27,10 +27,10 @@ ctx2.fillStyle = '#0f0'; ctx2.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.worker.js index fb979816999f..da01a86ba059 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.canvas.worker.js @@ -23,10 +23,10 @@ ctx2.fillStyle = '#0f0'; ctx2.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.drawImage(offscreenCanvas2, 0, 0); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.html index 2d7b97a93f82..fa3185215851 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.html @@ -37,7 +37,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.worker.js index d6fa618f77e5..d30a05fa9dbc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.worker.js @@ -33,7 +33,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.html index 9d721a50d557..de4ea40d7d71 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.worker.js index 6a8962b195bb..0c4a7fe10a84 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.composite.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.html index a4a82615fa90..5f7297378274 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.html @@ -33,7 +33,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 10.1, 10.1, 0.1, 0.1, 0, 0, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.worker.js index b2e911224418..7b16cbb4f5f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.floatsource.worker.js @@ -29,7 +29,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 10.1, 10.1, 0.1, 0.1, 0, 0, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.html index a70da77feec0..5851fcfb03c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.html @@ -36,16 +36,16 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 100, 78, 50, 50, 0, 50, 50, -50); ctx.drawImage(bitmap, 100, 128, 50, -50, 100, 50, -50, -50); - _assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.worker.js index 567a126f93a7..5ca4d14ef635 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedest.worker.js @@ -32,16 +32,16 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 100, 78, 50, 50, 0, 50, 50, -50); ctx.drawImage(bitmap, 100, 128, 50, -50, 100, 50, -50, -50); - _assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.html index caf5ebaa3960..f9d820733d0e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.html @@ -36,16 +36,16 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 178, 50, -100, 0, 0, 50, 100); ctx.drawImage(bitmap, 0, 78, 50, 100, 50, 100, 50, -100); - _assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.worker.js index a52ef8269fd6..2a6cc81058d3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativedir.worker.js @@ -32,16 +32,16 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 178, 50, -100, 0, 0, 50, 100); ctx.drawImage(bitmap, 0, 78, 50, 100, 50, 100, 50, -100); - _assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.html index 3c9dffe3993f..9c2a2a1b1032 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.html @@ -36,16 +36,16 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 100, 78, -100, 50, 0, 0, 50, 50); ctx.drawImage(bitmap, 100, 128, -100, -50, 50, 0, 50, 50); - _assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.worker.js index de832f4ac7a9..ada79f9137d8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.negativesource.worker.js @@ -32,16 +32,16 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 100, 78, -100, 50, 0, 0, 50, 50); ctx.drawImage(bitmap, 100, 128, -100, -50, 50, 0, 50, 50); - _assertPixelApprox(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,1, 0,255,0,255, "51,1", "0,255,0,255", 2); - _assertPixelApprox(canvas, 51,48, 0,255,0,255, "51,48", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 1,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 1,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 98,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 48,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,1, 0,255,0,255, 2); + _assertPixelApprox(canvas, 51,48, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html index a1911392020a..54f8d9526933 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.html @@ -335,7 +335,7 @@ ctx.drawImage(bitmap, 0, 0, 100, 50, 0, Infinity, Infinity, 50); ctx.drawImage(bitmap, 0, 0, 100, 50, 0, Infinity, Infinity, Infinity); ctx.drawImage(bitmap, 0, 0, 100, 50, 0, Infinity, 100, Infinity); ctx.drawImage(bitmap, 0, 0, 100, 50, 0, 0, Infinity, Infinity); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.worker.js index f7484b6577b6..a2e77832a20d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nonfinite.worker.js @@ -331,7 +331,7 @@ ctx.drawImage(bitmap, 0, 0, 100, 50, 0, Infinity, Infinity, 50); ctx.drawImage(bitmap, 0, 0, 100, 50, 0, Infinity, Infinity, Infinity); ctx.drawImage(bitmap, 0, 0, 100, 50, 0, Infinity, 100, Infinity); ctx.drawImage(bitmap, 0, 0, 100, 50, 0, 0, Infinity, Infinity); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.html index aeeaff6ddaa0..6ec22c45d616 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.html @@ -35,9 +35,9 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, -1950, 0, 2000, 50); - _assertPixelApprox(canvas, 45,25, 0,255,0,255, "45,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 55,25, 0,255,0,255, "55,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 45,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 55,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.worker.js index 6fc94276ac52..ab3a9367dd31 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.nowrap.worker.js @@ -31,9 +31,9 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, -1950, 0, 2000, 50); - _assertPixelApprox(canvas, 45,25, 0,255,0,255, "45,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 55,25, 0,255,0,255, "55,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 45,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 55,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.html index df3af5bf663b..b6bad65df59f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.html @@ -36,7 +36,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); ctx.fill(); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.worker.js index 3f477c0594ce..552129097787 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.path.worker.js @@ -32,7 +32,7 @@ promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); ctx.fill(); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.html index eae0558d61f5..38857453a442 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.html @@ -26,10 +26,10 @@ ctx.fillStyle = '#f00'; ctx.fillRect(50, 0, 50, 50); ctx.drawImage(canvas, 50, 0); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.worker.js index 1f31233a4346..01d47cb334e7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.1.worker.js @@ -22,10 +22,10 @@ ctx.fillStyle = '#f00'; ctx.fillRect(50, 0, 50, 50); ctx.drawImage(canvas, 50, 0); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.html index 5c58f34c15e6..74d383f7e38b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.html @@ -28,10 +28,10 @@ ctx.drawImage(canvas, 0, 1); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 2); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.worker.js index c7c4437f188c..61a02c87a673 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.self.2.worker.js @@ -24,10 +24,10 @@ ctx.drawImage(canvas, 0, 1); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 2); -_assertPixelApprox(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255", 2); -_assertPixelApprox(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255", 2); -_assertPixelApprox(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255", 2); +_assertPixelApprox(canvas, 0,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,0, 0,255,0,255, 2); +_assertPixelApprox(canvas, 0,49, 0,255,0,255, 2); +_assertPixelApprox(canvas, 99,49, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.html index 6f568d7d092b..d275bf956758 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.html @@ -33,7 +33,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.worker.js index 7c2c0933060a..2d832be3636f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.svg.worker.js @@ -29,7 +29,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.html index 25f120269d26..741c5efb9fac 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.worker.js index 8fa51fb23e72..2fc0caf1c315 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.transform.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.html index 77d05e8c8456..cc610399dbbb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.html @@ -37,7 +37,7 @@ promise.then(function(response) { ctx.drawImage(bitmap, 10, 10, 0, 1, 0, 0, 100, 50); ctx.drawImage(bitmap, 10, 10, 1, 0, 0, 0, 100, 50); ctx.drawImage(bitmap, 10, 10, 0, 0, 0, 0, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html index 50c49d97842b..d79f821d4402 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html @@ -37,7 +37,7 @@ promise.then(function(response) { ctx.drawImage(bitmap, 0, 0, 100, 50); ctx.drawImage(bitmap, 0, 0, 100, 50); ctx.drawImage(bitmap, 0, 0, 100, 50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.worker.js index 57985f2ec4a9..1465d6c1bc27 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { ctx.drawImage(bitmap, 0, 0, 100, 50); ctx.drawImage(bitmap, 0, 0, 100, 50); ctx.drawImage(bitmap, 0, 0, 100, 50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.worker.js index 1c0c2b15332b..654e9bdd744e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { ctx.drawImage(bitmap, 10, 10, 0, 1, 0, 0, 100, 50); ctx.drawImage(bitmap, 10, 10, 1, 0, 0, 0, 100, 50); ctx.drawImage(bitmap, 10, 10, 0, 0, 0, 0, 100, 50); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html index 7a931c37486a..846b264ee8c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.html @@ -23,7 +23,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.worker.js index 2a7a70e7dc75..5908ecca85bf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.basic.worker.js @@ -19,7 +19,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html index 6f70f0e85471..eb3de8b591f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.html @@ -28,7 +28,7 @@ ctx.clip(); ctx.clearRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.worker.js index ac9d849988bf..7fb5791cc9a1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.clip.worker.js @@ -24,7 +24,7 @@ ctx.clip(); ctx.clearRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html index 3f89f69f55cd..c1a3463d313c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.html @@ -24,7 +24,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.1; ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.worker.js index b0d766a9648c..885e389ba52a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalalpha.worker.js @@ -20,7 +20,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.globalAlpha = 0.1; ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html index 828ea03fc266..a77f67a4ba4c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.html @@ -24,7 +24,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.worker.js index 6f31696027a5..a31962f73e00 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.globalcomposite.worker.js @@ -20,7 +20,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'destination-atop'; ctx.clearRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html index 3c1afcb572cc..158294ab3eac 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.html @@ -26,10 +26,10 @@ ctx.clearRect(0, 0, 50, 25); ctx.clearRect(100, 0, -50, 25); ctx.clearRect(0, 50, 50, -25); ctx.clearRect(100, 50, -50, -25); -_assertPixel(canvas, 25,12, 0,0,0,0, "25,12", "0,0,0,0"); -_assertPixel(canvas, 75,12, 0,0,0,0, "75,12", "0,0,0,0"); -_assertPixel(canvas, 25,37, 0,0,0,0, "25,37", "0,0,0,0"); -_assertPixel(canvas, 75,37, 0,0,0,0, "75,37", "0,0,0,0"); +_assertPixel(canvas, 25,12, 0,0,0,0); +_assertPixel(canvas, 75,12, 0,0,0,0); +_assertPixel(canvas, 25,37, 0,0,0,0); +_assertPixel(canvas, 75,37, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.worker.js index e07e6360952d..c7390550b8ae 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.negative.worker.js @@ -22,10 +22,10 @@ ctx.clearRect(0, 0, 50, 25); ctx.clearRect(100, 0, -50, 25); ctx.clearRect(0, 50, 50, -25); ctx.clearRect(100, 50, -50, -25); -_assertPixel(canvas, 25,12, 0,0,0,0, "25,12", "0,0,0,0"); -_assertPixel(canvas, 75,12, 0,0,0,0, "75,12", "0,0,0,0"); -_assertPixel(canvas, 25,37, 0,0,0,0, "25,37", "0,0,0,0"); -_assertPixel(canvas, 75,37, 0,0,0,0, "75,37", "0,0,0,0"); +_assertPixel(canvas, 25,12, 0,0,0,0); +_assertPixel(canvas, 75,12, 0,0,0,0); +_assertPixel(canvas, 25,37, 0,0,0,0); +_assertPixel(canvas, 75,37, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html index dc11a5a9e3cf..4d3037b26ba1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.html @@ -45,7 +45,7 @@ ctx.clearRect(0, Infinity, Infinity, 50); ctx.clearRect(0, Infinity, Infinity, Infinity); ctx.clearRect(0, Infinity, 100, Infinity); ctx.clearRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.worker.js index 0e24270901c1..e4dc952200de 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.nonfinite.worker.js @@ -41,7 +41,7 @@ ctx.clearRect(0, Infinity, Infinity, 50); ctx.clearRect(0, Infinity, Infinity, Infinity); ctx.clearRect(0, Infinity, 100, Infinity); ctx.clearRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.html index 435d6906cf7f..ab813b1e9b83 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.html @@ -25,7 +25,7 @@ ctx.beginPath(); ctx.rect(0, 0, 100, 50); ctx.clearRect(0, 0, 16, 16); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.worker.js index ab6f498bd084..eee973df5a34 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.path.worker.js @@ -21,7 +21,7 @@ ctx.beginPath(); ctx.rect(0, 0, 100, 50); ctx.clearRect(0, 0, 16, 16); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html index d543d73240c3..050591d62031 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.html @@ -27,7 +27,7 @@ ctx.shadowBlur = 0; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 50; ctx.clearRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.worker.js index 02740b85d00c..74ac17c1d2fa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.shadow.worker.js @@ -23,7 +23,7 @@ ctx.shadowBlur = 0; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 50; ctx.clearRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html index d861e75788f3..cca3c4d32bd7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.scale(10, 10); ctx.translate(0, 5); ctx.clearRect(0, -5, 10, 5); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.worker.js index bfbaa92fb02c..8b76d4e0ae9d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.transform.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.scale(10, 10); ctx.translate(0, 5); ctx.clearRect(0, -5, 10, 5); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html index a418fe62b5c3..69bbb5ecc7ba 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.clearRect(0, 0, 100, 0); ctx.clearRect(0, 0, 0, 50); ctx.clearRect(0, 0, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.worker.js index de87699bb4d7..24c1c4253f8e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.clearRect.zero.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.clearRect(0, 0, 100, 0); ctx.clearRect(0, 0, 0, 50); ctx.clearRect(0, 0, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html index f39d9ddb9d4c..bad032bb7c71 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.html @@ -22,7 +22,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.worker.js index 7d07bbd00e89..3a42a2a13b1b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.basic.worker.js @@ -18,7 +18,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html index d39bbc96e85c..7043c2355bcc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.html @@ -29,7 +29,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.worker.js index 0edab03b0ebd..926821ac96dc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.clip.worker.js @@ -25,7 +25,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html index 1802e96ff3e2..880e5700bd3d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.html @@ -27,10 +27,10 @@ ctx.fillRect(0, 0, 50, 25); ctx.fillRect(100, 0, -50, 25); ctx.fillRect(0, 50, 50, -25); ctx.fillRect(100, 50, -50, -25); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.worker.js index 9acaeb4941d7..b868dec9ff66 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.negative.worker.js @@ -23,10 +23,10 @@ ctx.fillRect(0, 0, 50, 25); ctx.fillRect(100, 0, -50, 25); ctx.fillRect(0, 50, 50, -25); ctx.fillRect(100, 50, -50, -25); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html index 70f91e1d2ba0..0d545e9f3fa4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.html @@ -46,7 +46,7 @@ ctx.fillRect(0, Infinity, Infinity, 50); ctx.fillRect(0, Infinity, Infinity, Infinity); ctx.fillRect(0, Infinity, 100, Infinity); ctx.fillRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.worker.js index dc429214a129..418250e4bf99 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.nonfinite.worker.js @@ -42,7 +42,7 @@ ctx.fillRect(0, Infinity, Infinity, 50); ctx.fillRect(0, Infinity, Infinity, Infinity); ctx.fillRect(0, Infinity, 100, Infinity); ctx.fillRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.html index 8fa577e680cc..13974b7e2ab8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.html @@ -26,7 +26,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 16, 16); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.worker.js index d8a5e00ad844..0200fc568eea 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.path.worker.js @@ -22,7 +22,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 16, 16); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html index 71c677d092a1..f3b015f25a79 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.html @@ -27,7 +27,7 @@ ctx.shadowBlur = 0; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.worker.js index 3da576dfd64a..dea83df9aaea 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.shadow.worker.js @@ -23,7 +23,7 @@ ctx.shadowBlur = 0; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html index 858beb448998..081ac763bdf7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.html @@ -24,7 +24,7 @@ ctx.scale(10, 10); ctx.translate(0, 5); ctx.fillStyle = '#0f0'; ctx.fillRect(0, -5, 10, 5); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.worker.js index 4aed159862ab..8d0cb83c1bfd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.transform.worker.js @@ -20,7 +20,7 @@ ctx.scale(10, 10); ctx.translate(0, 5); ctx.fillStyle = '#0f0'; ctx.fillRect(0, -5, 10, 5); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html index f5d1f1dacb85..3f015475d539 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.html @@ -26,7 +26,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 0); ctx.fillRect(0, 0, 0, 50); ctx.fillRect(0, 0, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.worker.js index a034c0caa2d6..48ee67ae7482 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.fillRect.zero.worker.js @@ -22,7 +22,7 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 0); ctx.fillRect(0, 0, 0, 50); ctx.fillRect(0, 0, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html index 489754a0fb15..caee5d67354d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.html @@ -23,7 +23,7 @@ var ctx = canvas.getContext('2d'); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.worker.js index 39d8ac705465..304fc5ba843b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.basic.worker.js @@ -19,7 +19,7 @@ var ctx = canvas.getContext('2d'); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html index 135b68548440..3aa5d0392ebd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.html @@ -30,7 +30,7 @@ ctx.lineWidth = 50; ctx.strokeRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.worker.js index 0937ac4e0af8..d5a50443d3a2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.clip.worker.js @@ -26,7 +26,7 @@ ctx.lineWidth = 50; ctx.strokeRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 16); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html index 6e4a71899b55..a470939455b9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.html @@ -24,7 +24,7 @@ ctx.globalAlpha = 0; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.worker.js index 25538b368e0e..2556f6566813 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalalpha.worker.js @@ -20,7 +20,7 @@ ctx.globalAlpha = 0; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html index ca2e49cbcf0f..bfca74c48af7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.html @@ -24,7 +24,7 @@ ctx.globalCompositeOperation = 'source-in'; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.worker.js index 86e8f32ebb33..7c9859c7fb3a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.globalcomposite.worker.js @@ -20,7 +20,7 @@ ctx.globalCompositeOperation = 'source-in'; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(25, 24, 50, 2); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html index c2d3f9b50ccd..04f33b184cd5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.html @@ -28,10 +28,10 @@ ctx.strokeRect(12, 12, 26, 1); ctx.strokeRect(88, 12, -26, 1); ctx.strokeRect(12, 38, 26, -1); ctx.strokeRect(88, 38, -26, -1); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.worker.js index 7df75594ba22..c80a44680cac 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.negative.worker.js @@ -24,10 +24,10 @@ ctx.strokeRect(12, 12, 26, 1); ctx.strokeRect(88, 12, -26, 1); ctx.strokeRect(12, 38, 26, -1); ctx.strokeRect(88, 38, -26, -1); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html index de1617b157b9..1688912ab890 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.html @@ -47,7 +47,7 @@ ctx.strokeRect(0, Infinity, Infinity, 50); ctx.strokeRect(0, Infinity, Infinity, Infinity); ctx.strokeRect(0, Infinity, 100, Infinity); ctx.strokeRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.worker.js index 11efdf8a6687..4c1bc4c609d2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.nonfinite.worker.js @@ -43,7 +43,7 @@ ctx.strokeRect(0, Infinity, Infinity, 50); ctx.strokeRect(0, Infinity, Infinity, Infinity); ctx.strokeRect(0, Infinity, 100, Infinity); ctx.strokeRect(0, 0, Infinity, Infinity); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html index 42891df44e4d..c3d80bf299e8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.html @@ -27,7 +27,7 @@ ctx.lineWidth = 5; ctx.strokeRect(0, 0, 16, 16); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.worker.js index 81da4d363a56..436bd03107d4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.path.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 5; ctx.strokeRect(0, 0, 16, 16); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html index 44c98389490d..e80d7511d435 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.html @@ -30,7 +30,7 @@ ctx.shadowOffsetY = 50; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(0, -75, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.worker.js index 7b51e5e92b73..13beb42ff091 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.shadow.worker.js @@ -26,7 +26,7 @@ ctx.shadowOffsetY = 50; ctx.strokeStyle = '#f00'; ctx.lineWidth = 50; ctx.strokeRect(0, -75, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html index fa6676270aba..2b44d0c62726 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.html @@ -25,7 +25,7 @@ ctx.translate(0, 5); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 5; ctx.strokeRect(2.5, -2.6, 5, 0.2); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.worker.js index c3c2863f32f5..5958cf140694 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.transform.worker.js @@ -21,7 +21,7 @@ ctx.translate(0, 5); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 5; ctx.strokeRect(2.5, -2.6, 5, 0.2); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html index d663833f443b..fe4d77baaa98 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.html @@ -23,7 +23,7 @@ var ctx = canvas.getContext('2d'); ctx.strokeStyle = '#f00'; ctx.lineWidth = 250; ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.worker.js index 10750ec9f19c..be3da7c88a84 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.1.worker.js @@ -19,7 +19,7 @@ var ctx = canvas.getContext('2d'); ctx.strokeStyle = '#f00'; ctx.lineWidth = 250; ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html index 962502f2e834..0e234f85e58d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.html @@ -25,7 +25,7 @@ ctx.lineWidth = 250; ctx.lineCap = 'round'; ctx.lineJoin = 'round'; ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.worker.js index eabc38837145..ab24ad34127f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.2.worker.js @@ -21,7 +21,7 @@ ctx.lineWidth = 250; ctx.lineCap = 'round'; ctx.lineJoin = 'round'; ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html index 079e84b17d52..0145b2e412c2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.html @@ -23,7 +23,7 @@ var ctx = canvas.getContext('2d'); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.strokeRect(0, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.worker.js index 452fd83aa9ed..d9b365f7e807 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.3.worker.js @@ -19,7 +19,7 @@ var ctx = canvas.getContext('2d'); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.strokeRect(0, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html index 1cc44b7c29b7..d0c284f8e093 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.html @@ -24,7 +24,7 @@ ctx.strokeStyle = '#f00'; ctx.lineWidth = 250; ctx.lineCap = 'round'; ctx.strokeRect(100, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.worker.js index 94d407293d61..23513a47507c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.4.worker.js @@ -20,7 +20,7 @@ ctx.strokeStyle = '#f00'; ctx.lineWidth = 250; ctx.lineCap = 'round'; ctx.strokeRect(100, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html index a3c5a041e1c9..2441354c9076 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.html @@ -24,7 +24,7 @@ ctx.strokeStyle = '#0f0'; ctx.lineWidth = 250; ctx.lineJoin = 'round'; ctx.strokeRect(100, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.worker.js index 9846ec3c3397..0ef9e6772544 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/drawing-rectangles-to-the-canvas/2d.strokeRect.zero.5.worker.js @@ -20,7 +20,7 @@ ctx.strokeStyle = '#0f0'; ctx.lineWidth = 250; ctx.lineJoin = 'round'; ctx.strokeRect(100, 25, 100, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.CSSHSL.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.CSSHSL.html index d89a51f3c44d..af5b04170d41 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.CSSHSL.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.CSSHSL.html @@ -22,23 +22,23 @@ var ctx = offscreenCanvas.getContext('2d'); ctx.fillStyle = new CSSHSL(CSS.deg(180), 0.5, 0.5); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(offscreenCanvas, 50,25, 64,191,191,255, "50,25", "64,191,191,255", 3); +_assertPixelApprox(offscreenCanvas, 50,25, 64,191,191,255, 3); const color = new CSSHSL(CSS.deg(180), 1, 1); ctx.fillStyle = color; _assertSame(ctx.fillStyle, '#ffffff', "ctx.fillStyle", "'#ffffff'"); ctx.fillRect(0, 0, 100, 50); -_assertPixel(offscreenCanvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255"); +_assertPixel(offscreenCanvas, 50,25, 255,255,255,255); color.l = 0.5; ctx.fillStyle = color; _assertSame(ctx.fillStyle, '#00ffff', "ctx.fillStyle", "'#00ffff'"); ctx.fillRect(0, 0, 100, 50); -_assertPixel(offscreenCanvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255"); +_assertPixel(offscreenCanvas, 50,25, 0,255,255,255); ctx.fillStyle = new CSSRGB(1, 0, 1).toHSL(); _assertSame(ctx.fillStyle, '#ff00ff', "ctx.fillStyle", "'#ff00ff'"); ctx.fillRect(0, 0, 100, 50); -_assertPixel(offscreenCanvas, 50,25, 255,0,255,255, "50,25", "255,0,255,255"); +_assertPixel(offscreenCanvas, 50,25, 255,0,255,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.html index a6e86cdfe0fb..260554c4bcbe 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillStyle = 'invalid'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.worker.js index 43ac52e246f9..4e4df4f810b6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidstring.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillStyle = 'invalid'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.html index a8de9932309b..53c0f77c8ce8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillStyle = null; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.worker.js index f8b661aa2216..19b31206388a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.invalidtype.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillStyle = null; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.html index 7d6e78966dd4..d4a2466b7d3f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.worker.js index 99ccafd4934f..074d796caf34 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.html index 67779b50d096..6853ae51ea52 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0% / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.worker.js index d24a0dea8eea..a4226cf8cad1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0% / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.html index 078813772706..62f4e48ef3c4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.worker.js index 2e2f03438ad8..de3e3791fa79 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.html index 5989679d7026..082ddcd75ef6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.worker.js index 8cd4d66bc75d..2714bdf835a2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.html index f60b97ee6441..55f92e17ef8e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.worker.js index 932b6969051f..ef3fe13355b2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.html index 39d5a62fad67..74657fca63e0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.worker.js index 572e8ccfcb33..a36af9a563a3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.html index a6c654ffc1a1..419b15f72e1e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(133.33333333grad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.worker.js index 335c2600114f..10da1141aac1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-7.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(133.33333333grad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.html index 644015f43fcc..a5acc80ef8cd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(2.0943951024rad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.worker.js index 0f8fb44f37e3..e12f96350b9e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-8.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(2.0943951024rad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.html index 506f235e6504..dc184153996c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(0.3333333333turn, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.worker.js index fb2c39445545..51de0e0b15ec 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsl-9.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(0.3333333333turn, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.html index aa24927e2b9f..84b80615be0f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.worker.js index 2b0fcc89f24f..2d7abab3be68 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.html index 6e629d167260..a3f2c67ab476 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0% / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.worker.js index 4ea0a256395e..dd66b1d079a1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120 100.0% 50.0% / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.html index d4ceb4d46558..5b809ba567b7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.worker.js index 8f21b2f39b89..7ef6d8f4751a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.html index 5c63ba214901..3e063664fb95 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.worker.js index d138da57fdb7..ed1dec016241 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.html index 9320a1c2c80d..34f626a0a555 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.worker.js index 80ad13a21b6c..89042269ab29 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.html index d4b0499e0a4e..3c1a23bf37e5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.worker.js index 4afd20c40b14..645081df5e1f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120deg, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.html index 10773ee1f667..cc874e8fbe1f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(133.33333333grad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.worker.js index 4fc3e4d5710d..f42602ebc3a7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-7.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(133.33333333grad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.html index 97e52102c8f3..75014364817a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(2.0943951024rad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.worker.js index af502b3c707e..376cb94c9041 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-8.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(2.0943951024rad, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.html index 235f586e441b..f759e6910bf5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(0.3333333333turn, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.worker.js index f048dda38933..58f404175d08 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-hsla-9.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(0.3333333333turn, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.html index 1c38fce40f53..44648751a305 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255.0, 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.worker.js index b35ee79812fe..34ecf3d3186d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255.0, 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.html index 5efeb47bb3f3..328d731e491c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255, 0, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.worker.js index 0f996ec28110..958d5df352ed 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255, 0, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.html index 34ce23e0c1cd..1dc99c24c7b3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255, 0, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.worker.js index f580f7bd7309..f82df16e9adf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255, 0, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.html index c35dd12bd2ff..1b72c4f235d8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0 255 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.worker.js index 02656cf36f47..08dba89ec817 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0 255 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.html index 865c76deac18..9044fe81a4e8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0 255 0 / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.worker.js index 306850a5d919..27ccca6c64f5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0 255 0 / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.html index 9b17978a4685..66cb90876f1e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0 255 0 / 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.worker.js index 38c492c50e3d..3ff4312fcb21 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0 255 0 / 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.html index a3c18c5a7a91..a0d2239244af 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255.0, 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.worker.js index 2200d1d53b65..ef45434cabfc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255.0, 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.html index 20f99598c49c..96dcbf61d8f2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.worker.js index 8fe773cc3bb2..e03f5252e9f2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.html index 6172eef2a5ab..f972e83696f3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.worker.js index 3582e7d6b700..3bc693f212c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.html index 37d02e60de1c..6825e8658afa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0 255 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.worker.js index 15d3c3ab5395..a50cc026bb73 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0 255 0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.html index 30a418a6b7e7..7c8b19c80d4a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0 255 0 / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.worker.js index a01ee82555b6..e134e34b2975 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0 255 0 / 0.2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.html index b7f2287732ab..b63b46f9d258 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0 255 0 / 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.worker.js index 8df045de2eb3..3e401de74d50 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0 255 0 / 20%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,51, "50,25", "0,255,0,51"); +_assertPixel(canvas, 50,25, 0,255,0,51); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html index ca2fa741699a..90d3e6037eb1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.worker.js index 32d4bad2c179..9f0d0a4322a1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html index 591d19435ea8..d10e3a891063 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#0f0f'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.worker.js index cd73f70963dc..fa84ca13529e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#0f0f'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html index f6e1c4f23f0b..69394c9a8311 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#00fF00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.worker.js index 55185d449996..cb432b4f99ef 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#00fF00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html index f24f6bcf9bbb..80abfe3265ed 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#00ff00ff'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.worker.js index 39e5fb5da8f7..e114569893e2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hex8.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = '#00ff00ff'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html index 71b3d5670999..65e5c1874743 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 100%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.worker.js index 71028334db21..83d507c826cb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 100%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.html index 819eebbd9b92..fdd78ad7bea0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl( -240 , 100% , 50% )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.worker.js index 182c050398e4..0dfc848716eb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl( -240 , 100% , 50% )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.html index 38fb322d8302..51692444076a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(360120, 100%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.worker.js index 612a31581f18..54dec44d38ef 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(360120, 100%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.html index 72d8ce8430fe..90f30ab92c33 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(-360240, 100%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.worker.js index f9fb8582e090..43c20668afb6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(-360240, 100%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.html index 33a373ae99df..7760e236fdcd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.worker.js index ade7babd4d6e..d4c95c10b24d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120.0, 100.0%, 50.0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.html index dfd80ad4774e..795092931b77 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(+120, +100%, +50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.worker.js index 4669a0c631e7..f5acc2df25b1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(+120, +100%, +50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.html index 87232ccbc994..1b375468baf4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 200%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.worker.js index 00ccf329be00..cc3308d7ed60 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 200%, 50%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.html index 2aabf993ebb9..0133f7f50a33 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, -200%, 49.9%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255"); +_assertPixel(canvas, 50,25, 127,127,127,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.worker.js index 4cce2df08c61..48c23aa10aaf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, -200%, 49.9%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255"); +_assertPixel(canvas, 50,25, 127,127,127,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.html index 8d2d6bc8bee4..e35355c21c04 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 100%, 200%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255"); +_assertPixel(canvas, 50,25, 255,255,255,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.worker.js index 8dc92dfd55a0..ef1ac418c9c4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 100%, 200%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255"); +_assertPixel(canvas, 50,25, 255,255,255,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.html index a2e56df94dcd..c42b6f1f5d1b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 100%, -200%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,255, "50,25", "0,0,0,255"); +_assertPixel(canvas, 50,25, 0,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.worker.js index 89d33da8b8ab..061685dbdef5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsl(120, 100%, -200%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,255, "50,25", "0,0,0,255"); +_assertPixel(canvas, 50,25, 0,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.html index f8e130e0323a..0defd457ab0c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 50%, 0.499)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.worker.js index 69a322e74e0c..64a26e6ca3b0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 50%, 0.499)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.html index a38f62464cad..0498edd6da6e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla( 120.0 , 100.0% , 50.0% , 1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.worker.js index 34676fc23fe3..6101f0e3ab71 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla( 120.0 , 100.0% , 50.0% , 1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.html index 5c6a5eea2b2f..313ecf277cf8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 200%, 50%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.worker.js index 968684aad93d..8724efd28ab7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 200%, 50%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.html index 35cd11fb7f1f..761471f43ae1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, -200%, 49.9%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255"); +_assertPixel(canvas, 50,25, 127,127,127,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.worker.js index ae40bbd61669..af4271c66ccb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, -200%, 49.9%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255"); +_assertPixel(canvas, 50,25, 127,127,127,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.html index 117e58f4056e..287a23a58a29 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 200%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255"); +_assertPixel(canvas, 50,25, 255,255,255,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.worker.js index 7e61bec4196d..1e10a76dc27d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 200%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255"); +_assertPixel(canvas, 50,25, 255,255,255,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.html index 31350f2470a9..a0e420cab28a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, -200%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,255, "50,25", "0,0,0,255"); +_assertPixel(canvas, 50,25, 0,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.worker.js index 8a461f16fe16..e746bc34729e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, -200%, 1)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,255, "50,25", "0,0,0,255"); +_assertPixel(canvas, 50,25, 0,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.html index 1476c2dcea1d..068371974995 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 50%, 2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.worker.js index a7591080c290..61d86a8a95ff 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 50%, 2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.html index 8514c70a2964..a81063951941 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 0%, -2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.worker.js index f19520cb9032..57c0d587eee7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.hsla-clamp-6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'hsla(120, 100%, 0%, -2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.html index e6fc9baadf2c..767768ab2f70 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'limE'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.worker.js index b4f2e00942f8..a8b8552afb5c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.html4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'limE'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.html index 3db32fe49de2..1a227a436a4f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 50% / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.worker.js index 97b03f75fb14..20fc879bc629 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 50% / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.html index 8051a63e9a47..36b95ed247a7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0 100% 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.worker.js index c3a8cc5026b5..c2c6fc0ace08 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0 100% 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.html index e0a6514a4ae1..d208c6296b67 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100% 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.worker.js index f64aa3efb29a..c2f90ef320c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100% 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.html index 07b5fd879a01..2fba5aaf9c68 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0 100% 50% /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.worker.js index d286c1963ecb..6903ae94c2d5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0 100% 50% /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.html index ababebd7c3b4..f340a52aa8c2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 50% /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.worker.js index 80e19172abb6..8f0cfc0cba58 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsl-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 50% /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.html index 64fabf39f7cc..834a1b7b18e3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 100%, 50% / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.worker.js index cb7086505643..45e074321e3b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 100%, 50% / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.html index 6c1474311144..cd33bbf8007b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0 100% 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.worker.js index 6ba2fbd75a6b..e0d75717db7d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0 100% 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.html index 24d347d74cd6..fd01b7623af4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 100% 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.worker.js index 139eeb01e10e..4adb92bb6444 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-hsla-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 100% 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.html index 39801a0b1316..f1e1b2ab37d8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255, 0, 0 / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.worker.js index b87aff85a739..450556b31be0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255, 0, 0 / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.html index d86e63afbcc6..dc22f99e3d31 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255 0 0, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.worker.js index bf99c939f939..35217d1b807d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255 0 0, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.html index 0b47dc0cf878..434c15eccb3a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255, 0 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.worker.js index dcbdc50a8b44..28200cfdd5a1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255, 0 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.html index c9682085e9fa..58ed0e7318ff 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(0 0 0 /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.worker.js index 3cf1c8dae409..1830996c26b4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(0 0 0 /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.html index 75de3cf8de32..95643739c411 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(0, 0, 0 /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.worker.js index a8277929ac37..4591bbde34ae 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgb-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(0, 0, 0 /)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.html index 074c4bca95c3..5ae093eae1ea 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0 / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.worker.js index 565395efaca9..d9a315c98dbc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0 / 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.html index a94393333e15..036f389153a1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255 0 0, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.worker.js index 5768745fc5b4..1fc2f5d86380 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255 0 0, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.html index d87f0929c4b0..663557987aab 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.worker.js index e373b2f632f8..1eadf9125b03 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.css-color-4-rgba-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.html index e27c89a799cb..83e1c410f5e8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#f'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.worker.js index e957f8886dd8..3807fd331127 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#f'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.html index acd620c97c5a..453ec4bd5c3c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#f0'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.worker.js index 0863e5fdb179..9bb7e2c33c8f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#f0'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.html index 14d687ba2df9..c1d4e8c1e853 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#g00'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.worker.js index faa66420bc6c..4eaa0b0d0f57 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#g00'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.html index 98d155bcd09c..89c23a0074aa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#fg00'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.worker.js index 42ebb181bd7b..ceffb191b2ba 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#fg00'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.html index 72eee71dee92..4d62d09be036 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#ff000'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.worker.js index d864a8830705..7225544f8b71 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#ff000'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.html index 9ffa1efc4a9b..69dfdc723fce 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#fg0000'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.worker.js index d0c6098fa073..2e5a93b49a9b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#fg0000'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.html index 83dab53912fa..2be93ca69a8e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#ff0000f'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.worker.js index 453e72f8644c..fbd4a887c5e7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex7.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#ff0000f'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.html index 9797b81de2e7..f67758d42ed1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#fg0000ff'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.worker.js index 2c9c0d6076fa..fcc230ce9db6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hex8.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '#fg0000ff'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.html index fc8a53e67a05..54e671113795 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0%, 100%, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.worker.js index f984cfb4a369..3b0bb9165b35 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0%, 100%, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.html index 2375c0d1d9aa..7614b8c34d0b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(z, 100%, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.worker.js index 1987103046fc..ec906f7fa19b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(z, 100%, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.html index 7769b878054b..13d19ac92406 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 0, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.worker.js index cee63524943c..370eba209785 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 0, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.html index fa36f0c59024..9f01aa218001 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.worker.js index cb96b6220516..9d53d26c96af 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.html index 7d17ebf88499..23f38067a9ff 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100.%, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.worker.js index 0617cdadead8..98f4b1c7214e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100.%, 50%)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.html index 65d4d2c4152e..405a0e52b24a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 50%,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.worker.js index 656087e0e254..87185470028a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsl-6.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsl(0, 100%, 50%,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.html index 0bb55b869ba9..ae9d7986b7a8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0%, 100%, 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.worker.js index 152eca19477e..b6a70f2a4214 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0%, 100%, 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.html index 8da3bb73ea6d..de123411ecd5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 0, 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.worker.js index 3af68054ddf6..809c805352d8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 0, 50%, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.html index a41774f50cb2..beab07b8624e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 0, 50%, 1,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.worker.js index d78c3ec69526..4d2b53bbeba2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.hsla-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'hsla(0, 0, 50%, 1,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.html index f42c5e00fba9..4ac286e61602 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'darkbrown'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.worker.js index 8acea69fdb36..ef588934c15f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'darkbrown'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.html index 42fb3fc3b9fb..6b54c1816b95 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'firebrick1'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.worker.js index 7c2bf79d7f0b..b66a07419c17 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'firebrick1'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.html index 8d351754c3e4..05cfaa906d63 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'red blue'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.worker.js index 3f5a115c08d5..da51a4ab2ab8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'red blue'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.html index b2f4b4f69cd4..47aab58ada20 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '"red"'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.worker.js index 2299ff85277b..c167c2b9556f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '"red"'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.html index 4fe8e6768356..af19e193e047 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '"red'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.worker.js index 8280800d13e2..8fe3a9b13e62 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = '"red'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.html index 6e4fb4ed6f14..300bb85ee2ce 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255.0, 0, 0,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.worker.js index ae7cb8b154bb..3c97d856c7a5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255.0, 0, 0,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.html index 15aedf0b805f..8bc9c079dd15 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(100%, 0, 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.worker.js index 1d09da7389a4..7e4e27c91424 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(100%, 0, 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.html index 93c0a82485d2..11e93a1c7242 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255, - 1, 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.worker.js index 21ed0b90bd75..59d89f7b519e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgb-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgb(255, - 1, 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.html index 7ffc5613126a..3a0b39911735 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(100%, 0, 0, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.worker.js index 450ed24d48a0..efd7640594f2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(100%, 0, 0, 1)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.html index 9771a390a894..28a218052043 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, 1. 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.worker.js index 974f09cec6ea..dfdafb1a7e05 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, 1. 0)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.html index 052cda3862ba..d9ad0be5e50e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, 1.)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.worker.js index e97be9122a2e..1dca0eb9b14f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, 1.)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.html index 58685cae4103..db71a88e704f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, '; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.worker.js index a9a4e97a9f63..dff64ba90730 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, '; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.html index 23c958e5ce3e..00e7791bcbeb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, 1,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.worker.js index e354cc1b9c77..80a65dcbc2d1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.rgba-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#0f0'; try { ctx.fillStyle = 'rgba(255, 0, 0, 1,)'; } catch (e) { } // this shouldn't throw, but it shouldn't matter here if it does ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.html index e487acdc3d71..ce03f7b84035 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-1000, 1000, -1000)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.worker.js index 1abc22477dec..48cf6a72f569 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-1000, 1000, -1000)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.html index 3af37d4e1028..e4f9260ec6b4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-200%, 200%, -200%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.worker.js index 412e782a226a..70adec462ac6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-200%, 200%, -200%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.html index f53615840bdd..73bbc00d1eda 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-2147483649, 4294967298, -18446744073709551619)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.worker.js index 6309fa99576b..883328b42d75 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-2147483649, 4294967298, -18446744073709551619)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.html index 13ee1e7b685d..1bdb70d68c94 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-1000000000000000000000000000000000000000, 1000000000000000000000000000000000000000, -1000000000000000000000000000000000000000)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.worker.js index 04c29c2a1ef7..ca5543ac9b5d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-1000000000000000000000000000000000000000, 1000000000000000000000000000000000000000, -1000000000000000000000000000000000000000)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.html index 93a404a75f2f..880ad046e14e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.worker.js index c77f3c0cf0e2..41f8799f400c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-clamp-5.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(-10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.html index 14a932e0f52e..9a84105dbc52 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255, 0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.worker.js index 2f37fc8ed0a2..39589937d555 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-eof.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0, 255, 0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.html index 0847040b9219..6cda83e0a803 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0,255,0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.worker.js index 839139aa3ab7..229d6aec613d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-num.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0,255,0)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.html index 7b9b300c6e7a..6f7125de0ff7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0% ,100% ,0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.worker.js index b3f5c6161d70..4ba5c987e58f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgb-percent.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgb(0% ,100% ,0%)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.html index 9752ef1b2c86..1cf20f7898c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, -2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.worker.js index 37fe065f6408..9ba73e22eb7a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, -2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.html index 119589e50620..c8b4844ae62b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.worker.js index 684aa3492cd8..fd1c53a7335c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-clamp-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 2)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.html index d233eab3893a..d3fd3df2e4f0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 1'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.worker.js index 0a6e57025b26..6e51f09b5fa4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-eof.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0, 255, 0, 1'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.html index 6946f78b42d1..1ce69821ae5e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , .499 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.worker.js index a2b1eec28813..2805af6e05c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , .499 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.html index 6e0c04f2ad83..979eff66b24f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , 0.499 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.worker.js index 1b9aede49d90..2ed154924076 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-num-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , 0.499 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.html index ecfb52730a50..2c737e21c14c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0%,100%,0%,0.499)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.worker.js index 39054cd36fcf..5852ea3eb1e6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-percent.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0%,100%,0%,0.499)'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,127, "50,25", "0,255,0,127"); +_assertPixel(canvas, 50,25, 0,255,0,127); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.html index c0740571031f..701b5efc79bf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , 1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.worker.js index a9a753d9b72c..51e6d7742106 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , 1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.html index 64b87bec3f72..7280c10dd649 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , 1.0 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.worker.js index fc81f0f3464f..4dcbd72aef07 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , 1.0 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.html index 2b1b8972349b..dfbb44397361 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , +1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.worker.js index c85dfb3d1212..060fad9bb853 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-3.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( 0 , 255 , 0 , +1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.html index be05e23dc57f..131396c8d097 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( -0 , 255 , +0 , 1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.worker.js index 141669ab09d6..43a8cf825162 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.rgba-solid-4.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba( -0 , 255 , +0 , 1 )'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.html index 1736db074497..ffcc525b4868 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'gray'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 128,128,128,255, "50,25", "128,128,128,255"); +_assertPixel(canvas, 50,25, 128,128,128,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.worker.js index bee57ccb7347..86b4f8175dad 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'gray'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 128,128,128,255, "50,25", "128,128,128,255"); +_assertPixel(canvas, 50,25, 128,128,128,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.html index c5641e1604dc..eafecd0e6dac 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'grey'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 128,128,128,255, "50,25", "128,128,128,255"); +_assertPixel(canvas, 50,25, 128,128,128,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.worker.js index dee217fa95c1..3aa530508e15 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.svg-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'grey'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 128,128,128,255, "50,25", "128,128,128,255"); +_assertPixel(canvas, 50,25, 128,128,128,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.html index fb2fa0e8bfbf..98da0c29cde3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'transparent'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.worker.js index 0c838f66b2f1..a934b66c8c5b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-1.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'transparent'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.html index cf54ac7cd9b7..cfebe8fc1da0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.html @@ -24,7 +24,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'TrAnSpArEnT'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.worker.js index e2438166e5b1..e577bf55dd6d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.transparent-2.worker.js @@ -20,7 +20,7 @@ var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'TrAnSpArEnT'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); +_assertPixel(canvas, 50,25, 0,0,0,0); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.html index 33eff9b3b703..dde54400e28e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.html @@ -28,8 +28,8 @@ g.addColorStop(0.50, "#0f0"); g.addColorStop(0.75, "#f00"); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,15, 255,0,0,255, "25,15", "255,0,0,255", 3); -_assertPixelApprox(canvas, 75,40, 0,255,0,255, "75,40", "0,255,0,255", 3); +_assertPixelApprox(canvas, 25,15, 255,0,0,255, 3); +_assertPixelApprox(canvas, 75,40, 0,255,0,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.worker.js index a5a32a680808..68589cfab519 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.worker.js @@ -24,8 +24,8 @@ g.addColorStop(0.50, "#0f0"); g.addColorStop(0.75, "#f00"); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,15, 255,0,0,255, "25,15", "255,0,0,255", 3); -_assertPixelApprox(canvas, 75,40, 0,255,0,255, "75,40", "0,255,0,255", 3); +_assertPixelApprox(canvas, 25,15, 255,0,0,255, 3); +_assertPixelApprox(canvas, 75,40, 0,255,0,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.html index d77182c155eb..42d5a87af494 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.html @@ -28,8 +28,8 @@ g.addColorStop(0.50, "#0f0"); g.addColorStop(0.75, "#f00"); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,15, 255,0,0,255, "25,15", "255,0,0,255", 3); -_assertPixelApprox(canvas, 75,40, 0,255,0,255, "75,40", "0,255,0,255", 3); +_assertPixelApprox(canvas, 25,15, 255,0,0,255, 3); +_assertPixelApprox(canvas, 75,40, 0,255,0,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.worker.js index 9a0b95f85852..cece603ddb98 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.worker.js @@ -24,8 +24,8 @@ g.addColorStop(0.50, "#0f0"); g.addColorStop(0.75, "#f00"); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,15, 255,0,0,255, "25,15", "255,0,0,255", 3); -_assertPixelApprox(canvas, 75,40, 0,255,0,255, "75,40", "0,255,0,255", 3); +_assertPixelApprox(canvas, 25,15, 255,0,0,255, 3); +_assertPixelApprox(canvas, 75,40, 0,255,0,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.html index 154a8885c53f..93229d93f5d7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); var g = ctx.createLinearGradient(0, 0, 0, 50); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.worker.js index 0db82eebe7b4..207a1b0cabd9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.empty.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); var g = ctx.createLinearGradient(0, 0, 0, 50); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.html index 4507adf92a4e..52c11fcbfd7d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.html @@ -27,9 +27,9 @@ g.addColorStop(0, 'rgba(0,0,255, 0)'); g.addColorStop(1, 'rgba(0,0,255, 1)'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,25, 191,191,63,255, "25,25", "191,191,63,255", 3); -_assertPixelApprox(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255", 3); -_assertPixelApprox(canvas, 75,25, 63,63,191,255, "75,25", "63,63,191,255", 3); +_assertPixelApprox(canvas, 25,25, 191,191,63,255, 3); +_assertPixelApprox(canvas, 50,25, 127,127,127,255, 3); +_assertPixelApprox(canvas, 75,25, 63,63,191,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.worker.js index 119de347aa5c..d9f08a9bedee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.worker.js @@ -23,9 +23,9 @@ g.addColorStop(0, 'rgba(0,0,255, 0)'); g.addColorStop(1, 'rgba(0,0,255, 1)'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,25, 191,191,63,255, "25,25", "191,191,63,255", 3); -_assertPixelApprox(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255", 3); -_assertPixelApprox(canvas, 75,25, 63,63,191,255, "75,25", "63,63,191,255", 3); +_assertPixelApprox(canvas, 25,25, 191,191,63,255, 3); +_assertPixelApprox(canvas, 50,25, 127,127,127,255, 3); +_assertPixelApprox(canvas, 75,25, 63,63,191,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.html index 7f8d6eabf900..8f3278176016 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.html @@ -25,9 +25,9 @@ g.addColorStop(0, '#ff0'); g.addColorStop(1, '#00f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,25, 191,191,63,255, "25,25", "191,191,63,255", 3); -_assertPixelApprox(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255", 3); -_assertPixelApprox(canvas, 75,25, 63,63,191,255, "75,25", "63,63,191,255", 3); +_assertPixelApprox(canvas, 25,25, 191,191,63,255, 3); +_assertPixelApprox(canvas, 50,25, 127,127,127,255, 3); +_assertPixelApprox(canvas, 75,25, 63,63,191,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.worker.js index 514d378178ca..fcf1f84f37c1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.color.worker.js @@ -21,9 +21,9 @@ g.addColorStop(0, '#ff0'); g.addColorStop(1, '#00f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,25, 191,191,63,255, "25,25", "191,191,63,255", 3); -_assertPixelApprox(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255", 3); -_assertPixelApprox(canvas, 75,25, 63,63,191,255, "75,25", "63,63,191,255", 3); +_assertPixelApprox(canvas, 25,25, 191,191,63,255, 3); +_assertPixelApprox(canvas, 50,25, 127,127,127,255, 3); +_assertPixelApprox(canvas, 75,25, 63,63,191,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.html index 555730ccb563..0e7d3b5577b9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.html @@ -25,9 +25,9 @@ g.addColorStop(0, 'rgba(255,255,0, 0)'); g.addColorStop(1, 'rgba(0,0,255, 1)'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,25, 190,190,65,65, "25,25", "190,190,65,65", 3); -_assertPixelApprox(canvas, 50,25, 126,126,128,128, "50,25", "126,126,128,128", 3); -_assertPixelApprox(canvas, 75,25, 62,62,192,192, "75,25", "62,62,192,192", 3); +_assertPixelApprox(canvas, 25,25, 190,190,65,65, 3); +_assertPixelApprox(canvas, 50,25, 126,126,128,128, 3); +_assertPixelApprox(canvas, 75,25, 62,62,192,192, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.worker.js index 44fbed39e2f3..cc1cc9f2191b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.coloralpha.worker.js @@ -21,9 +21,9 @@ g.addColorStop(0, 'rgba(255,255,0, 0)'); g.addColorStop(1, 'rgba(0,0,255, 1)'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 25,25, 190,190,65,65, "25,25", "190,190,65,65", 3); -_assertPixelApprox(canvas, 50,25, 126,126,128,128, "50,25", "126,126,128,128", 3); -_assertPixelApprox(canvas, 75,25, 62,62,192,192, "75,25", "62,62,192,192", 3); +_assertPixelApprox(canvas, 25,25, 190,190,65,65, 3); +_assertPixelApprox(canvas, 50,25, 126,126,128,128, 3); +_assertPixelApprox(canvas, 75,25, 62,62,192,192, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.html index 2abbd658701d..724ae5c09392 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.html @@ -27,9 +27,9 @@ g.addColorStop(0.5, '#0ff'); g.addColorStop(1, '#f0f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 200, 50); -_assertPixelApprox(canvas, 50,25, 127,255,127,255, "50,25", "127,255,127,255", 3); -_assertPixelApprox(canvas, 100,25, 0,255,255,255, "100,25", "0,255,255,255", 3); -_assertPixelApprox(canvas, 150,25, 127,127,255,255, "150,25", "127,127,255,255", 3); +_assertPixelApprox(canvas, 50,25, 127,255,127,255, 3); +_assertPixelApprox(canvas, 100,25, 0,255,255,255, 3); +_assertPixelApprox(canvas, 150,25, 127,127,255,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.worker.js index f732b0dbbb34..ff3687c1a98c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.multiple.worker.js @@ -23,9 +23,9 @@ g.addColorStop(0.5, '#0ff'); g.addColorStop(1, '#f0f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 200, 50); -_assertPixelApprox(canvas, 50,25, 127,255,127,255, "50,25", "127,255,127,255", 3); -_assertPixelApprox(canvas, 100,25, 0,255,255,255, "100,25", "0,255,255,255", 3); -_assertPixelApprox(canvas, 150,25, 127,127,255,255, "150,25", "127,127,255,255", 3); +_assertPixelApprox(canvas, 50,25, 127,255,127,255, 3); +_assertPixelApprox(canvas, 100,25, 0,255,255,255, 3); +_assertPixelApprox(canvas, 150,25, 127,127,255,255, 3); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.html index ce53d957e380..0ef97af879a2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.html @@ -27,9 +27,9 @@ g.addColorStop(0.4, '#0f0'); g.addColorStop(0.6, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 20,25, 0,255,0,255, "20,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 80,25, 0,255,0,255, "80,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 20,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 80,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.worker.js index 9a9949fd843c..60d10a59d8ad 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.outside.worker.js @@ -23,9 +23,9 @@ g.addColorStop(0.4, '#0f0'); g.addColorStop(0.6, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 20,25, 0,255,0,255, "20,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 80,25, 0,255,0,255, "80,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 20,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 80,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.html index a63eb3626de7..77eb328ecf1d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.html @@ -40,12 +40,12 @@ g.addColorStop(0.5, '#ff0'); g.addColorStop(1, '#00f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 200, 50); -_assertPixelApprox(canvas, 49,25, 0,0,255,255, "49,25", "0,0,255,255", 16); -_assertPixelApprox(canvas, 51,25, 255,255,0,255, "51,25", "255,255,0,255", 16); -_assertPixelApprox(canvas, 99,25, 0,0,255,255, "99,25", "0,0,255,255", 16); -_assertPixelApprox(canvas, 101,25, 255,255,0,255, "101,25", "255,255,0,255", 16); -_assertPixelApprox(canvas, 149,25, 0,0,255,255, "149,25", "0,0,255,255", 16); -_assertPixelApprox(canvas, 151,25, 255,255,0,255, "151,25", "255,255,0,255", 16); +_assertPixelApprox(canvas, 49,25, 0,0,255,255, 16); +_assertPixelApprox(canvas, 51,25, 255,255,0,255, 16); +_assertPixelApprox(canvas, 99,25, 0,0,255,255, 16); +_assertPixelApprox(canvas, 101,25, 255,255,0,255, 16); +_assertPixelApprox(canvas, 149,25, 0,0,255,255, 16); +_assertPixelApprox(canvas, 151,25, 255,255,0,255, 16); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.worker.js index 8fc2fd5640bb..e11c85f8d81c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap.worker.js @@ -36,12 +36,12 @@ g.addColorStop(0.5, '#ff0'); g.addColorStop(1, '#00f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 200, 50); -_assertPixelApprox(canvas, 49,25, 0,0,255,255, "49,25", "0,0,255,255", 16); -_assertPixelApprox(canvas, 51,25, 255,255,0,255, "51,25", "255,255,0,255", 16); -_assertPixelApprox(canvas, 99,25, 0,0,255,255, "99,25", "0,0,255,255", 16); -_assertPixelApprox(canvas, 101,25, 255,255,0,255, "101,25", "255,255,0,255", 16); -_assertPixelApprox(canvas, 149,25, 0,0,255,255, "149,25", "0,0,255,255", 16); -_assertPixelApprox(canvas, 151,25, 255,255,0,255, "151,25", "255,255,0,255", 16); +_assertPixelApprox(canvas, 49,25, 0,0,255,255, 16); +_assertPixelApprox(canvas, 51,25, 255,255,0,255, 16); +_assertPixelApprox(canvas, 99,25, 0,0,255,255, 16); +_assertPixelApprox(canvas, 101,25, 255,255,0,255, 16); +_assertPixelApprox(canvas, 149,25, 0,0,255,255, 16); +_assertPixelApprox(canvas, 151,25, 255,255,0,255, 16); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.html index 25ef30ed0549..662913b13f96 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.html @@ -31,11 +31,11 @@ for (var p = 0; p < ps.length; ++p) } ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 30,25, 0,255,0,255, "30,25", "0,255,0,255"); -_assertPixel(canvas, 40,25, 0,255,0,255, "40,25", "0,255,0,255"); -_assertPixel(canvas, 60,25, 0,255,0,255, "60,25", "0,255,0,255"); -_assertPixel(canvas, 80,25, 0,255,0,255, "80,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 30,25, 0,255,0,255); +_assertPixel(canvas, 40,25, 0,255,0,255); +_assertPixel(canvas, 60,25, 0,255,0,255); +_assertPixel(canvas, 80,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.worker.js index 8b47778338e0..a6329af99acc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.overlap2.worker.js @@ -27,11 +27,11 @@ for (var p = 0; p < ps.length; ++p) } ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 30,25, 0,255,0,255, "30,25", "0,255,0,255"); -_assertPixel(canvas, 40,25, 0,255,0,255, "40,25", "0,255,0,255"); -_assertPixel(canvas, 60,25, 0,255,0,255, "60,25", "0,255,0,255"); -_assertPixel(canvas, 80,25, 0,255,0,255, "80,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 30,25, 0,255,0,255); +_assertPixel(canvas, 40,25, 0,255,0,255); +_assertPixel(canvas, 60,25, 0,255,0,255); +_assertPixel(canvas, 80,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.html index 98514add7898..aa488d941207 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.html @@ -25,7 +25,7 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js index c296f483006a..8cc4a88d98e9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js @@ -21,7 +21,7 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.html index 3ca5a764c2fe..15c4c7c39ef1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.html @@ -25,9 +25,9 @@ g.addColorStop(0, '#ff0'); g.addColorStop(1, '#00f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,12, 191,191,63,255, "50,12", "191,191,63,255", 10); -_assertPixelApprox(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255", 5); -_assertPixelApprox(canvas, 50,37, 63,63,191,255, "50,37", "63,63,191,255", 10); +_assertPixelApprox(canvas, 50,12, 191,191,63,255, 10); +_assertPixelApprox(canvas, 50,25, 127,127,127,255, 5); +_assertPixelApprox(canvas, 50,37, 63,63,191,255, 10); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.worker.js index 319d03c0aec3..a25692cf42f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.vertical.worker.js @@ -21,9 +21,9 @@ g.addColorStop(0, '#ff0'); g.addColorStop(1, '#00f'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,12, 191,191,63,255, "50,12", "191,191,63,255", 10); -_assertPixelApprox(canvas, 50,25, 127,127,127,255, "50,25", "127,127,127,255", 5); -_assertPixelApprox(canvas, 50,37, 63,63,191,255, "50,37", "63,63,191,255", 10); +_assertPixelApprox(canvas, 50,12, 191,191,63,255, 10); +_assertPixelApprox(canvas, 50,25, 127,127,127,255, 5); +_assertPixelApprox(canvas, 50,37, 63,63,191,255, 10); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.html index b0f7be685f5b..b679d5b83d67 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.html @@ -28,7 +28,7 @@ g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.rect(0, 0, 100, 50); ctx.fill(); -_assertPixel(canvas, 40,20, 0,255,0,255, "40,20", "0,255,0,255"); +_assertPixel(canvas, 40,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.worker.js index 4fbb8582bd7c..71df9674ce7e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fill.worker.js @@ -24,7 +24,7 @@ g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.rect(0, 0, 100, 50); ctx.fill(); -_assertPixel(canvas, 40,20, 0,255,0,255, "40,20", "0,255,0,255"); +_assertPixel(canvas, 40,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.html index cec97f0a688e..9576f2a99e5c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.html @@ -27,7 +27,7 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 40,20, 0,255,0,255, "40,20", "0,255,0,255"); +_assertPixel(canvas, 40,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.worker.js index ef3f42a9d3aa..b6dfbf081c88 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.fillRect.worker.js @@ -23,7 +23,7 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 40,20, 0,255,0,255, "40,20", "0,255,0,255"); +_assertPixel(canvas, 40,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.html index ff1eac4249a5..81a5e4e35dae 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.html @@ -28,15 +28,15 @@ g.addColorStop(1, '#f00'); ctx.strokeStyle = g; ctx.rect(20, 20, 60, 10); ctx.stroke(); -_assertPixel(canvas, 19,19, 0,255,0,255, "19,19", "0,255,0,255"); -_assertPixel(canvas, 20,19, 0,255,0,255, "20,19", "0,255,0,255"); -_assertPixel(canvas, 21,19, 0,255,0,255, "21,19", "0,255,0,255"); -_assertPixel(canvas, 19,20, 0,255,0,255, "19,20", "0,255,0,255"); -_assertPixel(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255"); -_assertPixel(canvas, 21,20, 0,255,0,255, "21,20", "0,255,0,255"); -_assertPixel(canvas, 19,21, 0,255,0,255, "19,21", "0,255,0,255"); -_assertPixel(canvas, 20,21, 0,255,0,255, "20,21", "0,255,0,255"); -_assertPixel(canvas, 21,21, 0,255,0,255, "21,21", "0,255,0,255"); +_assertPixel(canvas, 19,19, 0,255,0,255); +_assertPixel(canvas, 20,19, 0,255,0,255); +_assertPixel(canvas, 21,19, 0,255,0,255); +_assertPixel(canvas, 19,20, 0,255,0,255); +_assertPixel(canvas, 20,20, 0,255,0,255); +_assertPixel(canvas, 21,20, 0,255,0,255); +_assertPixel(canvas, 19,21, 0,255,0,255); +_assertPixel(canvas, 20,21, 0,255,0,255); +_assertPixel(canvas, 21,21, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.worker.js index 8fc30d69c854..c8744645a022 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.stroke.worker.js @@ -24,15 +24,15 @@ g.addColorStop(1, '#f00'); ctx.strokeStyle = g; ctx.rect(20, 20, 60, 10); ctx.stroke(); -_assertPixel(canvas, 19,19, 0,255,0,255, "19,19", "0,255,0,255"); -_assertPixel(canvas, 20,19, 0,255,0,255, "20,19", "0,255,0,255"); -_assertPixel(canvas, 21,19, 0,255,0,255, "21,19", "0,255,0,255"); -_assertPixel(canvas, 19,20, 0,255,0,255, "19,20", "0,255,0,255"); -_assertPixel(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255"); -_assertPixel(canvas, 21,20, 0,255,0,255, "21,20", "0,255,0,255"); -_assertPixel(canvas, 19,21, 0,255,0,255, "19,21", "0,255,0,255"); -_assertPixel(canvas, 20,21, 0,255,0,255, "20,21", "0,255,0,255"); -_assertPixel(canvas, 21,21, 0,255,0,255, "21,21", "0,255,0,255"); +_assertPixel(canvas, 19,19, 0,255,0,255); +_assertPixel(canvas, 20,19, 0,255,0,255); +_assertPixel(canvas, 21,19, 0,255,0,255); +_assertPixel(canvas, 19,20, 0,255,0,255); +_assertPixel(canvas, 20,20, 0,255,0,255); +_assertPixel(canvas, 21,20, 0,255,0,255); +_assertPixel(canvas, 19,21, 0,255,0,255); +_assertPixel(canvas, 20,21, 0,255,0,255); +_assertPixel(canvas, 21,21, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.html index 76273ab10728..91cedc706956 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.strokeStyle = g; ctx.strokeRect(20, 20, 60, 10); -_assertPixel(canvas, 19,19, 0,255,0,255, "19,19", "0,255,0,255"); -_assertPixel(canvas, 20,19, 0,255,0,255, "20,19", "0,255,0,255"); -_assertPixel(canvas, 21,19, 0,255,0,255, "21,19", "0,255,0,255"); -_assertPixel(canvas, 19,20, 0,255,0,255, "19,20", "0,255,0,255"); -_assertPixel(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255"); -_assertPixel(canvas, 21,20, 0,255,0,255, "21,20", "0,255,0,255"); -_assertPixel(canvas, 19,21, 0,255,0,255, "19,21", "0,255,0,255"); -_assertPixel(canvas, 20,21, 0,255,0,255, "20,21", "0,255,0,255"); -_assertPixel(canvas, 21,21, 0,255,0,255, "21,21", "0,255,0,255"); +_assertPixel(canvas, 19,19, 0,255,0,255); +_assertPixel(canvas, 20,19, 0,255,0,255); +_assertPixel(canvas, 21,19, 0,255,0,255); +_assertPixel(canvas, 19,20, 0,255,0,255); +_assertPixel(canvas, 20,20, 0,255,0,255); +_assertPixel(canvas, 21,20, 0,255,0,255); +_assertPixel(canvas, 19,21, 0,255,0,255); +_assertPixel(canvas, 20,21, 0,255,0,255); +_assertPixel(canvas, 21,21, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.worker.js index 03e91be6e198..0949fc8a1952 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.zerosize.strokeRect.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.strokeStyle = g; ctx.strokeRect(20, 20, 60, 10); -_assertPixel(canvas, 19,19, 0,255,0,255, "19,19", "0,255,0,255"); -_assertPixel(canvas, 20,19, 0,255,0,255, "20,19", "0,255,0,255"); -_assertPixel(canvas, 21,19, 0,255,0,255, "21,19", "0,255,0,255"); -_assertPixel(canvas, 19,20, 0,255,0,255, "19,20", "0,255,0,255"); -_assertPixel(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255"); -_assertPixel(canvas, 21,20, 0,255,0,255, "21,20", "0,255,0,255"); -_assertPixel(canvas, 19,21, 0,255,0,255, "19,21", "0,255,0,255"); -_assertPixel(canvas, 20,21, 0,255,0,255, "20,21", "0,255,0,255"); -_assertPixel(canvas, 21,21, 0,255,0,255, "21,21", "0,255,0,255"); +_assertPixel(canvas, 19,19, 0,255,0,255); +_assertPixel(canvas, 20,19, 0,255,0,255); +_assertPixel(canvas, 21,19, 0,255,0,255); +_assertPixel(canvas, 19,20, 0,255,0,255); +_assertPixel(canvas, 20,20, 0,255,0,255); +_assertPixel(canvas, 21,20, 0,255,0,255); +_assertPixel(canvas, 19,21, 0,255,0,255); +_assertPixel(canvas, 20,21, 0,255,0,255); +_assertPixel(canvas, 21,21, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.html index 0dd162acf5db..5e7910790778 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.html @@ -28,9 +28,9 @@ g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.translate(-50, 0); ctx.fillRect(50, 0, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.worker.js index 57f23ff9da8a..62a96e2f6778 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.1.worker.js @@ -24,9 +24,9 @@ g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.translate(-50, 0); ctx.fillRect(50, 0, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.html index 5856c3992f3d..86fb50733497 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.html @@ -29,9 +29,9 @@ g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.translate(-150, 0); ctx.fillRect(50, 0, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.worker.js index 326a02801adb..dace251811a6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.2.worker.js @@ -25,9 +25,9 @@ g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.translate(-150, 0); ctx.fillRect(50, 0, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.html index 3d0359cb9ef1..ccbc3ab2839d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.html @@ -29,9 +29,9 @@ ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); ctx.translate(-50, 0); ctx.fillRect(50, 0, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.worker.js index 8a3f50244617..8f5a7115ecab 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.linear.transform.3.worker.js @@ -25,9 +25,9 @@ ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); ctx.translate(-50, 0); ctx.fillRect(50, 0, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.html index 82b6bc139c20..8d54f95f7273 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.html @@ -28,7 +28,7 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.worker.js index 6639cc752292..fa8cee44caab 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.crosscanvas.worker.js @@ -24,7 +24,7 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.html index fa48b02f202a..05f8e747f2f5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.html @@ -27,7 +27,7 @@ ctx.fillStyle = g; g.addColorStop(0.1, '#0f0'); g.addColorStop(0.9, '#0f0'); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.worker.js index 758934237b7a..5960d0afe9fd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.object.update.worker.js @@ -23,7 +23,7 @@ ctx.fillStyle = g; g.addColorStop(0.1, '#0f0'); g.addColorStop(0.9, '#0f0'); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.html index 80c71480e151..537f960d8dde 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.worker.js index 373896c892fc..99711c732de5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.behind.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.html index 283a5fae2c42..360f1ab7359f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.worker.js index 77a4eb84ff3b..6af48259a357 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.beside.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.html index 8dae29c43ecd..3f3690381d36 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.worker.js index d0aede162dc2..2eca2d573e07 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.html index 9eb0840c0208..700740938c80 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.worker.js index 606a4d564a69..25ff9b861da1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.html index 2cabc1f8769d..12f14ce0055f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.worker.js index 4fa20456d4b4..6053cb40d199 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.html index 424c08c0ff98..242aaa012809 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.html @@ -34,15 +34,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.worker.js index 562570df6ba4..15e7a6f696cf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.worker.js @@ -30,15 +30,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.html index 7b338dc79231..d51a132f82aa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.html @@ -34,15 +34,15 @@ ctx.moveTo(30-tol, 40); ctx.lineTo(110, -20-tol); ctx.lineTo(110, 100+tol); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.worker.js index 1a138dabd6b9..793d2513dd39 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape2.worker.js @@ -30,15 +30,15 @@ ctx.moveTo(30-tol, 40); ctx.lineTo(110, -20-tol); ctx.lineTo(110, 100+tol); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.html index ce021f4ab6af..9759eb3fa98e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.worker.js index f16460b5ae24..2ee6de3479c7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.html index a63587ec09ec..465ee976fae9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.worker.js index c436c6e773f2..74567335b426 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.equal.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.html index 63a3804ab44c..7c6fd31d67d2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.worker.js index 6db3ac8cd8a2..6d73c0935ac5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.html index e3e4ac250cbb..fbad8b57b569 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.worker.js index 5c307376081f..aa6ecba5f493 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.html index 994e0b6853c4..54794b13fc42 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.html @@ -28,15 +28,15 @@ g.addColorStop(0.993, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.worker.js index 2a8eda9def67..b6d58b656c08 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.worker.js @@ -24,15 +24,15 @@ g.addColorStop(0.993, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.html index e35b67d66032..44b2aa49fc17 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.worker.js index 39720705a483..e1d3cddb2447 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#0f0'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.html index ab26b36bc698..e9e7ce497cd0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.worker.js index 63b4cb0524ff..a3f0235ed7af 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.html index f51f65249ce0..b66480a52c40 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.html @@ -28,15 +28,15 @@ g.addColorStop(0.001, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.worker.js index d369c2a5b77b..7b90c87d0385 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.worker.js @@ -24,15 +24,15 @@ g.addColorStop(0.001, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.html index b1a1bddc4b53..c042b03b3399 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.worker.js index 3bfab866194c..7465345f6bf4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch1.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.html index 6ee97948e747..5da1d592f843 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.html @@ -29,15 +29,15 @@ g.addColorStop(0.99, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.worker.js index 74e9662ef582..91dfcb31acfc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.worker.js @@ -25,15 +25,15 @@ g.addColorStop(0.99, '#0f0'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.html index a21416f4f2e6..804589f074b3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.html @@ -27,15 +27,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.worker.js index 9e476c245f2e..11e17fbb80bf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch3.worker.js @@ -23,15 +23,15 @@ g.addColorStop(0, '#f00'); g.addColorStop(1, '#f00'); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.html index 875c8e6ada99..c54044c0ea62 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.html @@ -29,9 +29,9 @@ ctx.fillStyle = g; ctx.translate(50, 25); ctx.scale(10, 10); ctx.fillRect(-5, -2.5, 10, 5); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.worker.js index 8daebf732a2b..e2159d269f65 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.1.worker.js @@ -25,9 +25,9 @@ ctx.fillStyle = g; ctx.translate(50, 25); ctx.scale(10, 10); ctx.fillRect(-5, -2.5, 10, 5); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.html index e2c221e27982..145c2923e903 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.html @@ -30,9 +30,9 @@ ctx.fillStyle = g; ctx.translate(-50, 25); ctx.scale(10, 10); ctx.fillRect(-5, -2.5, 10, 5); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.worker.js index 83734174e218..511b7f362a43 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.2.worker.js @@ -26,9 +26,9 @@ ctx.fillStyle = g; ctx.translate(-50, 25); ctx.scale(10, 10); ctx.fillRect(-5, -2.5, 10, 5); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.html index ef6a880bc1a4..01d14cfbfc02 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.html @@ -30,9 +30,9 @@ ctx.fillRect(0, 0, 100, 50); ctx.translate(50, 25); ctx.scale(10, 10); ctx.fillRect(-5, -2.5, 10, 5); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.worker.js index a0790f04d5e0..b7bf68a979da 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.transform.3.worker.js @@ -26,9 +26,9 @@ ctx.fillRect(0, 0, 100, 50); ctx.translate(50, 25); ctx.scale(10, 10); ctx.fillRect(-5, -2.5, 10, 5); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.html index 7b437e343755..80bb94666014 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.html @@ -29,15 +29,15 @@ ctx2.fillRect(0, 0, 100, 50); var pattern = ctx.createPattern(offscreenCanvas2, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.worker.js index f76f25acab56..a2608066eac5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.canvas.worker.js @@ -25,15 +25,15 @@ ctx2.fillRect(0, 0, 100, 50); var pattern = ctx.createPattern(offscreenCanvas2, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.html index f99eda301770..965daccd3aa7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.html @@ -36,10 +36,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.worker.js index aca360c81a65..725df51307ed 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.image.worker.js @@ -32,10 +32,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.html index be6c5a1254ba..50cd38ed0f0c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.html @@ -27,10 +27,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.worker.js index e710b2a61b33..8f33ec9d8d93 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.basic.nocontext.worker.js @@ -23,10 +23,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.html index b20ce96573df..c6e0b36092e3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.html @@ -37,7 +37,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.worker.js index 6958906ad0b3..1a1d045ba6f4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.crosscanvas.worker.js @@ -33,7 +33,7 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.html index 9ae28ac647fb..4c27f26347fa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.html @@ -29,10 +29,10 @@ ctx2.fillStyle = '#f00'; ctx2.fillRect(0, 0, 100, 50); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.worker.js index 84d4c81f387a..c83755c984c1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas1.worker.js @@ -25,10 +25,10 @@ ctx2.fillStyle = '#f00'; ctx2.fillRect(0, 0, 100, 50); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.html index 9e65676c9c23..08a6cd896eed 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.html @@ -33,10 +33,10 @@ ctx2.fillStyle = '#f00'; ctx2.fillRect(0, 0, 100, 50); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.worker.js index 9ffa10977195..a49dd10213ed 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.modify.canvas2.worker.js @@ -29,10 +29,10 @@ ctx2.fillStyle = '#f00'; ctx2.fillRect(0, 0, 100, 50); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.html index 7e95b5e6cc60..f5d9f5a5582c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.html @@ -36,10 +36,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.worker.js index 2c822d01efd2..82a49c331b51 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.basic.worker.js @@ -32,10 +32,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.html index 00c3d6a0bf15..87158be57cec 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.html @@ -39,10 +39,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(50, 0); ctx.fillRect(-50, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.worker.js index 59d3d7d9381d..731df50c00f8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord1.worker.js @@ -35,10 +35,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(50, 0); ctx.fillRect(-50, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.html index 193f2b4ee2c4..a600e6ef578c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.html @@ -39,10 +39,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(50, 0); ctx.fillRect(-50, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.worker.js index e3104475295f..bd9c115f0da4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord2.worker.js @@ -35,10 +35,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(50, 0); ctx.fillRect(-50, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.html index ff010a0ecd3b..c569d877053a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.html @@ -39,10 +39,10 @@ promise.then(function(response) { ctx.fillRect(-50, -25, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 25); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.worker.js index 80fa05ebcbe6..cf88ebab7348 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.coord3.worker.js @@ -35,10 +35,10 @@ promise.then(function(response) { ctx.fillRect(-50, -25, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 50, 25); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.html index 4b2dd9356549..4242375b0308 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.html @@ -41,10 +41,10 @@ promise.then(function(response) { ctx.fillRect(-100, 0, 100, 50); ctx.fillRect(0, 50, 100, 50); ctx.fillRect(100, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.worker.js index e0eab9655f97..85a6e43bd109 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside.worker.js @@ -37,10 +37,10 @@ promise.then(function(response) { ctx.fillRect(-100, 0, 100, 50); ctx.fillRect(0, 50, 100, 50); ctx.fillRect(100, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.html index fb0da46c8b77..ccad92e529c6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.html @@ -33,10 +33,10 @@ ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 25); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.worker.js index 088985b9c92f..38fa35f138db 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.canvas.worker.js @@ -29,10 +29,10 @@ ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 25); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.html index 79061ddcad59..377cc58685ba 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.html @@ -41,10 +41,10 @@ promise.then(function(response) { ctx.restore(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 25); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.worker.js index 453c5a737408..fccfe704267b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.orientation.image.worker.js @@ -37,10 +37,10 @@ promise.then(function(response) { ctx.restore(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 25); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.html index a2a3aa7d9104..b5613c379801 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.html @@ -36,10 +36,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.worker.js index 50a9883d1047..1f09d297f9d1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.basic.worker.js @@ -32,10 +32,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.html index b11e802f2811..a4b2bbdd7d89 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.html @@ -37,10 +37,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(-128, -78); ctx.fillRect(128, 78, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.worker.js index f81a902796d2..ea064ea327a6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord1.worker.js @@ -33,10 +33,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(-128, -78); ctx.fillRect(128, 78, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.html index bbffa5d59897..52449506a7d9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.html @@ -34,10 +34,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.worker.js index 469c2a3676d8..29c6f8f006de 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.worker.js @@ -30,10 +30,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'no-repeat'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.html index a0688ba95e2b..d01acb8a6deb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.html @@ -36,10 +36,10 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.translate(-128, -78); ctx.fillRect(128, 78, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.worker.js index abda4b749f31..91c14f98dc0b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord3.worker.js @@ -32,10 +32,10 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.translate(-128, -78); ctx.fillRect(128, 78, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.html index 7b0b40d12b89..2c91f1d736cf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.html @@ -37,10 +37,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(50, 25); ctx.fillRect(-50, -25, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.worker.js index a4f70bd051ef..147eadf8e717 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.outside.worker.js @@ -33,10 +33,10 @@ promise.then(function(response) { ctx.fillStyle = pattern; ctx.translate(50, 25); ctx.fillRect(-50, -25, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.html index 36bc3533a979..ed7cee297d32 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.html @@ -38,10 +38,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'repeat-x'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.worker.js index 408a5cc98aec..d7efcfa1e138 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.worker.js @@ -34,10 +34,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'repeat-x'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.html index ee04dee0258c..342ce06aadf3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.html @@ -39,12 +39,12 @@ promise.then(function(response) { ctx.fillRect(0, -16, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 16); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); - _assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,25, 0,255,0,255); + _assertPixel(canvas, 98,25, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.worker.js index 2e51b4469bd8..351092befd37 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.coord1.worker.js @@ -35,12 +35,12 @@ promise.then(function(response) { ctx.fillRect(0, -16, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 16); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); - _assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,25, 0,255,0,255); + _assertPixel(canvas, 98,25, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.html index ebdafe1c6ee9..ad4a4a246143 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.html @@ -38,10 +38,10 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 16); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.worker.js index 4a2c1c4b2f89..0e031109f287 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeatx.outside.worker.js @@ -34,10 +34,10 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 16); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.html index 43b68e2fda57..6069902498e5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.html @@ -38,10 +38,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'repeat-y'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.worker.js index 1d6b338c499c..09e9b023946a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.basic.worker.js @@ -34,10 +34,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, 'repeat-y'); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 100, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.html index fd79559bcd40..fd1cca2e9592 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.html @@ -39,12 +39,12 @@ promise.then(function(response) { ctx.fillRect(-48, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 50,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 50,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.worker.js index f91d00590118..1701d3cc7663 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.coord1.worker.js @@ -35,12 +35,12 @@ promise.then(function(response) { ctx.fillRect(-48, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 50,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 50,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.html index 44caa8033ba2..b7fbd9eb8794 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.html @@ -38,10 +38,10 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.worker.js index e7b12c95b8b4..7242c8ff484c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeaty.outside.worker.js @@ -34,10 +34,10 @@ promise.then(function(response) { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 16, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.html b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.html index 11c385813536..76e54e9616f0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.html +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.html @@ -36,10 +36,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, ""); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 200, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.worker.js b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.worker.js index 9cf75403d398..e3048881e371 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.repeat.empty.worker.js @@ -32,10 +32,10 @@ promise.then(function(response) { var pattern = ctx.createPattern(bitmap, ""); ctx.fillStyle = pattern; ctx.fillRect(0, 0, 200, 50); - _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); - _assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); - _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); - _assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); + _assertPixel(canvas, 1,1, 0,255,0,255); + _assertPixel(canvas, 98,1, 0,255,0,255); + _assertPixel(canvas, 1,48, 0,255,0,255); + _assertPixel(canvas, 98,48, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.html b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.html index c772b2fa8c44..ece8a52216ee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.html @@ -29,23 +29,23 @@ assert_throws_js(TypeError, function() { new CanvasFilter({filter: "colorMatrix" ctx.fillStyle = "#f00"; ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 0}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 255,0,0,255, "10,10", "255,0,0,255", 2); +_assertPixelApprox(canvas, 10,10, 255,0,0,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 90}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 0,91,0,255, "10,10", "0,91,0,255", 2); +_assertPixelApprox(canvas, 10,10, 0,91,0,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 180}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 0,109,109,255, "10,10", "0,109,109,255", 2); +_assertPixelApprox(canvas, 10,10, 0,109,109,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 270}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 109,18,255,255, "10,10", "109,18,255,255", 2); +_assertPixelApprox(canvas, 10,10, 109,18,255,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "saturate", values: 0.5}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 155,27,27,255, "10,10", "155,27,27,255", 2); +_assertPixelApprox(canvas, 10,10, 155,27,27,255, 2); ctx.clearRect(0, 0, 100, 50); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "luminanceToAlpha"}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 0,0,0,54, "10,10", "0,0,0,54", 2); +_assertPixelApprox(canvas, 10,10, 0,0,0,54, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", values: [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, @@ -59,10 +59,10 @@ ctx.fillStyle = "#00f"; ctx.fillRect(0, 25, 50, 25); ctx.fillStyle = "#fff"; ctx.fillRect(50, 25, 50, 25); -_assertPixelApprox(canvas, 10,10, 0,255,0,255, "10,10", "0,255,0,255", 2); -_assertPixelApprox(canvas, 60,10, 0,255,0,255, "60,10", "0,255,0,255", 2); -_assertPixelApprox(canvas, 10,30, 0,255,0,255, "10,30", "0,255,0,255", 2); -_assertPixelApprox(canvas, 60,30, 0,255,0,255, "60,30", "0,255,0,255", 2); +_assertPixelApprox(canvas, 10,10, 0,255,0,255, 2); +_assertPixelApprox(canvas, 60,10, 0,255,0,255, 2); +_assertPixelApprox(canvas, 10,30, 0,255,0,255, 2); +_assertPixelApprox(canvas, 60,30, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.worker.js index f3bfced9dd09..105f312b9cea 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.colorMatrix.tentative.worker.js @@ -25,23 +25,23 @@ assert_throws_js(TypeError, function() { new CanvasFilter({filter: "colorMatrix" ctx.fillStyle = "#f00"; ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 0}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 255,0,0,255, "10,10", "255,0,0,255", 2); +_assertPixelApprox(canvas, 10,10, 255,0,0,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 90}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 0,91,0,255, "10,10", "0,91,0,255", 2); +_assertPixelApprox(canvas, 10,10, 0,91,0,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 180}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 0,109,109,255, "10,10", "0,109,109,255", 2); +_assertPixelApprox(canvas, 10,10, 0,109,109,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "hueRotate", values: 270}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 109,18,255,255, "10,10", "109,18,255,255", 2); +_assertPixelApprox(canvas, 10,10, 109,18,255,255, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "saturate", values: 0.5}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 155,27,27,255, "10,10", "155,27,27,255", 2); +_assertPixelApprox(canvas, 10,10, 155,27,27,255, 2); ctx.clearRect(0, 0, 100, 50); ctx.filter = new CanvasFilter({filter: "colorMatrix", type: "luminanceToAlpha"}); ctx.fillRect(0, 0, 100, 50); -_assertPixelApprox(canvas, 10,10, 0,0,0,54, "10,10", "0,0,0,54", 2); +_assertPixelApprox(canvas, 10,10, 0,0,0,54, 2); ctx.filter = new CanvasFilter({filter: "colorMatrix", values: [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, @@ -55,10 +55,10 @@ ctx.fillStyle = "#00f"; ctx.fillRect(0, 25, 50, 25); ctx.fillStyle = "#fff"; ctx.fillRect(50, 25, 50, 25); -_assertPixelApprox(canvas, 10,10, 0,255,0,255, "10,10", "0,255,0,255", 2); -_assertPixelApprox(canvas, 60,10, 0,255,0,255, "60,10", "0,255,0,255", 2); -_assertPixelApprox(canvas, 10,30, 0,255,0,255, "10,30", "0,255,0,255", 2); -_assertPixelApprox(canvas, 60,30, 0,255,0,255, "60,30", "0,255,0,255", 2); +_assertPixelApprox(canvas, 10,10, 0,255,0,255, 2); +_assertPixelApprox(canvas, 60,10, 0,255,0,255, 2); +_assertPixelApprox(canvas, 10,30, 0,255,0,255, 2); +_assertPixelApprox(canvas, 60,30, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.html b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.html index a9e77c221761..eaaa12f0a79f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.html @@ -59,7 +59,7 @@ for (const color of inputColors) { let outputColor = getColor(color, [tableValuesR, tableValuesG, tableValuesB]); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.worker.js index 56ffa5ae8a4f..f1274f14253c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.discrete.tentative.worker.js @@ -55,7 +55,7 @@ for (const color of inputColors) { let outputColor = getColor(color, [tableValuesR, tableValuesG, tableValuesB]); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.html b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.html index 36c0ca0583d8..6c5b04ab8a79 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.html @@ -50,7 +50,7 @@ for (const color of inputColors) { let outputColor = getColor(color, amplitudes, exponents, offsets); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.worker.js index 3d1fca79b5b3..14bf50f89dde 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.gamma.tentative.worker.js @@ -46,7 +46,7 @@ for (const color of inputColors) { let outputColor = getColor(color, amplitudes, exponents, offsets); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.html b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.html index 7e8670ed6f3e..a6a7a3615a88 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.html @@ -37,7 +37,7 @@ const inputColors = [ for (const color of inputColors) { ctx.fillStyle = `rgba(${color[0]}, ${color[1]}, ${color[2]}, 1)`, ctx.fillRect(0, 0, 10, 10); - _assertPixel(canvas, 5, 5, color[0],color[1],color[2],255, "5,5", `${color[0]},${color[1]},${color[2]}`); + _assertPixel(canvas, 5, 5, color[0],color[1],color[2],255); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.worker.js index 299b5b385a73..ae749673f436 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.identity.tentative.worker.js @@ -33,7 +33,7 @@ const inputColors = [ for (const color of inputColors) { ctx.fillStyle = `rgba(${color[0]}, ${color[1]}, ${color[2]}, 1)`, ctx.fillRect(0, 0, 10, 10); - _assertPixel(canvas, 5, 5, color[0],color[1],color[2],255, "5,5", `${color[0]},${color[1]},${color[2]}`); + _assertPixel(canvas, 5, 5, color[0],color[1],color[2],255); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html index 66c85e7f879a..f2218b7a1d5a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.html @@ -49,7 +49,7 @@ for (const color of inputColors) { let outputColor = getColor(color, slopes, intercepts); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.worker.js index aaca12b36946..5117d4a1b3b0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.linear.tentative.worker.js @@ -45,7 +45,7 @@ for (const color of inputColors) { let outputColor = getColor(color, slopes, intercepts); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html index 8fe0f2c35f35..9c4c16db8517 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.html @@ -59,7 +59,7 @@ for (const color of inputColors) { let outputColor = getColor(color, [tableValuesR, tableValuesG, tableValuesB]); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.worker.js index 590f4f4dbf0d..e2463eb9e766 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/filters/2d.filter.canvasFilterObject.componentTransfer.table.tentative.worker.js @@ -55,7 +55,7 @@ for (const color of inputColors) { let outputColor = getColor(color, [tableValuesR, tableValuesG, tableValuesB]); ctx.fillStyle = `rgb(${color[0]}, ${color[1]}, ${color[2]})`; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, "5,5", `${outputColor[0]},${outputColor[1]},${outputColor[2]}`, 2); + _assertPixelApprox(canvas, 5, 5, outputColor[0],outputColor[1],outputColor[2],255, 2); } t.done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.html index 86fedde95210..7f34def5648a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.html @@ -38,18 +38,18 @@ ctx.moveTo(75, 15); ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 25,14, 0,255,0,255, "25,14", "0,255,0,255"); -_assertPixel(canvas, 25,15, 0,255,0,255, "25,15", "0,255,0,255"); -_assertPixel(canvas, 25,16, 0,255,0,255, "25,16", "0,255,0,255"); -_assertPixel(canvas, 25,34, 0,255,0,255, "25,34", "0,255,0,255"); -_assertPixel(canvas, 25,35, 0,255,0,255, "25,35", "0,255,0,255"); -_assertPixel(canvas, 25,36, 0,255,0,255, "25,36", "0,255,0,255"); -_assertPixel(canvas, 75,14, 0,255,0,255, "75,14", "0,255,0,255"); -_assertPixel(canvas, 75,15, 0,255,0,255, "75,15", "0,255,0,255"); -_assertPixel(canvas, 75,16, 0,255,0,255, "75,16", "0,255,0,255"); -_assertPixel(canvas, 75,34, 0,255,0,255, "75,34", "0,255,0,255"); -_assertPixel(canvas, 75,35, 0,255,0,255, "75,35", "0,255,0,255"); -_assertPixel(canvas, 75,36, 0,255,0,255, "75,36", "0,255,0,255"); +_assertPixel(canvas, 25,14, 0,255,0,255); +_assertPixel(canvas, 25,15, 0,255,0,255); +_assertPixel(canvas, 25,16, 0,255,0,255); +_assertPixel(canvas, 25,34, 0,255,0,255); +_assertPixel(canvas, 25,35, 0,255,0,255); +_assertPixel(canvas, 25,36, 0,255,0,255); +_assertPixel(canvas, 75,14, 0,255,0,255); +_assertPixel(canvas, 75,15, 0,255,0,255); +_assertPixel(canvas, 75,16, 0,255,0,255); +_assertPixel(canvas, 75,34, 0,255,0,255); +_assertPixel(canvas, 75,35, 0,255,0,255); +_assertPixel(canvas, 75,36, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.worker.js index d31be7946a13..3eacba11a3e1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.butt.worker.js @@ -34,18 +34,18 @@ ctx.moveTo(75, 15); ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 25,14, 0,255,0,255, "25,14", "0,255,0,255"); -_assertPixel(canvas, 25,15, 0,255,0,255, "25,15", "0,255,0,255"); -_assertPixel(canvas, 25,16, 0,255,0,255, "25,16", "0,255,0,255"); -_assertPixel(canvas, 25,34, 0,255,0,255, "25,34", "0,255,0,255"); -_assertPixel(canvas, 25,35, 0,255,0,255, "25,35", "0,255,0,255"); -_assertPixel(canvas, 25,36, 0,255,0,255, "25,36", "0,255,0,255"); -_assertPixel(canvas, 75,14, 0,255,0,255, "75,14", "0,255,0,255"); -_assertPixel(canvas, 75,15, 0,255,0,255, "75,15", "0,255,0,255"); -_assertPixel(canvas, 75,16, 0,255,0,255, "75,16", "0,255,0,255"); -_assertPixel(canvas, 75,34, 0,255,0,255, "75,34", "0,255,0,255"); -_assertPixel(canvas, 75,35, 0,255,0,255, "75,35", "0,255,0,255"); -_assertPixel(canvas, 75,36, 0,255,0,255, "75,36", "0,255,0,255"); +_assertPixel(canvas, 25,14, 0,255,0,255); +_assertPixel(canvas, 25,15, 0,255,0,255); +_assertPixel(canvas, 25,16, 0,255,0,255); +_assertPixel(canvas, 25,34, 0,255,0,255); +_assertPixel(canvas, 25,35, 0,255,0,255); +_assertPixel(canvas, 25,36, 0,255,0,255); +_assertPixel(canvas, 75,14, 0,255,0,255); +_assertPixel(canvas, 75,15, 0,255,0,255); +_assertPixel(canvas, 75,16, 0,255,0,255); +_assertPixel(canvas, 75,34, 0,255,0,255); +_assertPixel(canvas, 75,35, 0,255,0,255); +_assertPixel(canvas, 75,36, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.html index 6a44954f65b2..0a3f3fcab77e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.html @@ -33,10 +33,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 200); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.worker.js index 278739606c61..24bace4c2753 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.closed.worker.js @@ -29,10 +29,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 200); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.html index 9eab060a4f79..00b72b62d2d6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.html @@ -33,10 +33,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 200); ctx.lineTo(200, 200); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.worker.js index 94e70b1d6a48..621de99a83f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.open.worker.js @@ -29,10 +29,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 200); ctx.lineTo(200, 200); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.html index ddf6a4d11751..9f6c66567e90 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.html @@ -47,18 +47,18 @@ ctx.moveTo(85+tol, 15); ctx.arc(75, 15, 10+tol, 0, Math.PI, true); ctx.arc(75, 35, 10+tol, Math.PI, 0, true); ctx.fill(); -_assertPixel(canvas, 17,6, 0,255,0,255, "17,6", "0,255,0,255"); -_assertPixel(canvas, 25,6, 0,255,0,255, "25,6", "0,255,0,255"); -_assertPixel(canvas, 32,6, 0,255,0,255, "32,6", "0,255,0,255"); -_assertPixel(canvas, 17,43, 0,255,0,255, "17,43", "0,255,0,255"); -_assertPixel(canvas, 25,43, 0,255,0,255, "25,43", "0,255,0,255"); -_assertPixel(canvas, 32,43, 0,255,0,255, "32,43", "0,255,0,255"); -_assertPixel(canvas, 67,6, 0,255,0,255, "67,6", "0,255,0,255"); -_assertPixel(canvas, 75,6, 0,255,0,255, "75,6", "0,255,0,255"); -_assertPixel(canvas, 82,6, 0,255,0,255, "82,6", "0,255,0,255"); -_assertPixel(canvas, 67,43, 0,255,0,255, "67,43", "0,255,0,255"); -_assertPixel(canvas, 75,43, 0,255,0,255, "75,43", "0,255,0,255"); -_assertPixel(canvas, 82,43, 0,255,0,255, "82,43", "0,255,0,255"); +_assertPixel(canvas, 17,6, 0,255,0,255); +_assertPixel(canvas, 25,6, 0,255,0,255); +_assertPixel(canvas, 32,6, 0,255,0,255); +_assertPixel(canvas, 17,43, 0,255,0,255); +_assertPixel(canvas, 25,43, 0,255,0,255); +_assertPixel(canvas, 32,43, 0,255,0,255); +_assertPixel(canvas, 67,6, 0,255,0,255); +_assertPixel(canvas, 75,6, 0,255,0,255); +_assertPixel(canvas, 82,6, 0,255,0,255); +_assertPixel(canvas, 67,43, 0,255,0,255); +_assertPixel(canvas, 75,43, 0,255,0,255); +_assertPixel(canvas, 82,43, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.worker.js index 37fffce3c8dc..e744d2906fae 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.round.worker.js @@ -43,18 +43,18 @@ ctx.moveTo(85+tol, 15); ctx.arc(75, 15, 10+tol, 0, Math.PI, true); ctx.arc(75, 35, 10+tol, Math.PI, 0, true); ctx.fill(); -_assertPixel(canvas, 17,6, 0,255,0,255, "17,6", "0,255,0,255"); -_assertPixel(canvas, 25,6, 0,255,0,255, "25,6", "0,255,0,255"); -_assertPixel(canvas, 32,6, 0,255,0,255, "32,6", "0,255,0,255"); -_assertPixel(canvas, 17,43, 0,255,0,255, "17,43", "0,255,0,255"); -_assertPixel(canvas, 25,43, 0,255,0,255, "25,43", "0,255,0,255"); -_assertPixel(canvas, 32,43, 0,255,0,255, "32,43", "0,255,0,255"); -_assertPixel(canvas, 67,6, 0,255,0,255, "67,6", "0,255,0,255"); -_assertPixel(canvas, 75,6, 0,255,0,255, "75,6", "0,255,0,255"); -_assertPixel(canvas, 82,6, 0,255,0,255, "82,6", "0,255,0,255"); -_assertPixel(canvas, 67,43, 0,255,0,255, "67,43", "0,255,0,255"); -_assertPixel(canvas, 75,43, 0,255,0,255, "75,43", "0,255,0,255"); -_assertPixel(canvas, 82,43, 0,255,0,255, "82,43", "0,255,0,255"); +_assertPixel(canvas, 17,6, 0,255,0,255); +_assertPixel(canvas, 25,6, 0,255,0,255); +_assertPixel(canvas, 32,6, 0,255,0,255); +_assertPixel(canvas, 17,43, 0,255,0,255); +_assertPixel(canvas, 25,43, 0,255,0,255); +_assertPixel(canvas, 32,43, 0,255,0,255); +_assertPixel(canvas, 67,6, 0,255,0,255); +_assertPixel(canvas, 75,6, 0,255,0,255); +_assertPixel(canvas, 82,6, 0,255,0,255); +_assertPixel(canvas, 67,43, 0,255,0,255); +_assertPixel(canvas, 75,43, 0,255,0,255); +_assertPixel(canvas, 82,43, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.html index 68f6d2418f14..0fd4b2c71a75 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.html @@ -38,18 +38,18 @@ ctx.moveTo(75, 15); ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 5, 20, 40); -_assertPixel(canvas, 25,4, 0,255,0,255, "25,4", "0,255,0,255"); -_assertPixel(canvas, 25,5, 0,255,0,255, "25,5", "0,255,0,255"); -_assertPixel(canvas, 25,6, 0,255,0,255, "25,6", "0,255,0,255"); -_assertPixel(canvas, 25,44, 0,255,0,255, "25,44", "0,255,0,255"); -_assertPixel(canvas, 25,45, 0,255,0,255, "25,45", "0,255,0,255"); -_assertPixel(canvas, 25,46, 0,255,0,255, "25,46", "0,255,0,255"); -_assertPixel(canvas, 75,4, 0,255,0,255, "75,4", "0,255,0,255"); -_assertPixel(canvas, 75,5, 0,255,0,255, "75,5", "0,255,0,255"); -_assertPixel(canvas, 75,6, 0,255,0,255, "75,6", "0,255,0,255"); -_assertPixel(canvas, 75,44, 0,255,0,255, "75,44", "0,255,0,255"); -_assertPixel(canvas, 75,45, 0,255,0,255, "75,45", "0,255,0,255"); -_assertPixel(canvas, 75,46, 0,255,0,255, "75,46", "0,255,0,255"); +_assertPixel(canvas, 25,4, 0,255,0,255); +_assertPixel(canvas, 25,5, 0,255,0,255); +_assertPixel(canvas, 25,6, 0,255,0,255); +_assertPixel(canvas, 25,44, 0,255,0,255); +_assertPixel(canvas, 25,45, 0,255,0,255); +_assertPixel(canvas, 25,46, 0,255,0,255); +_assertPixel(canvas, 75,4, 0,255,0,255); +_assertPixel(canvas, 75,5, 0,255,0,255); +_assertPixel(canvas, 75,6, 0,255,0,255); +_assertPixel(canvas, 75,44, 0,255,0,255); +_assertPixel(canvas, 75,45, 0,255,0,255); +_assertPixel(canvas, 75,46, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.worker.js index 5f687a057664..7684bbbc85f3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cap.square.worker.js @@ -34,18 +34,18 @@ ctx.moveTo(75, 15); ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 5, 20, 40); -_assertPixel(canvas, 25,4, 0,255,0,255, "25,4", "0,255,0,255"); -_assertPixel(canvas, 25,5, 0,255,0,255, "25,5", "0,255,0,255"); -_assertPixel(canvas, 25,6, 0,255,0,255, "25,6", "0,255,0,255"); -_assertPixel(canvas, 25,44, 0,255,0,255, "25,44", "0,255,0,255"); -_assertPixel(canvas, 25,45, 0,255,0,255, "25,45", "0,255,0,255"); -_assertPixel(canvas, 25,46, 0,255,0,255, "25,46", "0,255,0,255"); -_assertPixel(canvas, 75,4, 0,255,0,255, "75,4", "0,255,0,255"); -_assertPixel(canvas, 75,5, 0,255,0,255, "75,5", "0,255,0,255"); -_assertPixel(canvas, 75,6, 0,255,0,255, "75,6", "0,255,0,255"); -_assertPixel(canvas, 75,44, 0,255,0,255, "75,44", "0,255,0,255"); -_assertPixel(canvas, 75,45, 0,255,0,255, "75,45", "0,255,0,255"); -_assertPixel(canvas, 75,46, 0,255,0,255, "75,46", "0,255,0,255"); +_assertPixel(canvas, 25,4, 0,255,0,255); +_assertPixel(canvas, 25,5, 0,255,0,255); +_assertPixel(canvas, 25,6, 0,255,0,255); +_assertPixel(canvas, 25,44, 0,255,0,255); +_assertPixel(canvas, 25,45, 0,255,0,255); +_assertPixel(canvas, 25,46, 0,255,0,255); +_assertPixel(canvas, 75,4, 0,255,0,255); +_assertPixel(canvas, 75,5, 0,255,0,255); +_assertPixel(canvas, 75,6, 0,255,0,255); +_assertPixel(canvas, 75,44, 0,255,0,255); +_assertPixel(canvas, 75,45, 0,255,0,255); +_assertPixel(canvas, 75,46, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.html index 9569b1c4ef92..09d3a00b3177 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.html @@ -30,10 +30,10 @@ ctx.moveTo(110, 50); ctx.lineTo(110, 60); ctx.lineTo(100, 60); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.worker.js index 4f961fbcf44d..82b289bdeaca 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.cross.worker.js @@ -26,10 +26,10 @@ ctx.moveTo(110, 50); ctx.lineTo(110, 60); ctx.lineTo(100, 60); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.html index 32c365ffdc87..45c8d3eb5439 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.html @@ -53,16 +53,16 @@ ctx.moveTo(80, 20); ctx.lineTo(90+tol, 20); ctx.lineTo(80, 10-tol); ctx.fill(); -_assertPixel(canvas, 34,16, 0,255,0,255, "34,16", "0,255,0,255"); -_assertPixel(canvas, 34,15, 0,255,0,255, "34,15", "0,255,0,255"); -_assertPixel(canvas, 35,15, 0,255,0,255, "35,15", "0,255,0,255"); -_assertPixel(canvas, 36,15, 0,255,0,255, "36,15", "0,255,0,255"); -_assertPixel(canvas, 36,14, 0,255,0,255, "36,14", "0,255,0,255"); -_assertPixel(canvas, 84,16, 0,255,0,255, "84,16", "0,255,0,255"); -_assertPixel(canvas, 84,15, 0,255,0,255, "84,15", "0,255,0,255"); -_assertPixel(canvas, 85,15, 0,255,0,255, "85,15", "0,255,0,255"); -_assertPixel(canvas, 86,15, 0,255,0,255, "86,15", "0,255,0,255"); -_assertPixel(canvas, 86,14, 0,255,0,255, "86,14", "0,255,0,255"); +_assertPixel(canvas, 34,16, 0,255,0,255); +_assertPixel(canvas, 34,15, 0,255,0,255); +_assertPixel(canvas, 35,15, 0,255,0,255); +_assertPixel(canvas, 36,15, 0,255,0,255); +_assertPixel(canvas, 36,14, 0,255,0,255); +_assertPixel(canvas, 84,16, 0,255,0,255); +_assertPixel(canvas, 84,15, 0,255,0,255); +_assertPixel(canvas, 85,15, 0,255,0,255); +_assertPixel(canvas, 86,15, 0,255,0,255); +_assertPixel(canvas, 86,14, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.worker.js index 6917daacf5b9..2dfbf34f1566 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.bevel.worker.js @@ -49,16 +49,16 @@ ctx.moveTo(80, 20); ctx.lineTo(90+tol, 20); ctx.lineTo(80, 10-tol); ctx.fill(); -_assertPixel(canvas, 34,16, 0,255,0,255, "34,16", "0,255,0,255"); -_assertPixel(canvas, 34,15, 0,255,0,255, "34,15", "0,255,0,255"); -_assertPixel(canvas, 35,15, 0,255,0,255, "35,15", "0,255,0,255"); -_assertPixel(canvas, 36,15, 0,255,0,255, "36,15", "0,255,0,255"); -_assertPixel(canvas, 36,14, 0,255,0,255, "36,14", "0,255,0,255"); -_assertPixel(canvas, 84,16, 0,255,0,255, "84,16", "0,255,0,255"); -_assertPixel(canvas, 84,15, 0,255,0,255, "84,15", "0,255,0,255"); -_assertPixel(canvas, 85,15, 0,255,0,255, "85,15", "0,255,0,255"); -_assertPixel(canvas, 86,15, 0,255,0,255, "86,15", "0,255,0,255"); -_assertPixel(canvas, 86,14, 0,255,0,255, "86,14", "0,255,0,255"); +_assertPixel(canvas, 34,16, 0,255,0,255); +_assertPixel(canvas, 34,15, 0,255,0,255); +_assertPixel(canvas, 35,15, 0,255,0,255); +_assertPixel(canvas, 36,15, 0,255,0,255); +_assertPixel(canvas, 36,14, 0,255,0,255); +_assertPixel(canvas, 84,16, 0,255,0,255); +_assertPixel(canvas, 84,15, 0,255,0,255); +_assertPixel(canvas, 85,15, 0,255,0,255); +_assertPixel(canvas, 86,15, 0,255,0,255); +_assertPixel(canvas, 86,14, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.html index 63a06536200a..5e88ad0d0179 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.html @@ -32,10 +32,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 50); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.worker.js index 72c6038146a5..f2b029ecaf08 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.closed.worker.js @@ -28,10 +28,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 50); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.html index 4be38c057573..64918eca3838 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.html @@ -44,16 +44,16 @@ ctx.lineTo(80, 40); ctx.stroke(); ctx.fillRect(60, 10, 30, 20); ctx.fillRect(70, 10, 20, 30); -_assertPixel(canvas, 38,12, 0,255,0,255, "38,12", "0,255,0,255"); -_assertPixel(canvas, 39,11, 0,255,0,255, "39,11", "0,255,0,255"); -_assertPixel(canvas, 40,10, 0,255,0,255, "40,10", "0,255,0,255"); -_assertPixel(canvas, 41,9, 0,255,0,255, "41,9", "0,255,0,255"); -_assertPixel(canvas, 42,8, 0,255,0,255, "42,8", "0,255,0,255"); -_assertPixel(canvas, 88,12, 0,255,0,255, "88,12", "0,255,0,255"); -_assertPixel(canvas, 89,11, 0,255,0,255, "89,11", "0,255,0,255"); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 91,9, 0,255,0,255, "91,9", "0,255,0,255"); -_assertPixel(canvas, 92,8, 0,255,0,255, "92,8", "0,255,0,255"); +_assertPixel(canvas, 38,12, 0,255,0,255); +_assertPixel(canvas, 39,11, 0,255,0,255); +_assertPixel(canvas, 40,10, 0,255,0,255); +_assertPixel(canvas, 41,9, 0,255,0,255); +_assertPixel(canvas, 42,8, 0,255,0,255); +_assertPixel(canvas, 88,12, 0,255,0,255); +_assertPixel(canvas, 89,11, 0,255,0,255); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 91,9, 0,255,0,255); +_assertPixel(canvas, 92,8, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.worker.js index 603b3266a48f..02712a806eb2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.miter.worker.js @@ -40,16 +40,16 @@ ctx.lineTo(80, 40); ctx.stroke(); ctx.fillRect(60, 10, 30, 20); ctx.fillRect(70, 10, 20, 30); -_assertPixel(canvas, 38,12, 0,255,0,255, "38,12", "0,255,0,255"); -_assertPixel(canvas, 39,11, 0,255,0,255, "39,11", "0,255,0,255"); -_assertPixel(canvas, 40,10, 0,255,0,255, "40,10", "0,255,0,255"); -_assertPixel(canvas, 41,9, 0,255,0,255, "41,9", "0,255,0,255"); -_assertPixel(canvas, 42,8, 0,255,0,255, "42,8", "0,255,0,255"); -_assertPixel(canvas, 88,12, 0,255,0,255, "88,12", "0,255,0,255"); -_assertPixel(canvas, 89,11, 0,255,0,255, "89,11", "0,255,0,255"); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 91,9, 0,255,0,255, "91,9", "0,255,0,255"); -_assertPixel(canvas, 92,8, 0,255,0,255, "92,8", "0,255,0,255"); +_assertPixel(canvas, 38,12, 0,255,0,255); +_assertPixel(canvas, 39,11, 0,255,0,255); +_assertPixel(canvas, 40,10, 0,255,0,255); +_assertPixel(canvas, 41,9, 0,255,0,255); +_assertPixel(canvas, 42,8, 0,255,0,255); +_assertPixel(canvas, 88,12, 0,255,0,255); +_assertPixel(canvas, 89,11, 0,255,0,255); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 91,9, 0,255,0,255); +_assertPixel(canvas, 92,8, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.html index 5520601c30c1..48154df59b63 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.html @@ -32,10 +32,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 50); ctx.lineTo(100, 50); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.worker.js index d946fc1ceb07..133854bf5488 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.open.worker.js @@ -28,10 +28,10 @@ ctx.lineTo(1000, 1000); ctx.lineTo(1000, 50); ctx.lineTo(100, 50); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.html index fbd243723bfe..fdda123dd8a4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.html @@ -30,10 +30,10 @@ ctx.moveTo(-100, 25); ctx.lineTo(0, 25); ctx.lineTo(-100, 25); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.worker.js index a625bca10495..68ed957b6d7a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.parallel.worker.js @@ -26,10 +26,10 @@ ctx.moveTo(-100, 25); ctx.lineTo(0, 25); ctx.lineTo(-100, 25); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.html index 79f01ed3695a..ebc71c30f838 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.html @@ -51,16 +51,16 @@ ctx.beginPath(); ctx.moveTo(80, 20); ctx.arc(80, 20, 10+tol, 0, 2*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 36,14, 0,255,0,255, "36,14", "0,255,0,255"); -_assertPixel(canvas, 36,13, 0,255,0,255, "36,13", "0,255,0,255"); -_assertPixel(canvas, 37,13, 0,255,0,255, "37,13", "0,255,0,255"); -_assertPixel(canvas, 38,13, 0,255,0,255, "38,13", "0,255,0,255"); -_assertPixel(canvas, 38,12, 0,255,0,255, "38,12", "0,255,0,255"); -_assertPixel(canvas, 86,14, 0,255,0,255, "86,14", "0,255,0,255"); -_assertPixel(canvas, 86,13, 0,255,0,255, "86,13", "0,255,0,255"); -_assertPixel(canvas, 87,13, 0,255,0,255, "87,13", "0,255,0,255"); -_assertPixel(canvas, 88,13, 0,255,0,255, "88,13", "0,255,0,255"); -_assertPixel(canvas, 88,12, 0,255,0,255, "88,12", "0,255,0,255"); +_assertPixel(canvas, 36,14, 0,255,0,255); +_assertPixel(canvas, 36,13, 0,255,0,255); +_assertPixel(canvas, 37,13, 0,255,0,255); +_assertPixel(canvas, 38,13, 0,255,0,255); +_assertPixel(canvas, 38,12, 0,255,0,255); +_assertPixel(canvas, 86,14, 0,255,0,255); +_assertPixel(canvas, 86,13, 0,255,0,255); +_assertPixel(canvas, 87,13, 0,255,0,255); +_assertPixel(canvas, 88,13, 0,255,0,255); +_assertPixel(canvas, 88,12, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.worker.js index 475070b219c2..c7da3520b3fa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.join.round.worker.js @@ -47,16 +47,16 @@ ctx.beginPath(); ctx.moveTo(80, 20); ctx.arc(80, 20, 10+tol, 0, 2*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 36,14, 0,255,0,255, "36,14", "0,255,0,255"); -_assertPixel(canvas, 36,13, 0,255,0,255, "36,13", "0,255,0,255"); -_assertPixel(canvas, 37,13, 0,255,0,255, "37,13", "0,255,0,255"); -_assertPixel(canvas, 38,13, 0,255,0,255, "38,13", "0,255,0,255"); -_assertPixel(canvas, 38,12, 0,255,0,255, "38,12", "0,255,0,255"); -_assertPixel(canvas, 86,14, 0,255,0,255, "86,14", "0,255,0,255"); -_assertPixel(canvas, 86,13, 0,255,0,255, "86,13", "0,255,0,255"); -_assertPixel(canvas, 87,13, 0,255,0,255, "87,13", "0,255,0,255"); -_assertPixel(canvas, 88,13, 0,255,0,255, "88,13", "0,255,0,255"); -_assertPixel(canvas, 88,12, 0,255,0,255, "88,12", "0,255,0,255"); +_assertPixel(canvas, 36,14, 0,255,0,255); +_assertPixel(canvas, 36,13, 0,255,0,255); +_assertPixel(canvas, 37,13, 0,255,0,255); +_assertPixel(canvas, 38,13, 0,255,0,255); +_assertPixel(canvas, 38,12, 0,255,0,255); +_assertPixel(canvas, 86,14, 0,255,0,255); +_assertPixel(canvas, 86,13, 0,255,0,255); +_assertPixel(canvas, 87,13, 0,255,0,255); +_assertPixel(canvas, 88,13, 0,255,0,255); +_assertPixel(canvas, 88,12, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.html index 4620e179fdad..fd6902ca4d69 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.html @@ -38,10 +38,10 @@ ctx.moveTo(100, 1000); ctx.lineTo(100, 100); ctx.lineTo(1000, 1000); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.worker.js index abb963976bd1..ef2954a7fe2e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.acute.worker.js @@ -34,10 +34,10 @@ ctx.moveTo(100, 1000); ctx.lineTo(100, 100); ctx.lineTo(1000, 1000); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.html index 3e8b444d0026..fd0e7a1ca2ff 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.html @@ -31,10 +31,10 @@ ctx.moveTo(200, 1000); ctx.lineTo(200, 200); ctx.lineTo(1000, 201); // slightly non-right-angle to avoid being a special case ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.worker.js index cccdbc552afb..2e0fbd4910ce 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.exceeded.worker.js @@ -27,10 +27,10 @@ ctx.moveTo(200, 1000); ctx.lineTo(200, 200); ctx.lineTo(1000, 201); // slightly non-right-angle to avoid being a special case ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.html index e6418773449a..292ed560de64 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.html @@ -28,10 +28,10 @@ ctx.strokeStyle = '#f00'; ctx.miterLimit = 1.414; ctx.beginPath(); ctx.strokeRect(100, 25, 200, 0); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.worker.js index fca0924df833..c7fa1e6d1733 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.lineedge.worker.js @@ -24,10 +24,10 @@ ctx.strokeStyle = '#f00'; ctx.miterLimit = 1.414; ctx.beginPath(); ctx.strokeRect(100, 25, 200, 0); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.html index c956dcffbe6d..4e60253ddcad 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.html @@ -38,10 +38,10 @@ ctx.moveTo(800, 10000); ctx.lineTo(800, 300); ctx.lineTo(10000, -8900); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.worker.js index 8b369aa33aa2..3cf78ed21e8e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.obtuse.worker.js @@ -34,10 +34,10 @@ ctx.moveTo(800, 10000); ctx.lineTo(800, 300); ctx.lineTo(10000, -8900); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.html index 331dbb4fb261..33cbe5d02c3b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.html @@ -31,10 +31,10 @@ ctx.moveTo(200, 1000); ctx.lineTo(200, 200); ctx.lineTo(1000, 200); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.worker.js index 15bca3b57ca9..895318c3ef35 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.rightangle.worker.js @@ -27,10 +27,10 @@ ctx.moveTo(200, 1000); ctx.lineTo(200, 200); ctx.lineTo(1000, 200); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.html index ccda7aa48dc8..4af7c84a6a15 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.html @@ -31,10 +31,10 @@ ctx.moveTo(200, 1000); ctx.lineTo(200, 200); ctx.lineTo(1000, 201); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.worker.js index 0a5c16a17b02..64fe4312c271 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.miter.within.worker.js @@ -27,10 +27,10 @@ ctx.moveTo(200, 1000); ctx.lineTo(200, 200); ctx.lineTo(1000, 201); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.html index e3f85ea255bc..60defee7cb8a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.html @@ -31,12 +31,12 @@ ctx.lineTo(100, 25); ctx.lineTo(0, 26); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 25,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 25,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.worker.js index 9770fc7ad79b..ed2623733748 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.union.worker.js @@ -27,12 +27,12 @@ ctx.lineTo(100, 25); ctx.lineTo(0, 26); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255"); -_assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 25,1, 0,255,0,255); +_assertPixel(canvas, 48,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 25,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.html index 1f8513df9f96..9b81b1c386c1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.html @@ -39,20 +39,20 @@ ctx.moveTo(75, 15); ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 14,25, 0,255,0,255, "14,25", "0,255,0,255"); -_assertPixel(canvas, 15,25, 0,255,0,255, "15,25", "0,255,0,255"); -_assertPixel(canvas, 16,25, 0,255,0,255, "16,25", "0,255,0,255"); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 34,25, 0,255,0,255, "34,25", "0,255,0,255"); -_assertPixel(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255"); -_assertPixel(canvas, 36,25, 0,255,0,255, "36,25", "0,255,0,255"); -_assertPixel(canvas, 64,25, 0,255,0,255, "64,25", "0,255,0,255"); -_assertPixel(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255"); -_assertPixel(canvas, 66,25, 0,255,0,255, "66,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 84,25, 0,255,0,255, "84,25", "0,255,0,255"); -_assertPixel(canvas, 85,25, 0,255,0,255, "85,25", "0,255,0,255"); -_assertPixel(canvas, 86,25, 0,255,0,255, "86,25", "0,255,0,255"); +_assertPixel(canvas, 14,25, 0,255,0,255); +_assertPixel(canvas, 15,25, 0,255,0,255); +_assertPixel(canvas, 16,25, 0,255,0,255); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 34,25, 0,255,0,255); +_assertPixel(canvas, 35,25, 0,255,0,255); +_assertPixel(canvas, 36,25, 0,255,0,255); +_assertPixel(canvas, 64,25, 0,255,0,255); +_assertPixel(canvas, 65,25, 0,255,0,255); +_assertPixel(canvas, 66,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 84,25, 0,255,0,255); +_assertPixel(canvas, 85,25, 0,255,0,255); +_assertPixel(canvas, 86,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.worker.js index d1b6a353fa1f..e822679c637a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.basic.worker.js @@ -35,20 +35,20 @@ ctx.moveTo(75, 15); ctx.lineTo(75, 35); ctx.stroke(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 14,25, 0,255,0,255, "14,25", "0,255,0,255"); -_assertPixel(canvas, 15,25, 0,255,0,255, "15,25", "0,255,0,255"); -_assertPixel(canvas, 16,25, 0,255,0,255, "16,25", "0,255,0,255"); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 34,25, 0,255,0,255, "34,25", "0,255,0,255"); -_assertPixel(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255"); -_assertPixel(canvas, 36,25, 0,255,0,255, "36,25", "0,255,0,255"); -_assertPixel(canvas, 64,25, 0,255,0,255, "64,25", "0,255,0,255"); -_assertPixel(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255"); -_assertPixel(canvas, 66,25, 0,255,0,255, "66,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 84,25, 0,255,0,255, "84,25", "0,255,0,255"); -_assertPixel(canvas, 85,25, 0,255,0,255, "85,25", "0,255,0,255"); -_assertPixel(canvas, 86,25, 0,255,0,255, "86,25", "0,255,0,255"); +_assertPixel(canvas, 14,25, 0,255,0,255); +_assertPixel(canvas, 15,25, 0,255,0,255); +_assertPixel(canvas, 16,25, 0,255,0,255); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 34,25, 0,255,0,255); +_assertPixel(canvas, 35,25, 0,255,0,255); +_assertPixel(canvas, 36,25, 0,255,0,255); +_assertPixel(canvas, 64,25, 0,255,0,255); +_assertPixel(canvas, 65,25, 0,255,0,255); +_assertPixel(canvas, 66,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 84,25, 0,255,0,255); +_assertPixel(canvas, 85,25, 0,255,0,255); +_assertPixel(canvas, 86,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.html index 09ae21212959..78139978580c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.html @@ -27,11 +27,11 @@ ctx.strokeStyle = '#0f0'; ctx.moveTo(0, 0.5); ctx.lineTo(2, 0.5); ctx.stroke(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 50,5, 0,255,0,255, "50,5", "0,255,0,255"); -_assertPixel(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 50,5, 0,255,0,255); +_assertPixel(canvas, 50,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.worker.js index d6251463484e..f9506c4accfa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.scaledefault.worker.js @@ -23,11 +23,11 @@ ctx.strokeStyle = '#0f0'; ctx.moveTo(0, 0.5); ctx.lineTo(2, 0.5); ctx.stroke(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 50,5, 0,255,0,255, "50,5", "0,255,0,255"); -_assertPixel(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 50,5, 0,255,0,255); +_assertPixel(canvas, 50,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.html b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.html index c99078517f43..e75cccd99127 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.html +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.html @@ -45,20 +45,20 @@ ctx.save(); ctx.stroke(); ctx.restore(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 14,25, 0,255,0,255, "14,25", "0,255,0,255"); -_assertPixel(canvas, 15,25, 0,255,0,255, "15,25", "0,255,0,255"); -_assertPixel(canvas, 16,25, 0,255,0,255, "16,25", "0,255,0,255"); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 34,25, 0,255,0,255, "34,25", "0,255,0,255"); -_assertPixel(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255"); -_assertPixel(canvas, 36,25, 0,255,0,255, "36,25", "0,255,0,255"); -_assertPixel(canvas, 64,25, 0,255,0,255, "64,25", "0,255,0,255"); -_assertPixel(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255"); -_assertPixel(canvas, 66,25, 0,255,0,255, "66,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 84,25, 0,255,0,255, "84,25", "0,255,0,255"); -_assertPixel(canvas, 85,25, 0,255,0,255, "85,25", "0,255,0,255"); -_assertPixel(canvas, 86,25, 0,255,0,255, "86,25", "0,255,0,255"); +_assertPixel(canvas, 14,25, 0,255,0,255); +_assertPixel(canvas, 15,25, 0,255,0,255); +_assertPixel(canvas, 16,25, 0,255,0,255); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 34,25, 0,255,0,255); +_assertPixel(canvas, 35,25, 0,255,0,255); +_assertPixel(canvas, 36,25, 0,255,0,255); +_assertPixel(canvas, 64,25, 0,255,0,255); +_assertPixel(canvas, 65,25, 0,255,0,255); +_assertPixel(canvas, 66,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 84,25, 0,255,0,255); +_assertPixel(canvas, 85,25, 0,255,0,255); +_assertPixel(canvas, 86,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.worker.js b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.worker.js index 2ed23fb68780..f377d03ca75d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/line-styles/2d.line.width.transformed.worker.js @@ -41,20 +41,20 @@ ctx.save(); ctx.stroke(); ctx.restore(); ctx.fillRect(65, 15, 20, 20); -_assertPixel(canvas, 14,25, 0,255,0,255, "14,25", "0,255,0,255"); -_assertPixel(canvas, 15,25, 0,255,0,255, "15,25", "0,255,0,255"); -_assertPixel(canvas, 16,25, 0,255,0,255, "16,25", "0,255,0,255"); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 34,25, 0,255,0,255, "34,25", "0,255,0,255"); -_assertPixel(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255"); -_assertPixel(canvas, 36,25, 0,255,0,255, "36,25", "0,255,0,255"); -_assertPixel(canvas, 64,25, 0,255,0,255, "64,25", "0,255,0,255"); -_assertPixel(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255"); -_assertPixel(canvas, 66,25, 0,255,0,255, "66,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); -_assertPixel(canvas, 84,25, 0,255,0,255, "84,25", "0,255,0,255"); -_assertPixel(canvas, 85,25, 0,255,0,255, "85,25", "0,255,0,255"); -_assertPixel(canvas, 86,25, 0,255,0,255, "86,25", "0,255,0,255"); +_assertPixel(canvas, 14,25, 0,255,0,255); +_assertPixel(canvas, 15,25, 0,255,0,255); +_assertPixel(canvas, 16,25, 0,255,0,255); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 34,25, 0,255,0,255); +_assertPixel(canvas, 35,25, 0,255,0,255); +_assertPixel(canvas, 36,25, 0,255,0,255); +_assertPixel(canvas, 64,25, 0,255,0,255); +_assertPixel(canvas, 65,25, 0,255,0,255); +_assertPixel(canvas, 66,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); +_assertPixel(canvas, 84,25, 0,255,0,255); +_assertPixel(canvas, 85,25, 0,255,0,255); +_assertPixel(canvas, 86,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html index fa0e2ac5fc8b..4ee68b430fda 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html @@ -11,7 +11,7 @@ function verifyPlaceholder(placeholder, expectedR, expectedG, expectedB, expecte canvas.width = canvas.height = 10; var ctx = canvas.getContext('2d'); ctx.drawImage(placeholder, 0, 0); - _assertPixel(canvas, 5,5, expectedR, expectedG, expectedB, expectedA, "5,5", expectedClrStr); + _assertPixel(canvas, 5,5, expectedR, expectedG, expectedB, expectedA); } async_test(function(t) { diff --git a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.w.html b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.w.html index 6d4bad11c948..7d1d2c85f9cf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.w.html +++ b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.w.html @@ -46,7 +46,7 @@ function verifyPlaceholder(placeholder) { canvas.width = canvas.height = 10; var ctx = canvas.getContext('2d'); ctx.drawImage(placeholder, 0, 0); - _assertPixel(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255"); + _assertPixel(canvas, 5,5, 0,255,0,255); } function makeWorker(test) { diff --git a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html index 537b582dc1b5..51c167ddca99 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html +++ b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.html @@ -57,7 +57,7 @@ test(function() { var ctx = offscreenCanvas.getContext('2d', {alpha: false}); ctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(offscreenCanvas, 5,5, 0,127,0,255, "5,5", "0,127,0,255", 2); + _assertPixelApprox(offscreenCanvas, 5,5, 0,127,0,255, 2); }, "Test that OffscreenCanvasRenderingContext2D with alpha disabled makes the OffscreenCanvas opaque"); test(function() { @@ -65,7 +65,7 @@ test(function() { var ctx = offscreenCanvas.getContext('2d', {alpha: true}); ctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, "5,5", "0,255,0,127", 2); + _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, 2); }, "Test that OffscreenCanvasRenderingContext2D with alpha enabled preserves the alpha"); test(function() { @@ -73,7 +73,7 @@ test(function() { var ctx = offscreenCanvas.getContext('2d'); ctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, "5,5", "0,255,0,127", 2); + _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, 2); }, "Test that 'alpha' context creation attribute is true by default"); diff --git a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js index ad5e1243e97e..c413791f61bf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.js @@ -55,7 +55,7 @@ test(function() { var ctx = offscreenCanvas.getContext('2d', {alpha: false}); ctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(offscreenCanvas, 5,5, 0,127,0,255, "5,5", "0,127,0,255", 2); + _assertPixelApprox(offscreenCanvas, 5,5, 0,127,0,255, 2); }, "Test that OffscreenCanvasRenderingContext2D with alpha disabled makes the OffscreenCanvas opaque"); test(function() { @@ -63,7 +63,7 @@ test(function() { var ctx = offscreenCanvas.getContext('2d', {alpha: true}); ctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, "5,5", "0,255,0,127", 2); + _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, 2); }, "Test that OffscreenCanvasRenderingContext2D with alpha enabled preserves the alpha"); test(function() { @@ -71,7 +71,7 @@ test(function() { var ctx = offscreenCanvas.getContext('2d'); ctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; ctx.fillRect(0, 0, 10, 10); - _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, "5,5", "0,255,0,127", 2); + _assertPixelApprox(offscreenCanvas, 5,5, 0,255,0,127, 2); }, "Test that 'alpha' context creation attribute is true by default"); done(); diff --git a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html index c9a83802a43f..6e1adf9591fa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html +++ b/testing/web-platform/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html @@ -50,11 +50,11 @@ test(function() { if (shouldCallTwice) { if (alphaVal) - _assertPixel(drawCanvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0"); + _assertPixel(drawCanvas, 50,25, 0,0,0,0); else - _assertPixel(drawCanvas, 50,25, 0,0,0,255, "50,25", "0,0,0,255"); + _assertPixel(drawCanvas, 50,25, 0,0,0,255); } else { - _assertPixel(drawCanvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(drawCanvas, 50,25, 0,255,0,255); } } @@ -90,9 +90,9 @@ test(function() { var dCtx = drawCanvas.getContext('2d'); dCtx.drawImage(image2, 0, 0); // Verify that transform was carried over. - _assertPixel(drawCanvas, 23,25, 0,255,0,255, "23,25", "0,255,0,255"); + _assertPixel(drawCanvas, 23,25, 0,255,0,255); // Verify that clip was carried over. - _assertPixel(drawCanvas, 27,25, 0,0,0,0, "27,25", "0,0,0,0"); + _assertPixel(drawCanvas, 27,25, 0,0,0,0); }, "Test that transferToImageBitmap preserves transform"); async_test(function(t) { diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.html index 3f4e85d7ad18..cf358e38fc1d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, Math.PI/2, -Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.worker.js index b8dfd990a2c8..5a1f54c4c2fb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.1.worker.js @@ -23,7 +23,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, Math.PI/2, -Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.html index 389db761cc72..9b3983fb370c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, -3*Math.PI/2, -Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.worker.js index 9d84eee957d1..15bf295b2d57 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.2.worker.js @@ -23,7 +23,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, -3*Math.PI/2, -Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.html index e89cdc57e44e..a757b31efba8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, (512+1/2)*Math.PI, (1024-1)*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.worker.js index 4ebd45b1c62a..646349fb99f3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.3.worker.js @@ -23,7 +23,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, (512+1/2)*Math.PI, (1024-1)*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.html index e40a05e3dc23..b8e4d54027df 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.html @@ -27,10 +27,10 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arc(50, 25, 60, (512+1/2)*Math.PI, (1024-1)*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.worker.js index 93ad2723477e..8fa2ef137d7b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.4.worker.js @@ -23,10 +23,10 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arc(50, 25, 60, (512+1/2)*Math.PI, (1024-1)*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.html index 5ab209b4b9be..f13a2e41c964 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, (1024-1)*Math.PI, (512+1/2)*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.worker.js index 651ec5a9b78f..50b23cd9ba88 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.5.worker.js @@ -23,7 +23,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, (1024-1)*Math.PI, (512+1/2)*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.html index 3c8e2a6623e7..88184b8d77d4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.html @@ -27,10 +27,10 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arc(50, 25, 60, (1024-1)*Math.PI, (512+1/2)*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.worker.js index 27024158a8de..38bd40489ba9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.angle.6.worker.js @@ -23,10 +23,10 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arc(50, 25, 60, (1024-1)*Math.PI, (512+1/2)*Math.PI, true); ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.html index 58aa1f981c8e..848f20c32fa9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.html @@ -27,7 +27,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, -Math.PI, Math.PI/2); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.worker.js index 8ad1a6f90264..c73829a0eeee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.default.worker.js @@ -23,7 +23,7 @@ ctx.beginPath(); ctx.moveTo(100, 0); ctx.arc(100, 0, 150, -Math.PI, Math.PI/2); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.html index 16889781cf4d..9098b7fe0232 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.html @@ -27,7 +27,7 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(200, 25, 5, 0, 2*Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.worker.js index 916e6b889f98..82281ea4b083 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.empty.worker.js @@ -23,7 +23,7 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(200, 25, 5, 0, 2*Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.html index 65fa073150a3..12be27afa662 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.html @@ -29,7 +29,7 @@ ctx.moveTo(-100, 0); ctx.arc(-100, 0, 25, -Math.PI/2, Math.PI/2, true); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.worker.js index a2653efd0c88..a2519f0bad02 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.end.worker.js @@ -25,7 +25,7 @@ ctx.moveTo(-100, 0); ctx.arc(-100, 0, 25, -Math.PI/2, Math.PI/2, true); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.html index b88812171d73..542940435af0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arc(200, 25, 5, 0, 2*Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.worker.js index 8e30f5696ca9..1d7de7748685 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonempty.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arc(200, 25, 5, 0, 2*Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.html index c37dec24e75a..c65af631b54f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.html @@ -69,8 +69,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.worker.js index d027f5d36bdf..f83dcf1080dc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.nonfinite.worker.js @@ -65,8 +65,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.html index 52d03ed8c90b..3b0aed390f58 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.html @@ -38,15 +38,15 @@ ctx.arc(25, -25, 24, 0, 2*Math.PI, false); ctx.moveTo(25, 125); ctx.arc(25, 125, 24, 0, 2*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.worker.js index 04372c2d047e..ec300985c8a6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.1.worker.js @@ -34,15 +34,15 @@ ctx.arc(25, -25, 24, 0, 2*Math.PI, false); ctx.moveTo(25, 125); ctx.arc(25, 125, 24, 0, 2*Math.PI, false); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.html index cd38bdfcbe0b..f6822f8203fa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.html @@ -28,15 +28,15 @@ ctx.lineWidth = 1.2; ctx.beginPath(); ctx.arc(0, 0, 0.6, 0, Math.PI/2, false); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.worker.js index e419c7cc22bf..d946f7f0fee9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.scale.2.worker.js @@ -24,15 +24,15 @@ ctx.lineWidth = 1.2; ctx.beginPath(); ctx.arc(0, 0, 0.6, 0, Math.PI/2, false); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.html index c8fe46103bcc..9e8803a102da 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.html @@ -30,8 +30,8 @@ ctx.stroke(); ctx.beginPath(); ctx.arc(0, 0, 25, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.worker.js index 75e366edff42..84cb983f1aae 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.1.worker.js @@ -26,8 +26,8 @@ ctx.stroke(); ctx.beginPath(); ctx.arc(0, 0, 25, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.html index c5cb5cd3001e..f2118ef29b89 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.html @@ -30,12 +30,12 @@ ctx.stroke(); ctx.beginPath(); ctx.arc(100, 0, 25, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 97,1, 0,255,0,255, "97,1", "0,255,0,255"); -_assertPixel(canvas, 97,2, 0,255,0,255, "97,2", "0,255,0,255"); -_assertPixel(canvas, 97,3, 0,255,0,255, "97,3", "0,255,0,255"); -_assertPixel(canvas, 2,48, 0,255,0,255, "2,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 97,1, 0,255,0,255); +_assertPixel(canvas, 97,2, 0,255,0,255); +_assertPixel(canvas, 97,3, 0,255,0,255); +_assertPixel(canvas, 2,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.worker.js index 769d5faa913b..be7f13aee7e1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.selfintersect.2.worker.js @@ -26,12 +26,12 @@ ctx.stroke(); ctx.beginPath(); ctx.arc(100, 0, 25, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 97,1, 0,255,0,255, "97,1", "0,255,0,255"); -_assertPixel(canvas, 97,2, 0,255,0,255, "97,2", "0,255,0,255"); -_assertPixel(canvas, 97,3, 0,255,0,255, "97,3", "0,255,0,255"); -_assertPixel(canvas, 2,48, 0,255,0,255, "2,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 97,1, 0,255,0,255); +_assertPixel(canvas, 97,2, 0,255,0,255); +_assertPixel(canvas, 97,3, 0,255,0,255); +_assertPixel(canvas, 2,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.html index 301cd054a5fa..42242536e2bd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.html @@ -27,12 +27,12 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(50, 50, 50, 0, Math.PI, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 20,48, 0,255,0,255, "20,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 20,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.worker.js index ed5a7ffa0f70..b41863bfb7b1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.1.worker.js @@ -23,12 +23,12 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(50, 50, 50, 0, Math.PI, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 20,48, 0,255,0,255, "20,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 20,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.html index cb60d6686196..1e33a0241633 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.html @@ -27,12 +27,12 @@ ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.arc(50, 50, 50, 0, Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 20,48, 0,255,0,255, "20,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 20,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.worker.js index b470bb63ce73..d5d6cb7b7e3d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.2.worker.js @@ -23,12 +23,12 @@ ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.arc(50, 50, 50, 0, Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 20,48, 0,255,0,255, "20,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 20,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.html index 14cd7fe60306..b90284e5798a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.html @@ -27,11 +27,11 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(0, 50, 50, 0, -Math.PI/2, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.worker.js index 1e4843e57742..5d0cf805399e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.3.worker.js @@ -23,11 +23,11 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(0, 50, 50, 0, -Math.PI/2, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.html index 81a533abb166..dce9547a6b4e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.html @@ -27,11 +27,11 @@ ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.arc(-50, 50, 100, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.worker.js index 0de7e2d458e0..8bd028b0bd17 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.4.worker.js @@ -23,11 +23,11 @@ ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.arc(-50, 50, 100, 0, -Math.PI/2, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.html index b9621da7ea78..bd7e54af3b91 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.html @@ -27,11 +27,11 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(300, 0, 100, 0, 5*Math.PI, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.worker.js index 212de173ebe3..0584590afb31 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.shape.5.worker.js @@ -23,11 +23,11 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arc(300, 0, 100, 0, 5*Math.PI, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.html index 01a930e86476..ddf200c88b59 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI - 1e-4, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.worker.js index 94b38b479f76..c56d25c70ba1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.1.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI - 1e-4, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.html index 26344fe99382..0a9e0c782a61 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI - 1e-4, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.worker.js index 505250233f71..5db75de2a268 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.2.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI - 1e-4, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.html index 1c2112eb951e..df1e45480d46 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI + 1e-4, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.worker.js index 4382003e17cf..0c984884c9a9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.3.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI + 1e-4, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.html index 6809cb441d80..8afa122c7c20 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI + 1e-4, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.worker.js index ecc65e4a3e82..3158528f6579 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.twopie.4.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 2*Math.PI + 1e-4, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.html index 530a4304f590..f26162f22382 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 0, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.worker.js index 4fb264a59263..efb137a92af8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.1.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 0, true); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.html index 60b860cef00f..f2eda4b8a2de 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 0, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.worker.js index f7cca0bb5485..28f4f3759afd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zero.2.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.arc(50, 25, 50, 0, 0, false); ctx.stroke(); -_assertPixel(canvas, 50,20, 0,255,0,255, "50,20", "0,255,0,255"); +_assertPixel(canvas, 50,20, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.html index 4f7791802c40..2d56e369b893 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arc(200, 25, 0, 0, Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.worker.js index cd228d4904bd..c57046ab94db 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arc.zeroradius.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arc(200, 25, 0, 0, Math.PI, true); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.html index 233dda5d29a7..58b26356991c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.html @@ -34,9 +34,9 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arcTo(50, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.worker.js index 57e5766a3aa3..44926712fcf1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.1.worker.js @@ -30,9 +30,9 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.arcTo(50, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.html index 46a7c52b304f..d85e310c8526 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arcTo(100, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.worker.js index eced5ad8ac19..c8b336a494e1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.coincide.2.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arcTo(100, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.html index 471ac41b827c..5531ca62ae09 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.html @@ -33,7 +33,7 @@ ctx.beginPath(); ctx.moveTo(-100, 25); ctx.arcTo(0, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.worker.js index f765cff0a9be..3864a311db37 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.1.worker.js @@ -29,7 +29,7 @@ ctx.beginPath(); ctx.moveTo(-100, 25); ctx.arcTo(0, 25, 100, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.html index 5a8fc62e3d4e..a78d626ef0a5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.html @@ -33,7 +33,7 @@ ctx.beginPath(); ctx.moveTo(100, 25); ctx.arcTo(200, 25, 110, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.worker.js index 9b081699e8ac..6f4c2aa8c65e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.2.worker.js @@ -29,7 +29,7 @@ ctx.beginPath(); ctx.moveTo(100, 25); ctx.arcTo(200, 25, 110, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.html index b042e1136c05..f2d52e424178 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.html @@ -37,7 +37,7 @@ ctx.beginPath(); ctx.moveTo(-100, 25); ctx.arcTo(0, 25, -200, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.worker.js index d6eef69523a7..2d152b0d83fc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.collinear.3.worker.js @@ -33,7 +33,7 @@ ctx.beginPath(); ctx.moveTo(-100, 25); ctx.arcTo(0, 25, -200, 25, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.html index aee1d50b5b15..81dc7b1bd818 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.html @@ -27,7 +27,7 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arcTo(100, 50, 200, 50, 0.1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.worker.js index 8481a37108b0..99354ac735a8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.1.worker.js @@ -23,7 +23,7 @@ ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.arcTo(100, 50, 200, 50, 0.1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.html index 36b143cdb3a1..43c9aec29411 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.arcTo(0, 25, 50, 250, 0.1); // adds (x1,y1), draws nothing ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.worker.js index e27280f5b659..aad3d006c992 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.ensuresubpath.2.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.arcTo(0, 25, 50, 250, 0.1); // adds (x1,y1), draws nothing ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.html index be6fcff31b7f..982ad4a9648c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.html @@ -67,8 +67,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.worker.js index 6ad8e6012338..6aa674fc90d6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.nonfinite.worker.js @@ -63,8 +63,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.html index 1abbf953ad48..7139455bda45 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.html @@ -30,15 +30,15 @@ ctx.scale(0.1, 1); ctx.arcTo(50, 50, 50, 0, 50); ctx.lineTo(-1000, 0); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.worker.js index 998265de84fa..b06c8f935c5c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.scale.worker.js @@ -26,15 +26,15 @@ ctx.scale(0.1, 1); ctx.arcTo(50, 50, 50, 0, 50); ctx.lineTo(-1000, 0); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.html index 7ba352fa5971..659b02ceed44 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.html @@ -36,20 +36,20 @@ ctx.moveTo(80, 45); ctx.arc(55, 45, 25+tol, 0, -Math.PI/2, true); ctx.arc(55, 45, 15-tol, -Math.PI/2, 0, false); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 55,19, 0,255,0,255, "55,19", "0,255,0,255"); -_assertPixel(canvas, 55,20, 0,255,0,255, "55,20", "0,255,0,255"); -_assertPixel(canvas, 55,21, 0,255,0,255, "55,21", "0,255,0,255"); -_assertPixel(canvas, 64,22, 0,255,0,255, "64,22", "0,255,0,255"); -_assertPixel(canvas, 65,21, 0,255,0,255, "65,21", "0,255,0,255"); -_assertPixel(canvas, 72,28, 0,255,0,255, "72,28", "0,255,0,255"); -_assertPixel(canvas, 73,27, 0,255,0,255, "73,27", "0,255,0,255"); -_assertPixel(canvas, 78,36, 0,255,0,255, "78,36", "0,255,0,255"); -_assertPixel(canvas, 79,35, 0,255,0,255, "79,35", "0,255,0,255"); -_assertPixel(canvas, 80,44, 0,255,0,255, "80,44", "0,255,0,255"); -_assertPixel(canvas, 80,45, 0,255,0,255, "80,45", "0,255,0,255"); -_assertPixel(canvas, 80,46, 0,255,0,255, "80,46", "0,255,0,255"); -_assertPixel(canvas, 65,45, 0,255,0,255, "65,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 55,19, 0,255,0,255); +_assertPixel(canvas, 55,20, 0,255,0,255); +_assertPixel(canvas, 55,21, 0,255,0,255); +_assertPixel(canvas, 64,22, 0,255,0,255); +_assertPixel(canvas, 65,21, 0,255,0,255); +_assertPixel(canvas, 72,28, 0,255,0,255); +_assertPixel(canvas, 73,27, 0,255,0,255); +_assertPixel(canvas, 78,36, 0,255,0,255); +_assertPixel(canvas, 79,35, 0,255,0,255); +_assertPixel(canvas, 80,44, 0,255,0,255); +_assertPixel(canvas, 80,45, 0,255,0,255); +_assertPixel(canvas, 80,46, 0,255,0,255); +_assertPixel(canvas, 65,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.worker.js index ff04a00e1924..5223b55abb29 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve1.worker.js @@ -32,20 +32,20 @@ ctx.moveTo(80, 45); ctx.arc(55, 45, 25+tol, 0, -Math.PI/2, true); ctx.arc(55, 45, 15-tol, -Math.PI/2, 0, false); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 55,19, 0,255,0,255, "55,19", "0,255,0,255"); -_assertPixel(canvas, 55,20, 0,255,0,255, "55,20", "0,255,0,255"); -_assertPixel(canvas, 55,21, 0,255,0,255, "55,21", "0,255,0,255"); -_assertPixel(canvas, 64,22, 0,255,0,255, "64,22", "0,255,0,255"); -_assertPixel(canvas, 65,21, 0,255,0,255, "65,21", "0,255,0,255"); -_assertPixel(canvas, 72,28, 0,255,0,255, "72,28", "0,255,0,255"); -_assertPixel(canvas, 73,27, 0,255,0,255, "73,27", "0,255,0,255"); -_assertPixel(canvas, 78,36, 0,255,0,255, "78,36", "0,255,0,255"); -_assertPixel(canvas, 79,35, 0,255,0,255, "79,35", "0,255,0,255"); -_assertPixel(canvas, 80,44, 0,255,0,255, "80,44", "0,255,0,255"); -_assertPixel(canvas, 80,45, 0,255,0,255, "80,45", "0,255,0,255"); -_assertPixel(canvas, 80,46, 0,255,0,255, "80,46", "0,255,0,255"); -_assertPixel(canvas, 65,45, 0,255,0,255, "65,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 55,19, 0,255,0,255); +_assertPixel(canvas, 55,20, 0,255,0,255); +_assertPixel(canvas, 55,21, 0,255,0,255); +_assertPixel(canvas, 64,22, 0,255,0,255); +_assertPixel(canvas, 65,21, 0,255,0,255); +_assertPixel(canvas, 72,28, 0,255,0,255); +_assertPixel(canvas, 73,27, 0,255,0,255); +_assertPixel(canvas, 78,36, 0,255,0,255); +_assertPixel(canvas, 79,35, 0,255,0,255); +_assertPixel(canvas, 80,44, 0,255,0,255); +_assertPixel(canvas, 80,45, 0,255,0,255); +_assertPixel(canvas, 80,46, 0,255,0,255); +_assertPixel(canvas, 65,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.html index 8d1f4953dd83..02ab6c1437d8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.html @@ -36,19 +36,19 @@ ctx.beginPath(); ctx.moveTo(10, 25); ctx.arcTo(75, 25, 75, 60, 20); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 55,19, 0,255,0,255, "55,19", "0,255,0,255"); -_assertPixel(canvas, 55,20, 0,255,0,255, "55,20", "0,255,0,255"); -_assertPixel(canvas, 55,21, 0,255,0,255, "55,21", "0,255,0,255"); -_assertPixel(canvas, 64,22, 0,255,0,255, "64,22", "0,255,0,255"); -_assertPixel(canvas, 65,21, 0,255,0,255, "65,21", "0,255,0,255"); -_assertPixel(canvas, 72,28, 0,255,0,255, "72,28", "0,255,0,255"); -_assertPixel(canvas, 73,27, 0,255,0,255, "73,27", "0,255,0,255"); -_assertPixel(canvas, 78,36, 0,255,0,255, "78,36", "0,255,0,255"); -_assertPixel(canvas, 79,35, 0,255,0,255, "79,35", "0,255,0,255"); -_assertPixel(canvas, 80,44, 0,255,0,255, "80,44", "0,255,0,255"); -_assertPixel(canvas, 80,45, 0,255,0,255, "80,45", "0,255,0,255"); -_assertPixel(canvas, 80,46, 0,255,0,255, "80,46", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 55,19, 0,255,0,255); +_assertPixel(canvas, 55,20, 0,255,0,255); +_assertPixel(canvas, 55,21, 0,255,0,255); +_assertPixel(canvas, 64,22, 0,255,0,255); +_assertPixel(canvas, 65,21, 0,255,0,255); +_assertPixel(canvas, 72,28, 0,255,0,255); +_assertPixel(canvas, 73,27, 0,255,0,255); +_assertPixel(canvas, 78,36, 0,255,0,255); +_assertPixel(canvas, 79,35, 0,255,0,255); +_assertPixel(canvas, 80,44, 0,255,0,255); +_assertPixel(canvas, 80,45, 0,255,0,255); +_assertPixel(canvas, 80,46, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.worker.js index b83dff1d2a15..f06c2cdc33f2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.curve2.worker.js @@ -32,19 +32,19 @@ ctx.beginPath(); ctx.moveTo(10, 25); ctx.arcTo(75, 25, 75, 60, 20); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 55,19, 0,255,0,255, "55,19", "0,255,0,255"); -_assertPixel(canvas, 55,20, 0,255,0,255, "55,20", "0,255,0,255"); -_assertPixel(canvas, 55,21, 0,255,0,255, "55,21", "0,255,0,255"); -_assertPixel(canvas, 64,22, 0,255,0,255, "64,22", "0,255,0,255"); -_assertPixel(canvas, 65,21, 0,255,0,255, "65,21", "0,255,0,255"); -_assertPixel(canvas, 72,28, 0,255,0,255, "72,28", "0,255,0,255"); -_assertPixel(canvas, 73,27, 0,255,0,255, "73,27", "0,255,0,255"); -_assertPixel(canvas, 78,36, 0,255,0,255, "78,36", "0,255,0,255"); -_assertPixel(canvas, 79,35, 0,255,0,255, "79,35", "0,255,0,255"); -_assertPixel(canvas, 80,44, 0,255,0,255, "80,44", "0,255,0,255"); -_assertPixel(canvas, 80,45, 0,255,0,255, "80,45", "0,255,0,255"); -_assertPixel(canvas, 80,46, 0,255,0,255, "80,46", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 55,19, 0,255,0,255); +_assertPixel(canvas, 55,20, 0,255,0,255); +_assertPixel(canvas, 55,21, 0,255,0,255); +_assertPixel(canvas, 64,22, 0,255,0,255); +_assertPixel(canvas, 65,21, 0,255,0,255); +_assertPixel(canvas, 72,28, 0,255,0,255); +_assertPixel(canvas, 73,27, 0,255,0,255); +_assertPixel(canvas, 78,36, 0,255,0,255); +_assertPixel(canvas, 79,35, 0,255,0,255); +_assertPixel(canvas, 80,44, 0,255,0,255); +_assertPixel(canvas, 80,45, 0,255,0,255); +_assertPixel(canvas, 80,46, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.html index 2806684328f5..0871c39157f0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.html @@ -28,11 +28,11 @@ ctx.beginPath(); ctx.moveTo(-100, -100); ctx.arcTo(-100, 25, 200, 25, 10); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.worker.js index 4f12e45a358f..f3addb0a0c7f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.end.worker.js @@ -24,11 +24,11 @@ ctx.beginPath(); ctx.moveTo(-100, -100); ctx.arcTo(-100, 25, 200, 25, 10); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.html index 5db369a5f141..5040462ada32 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.html @@ -28,11 +28,11 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arcTo(200, 25, 200, 50, 10); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.worker.js index d0a6e3455868..36706d600e2a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.shape.start.worker.js @@ -24,11 +24,11 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.arcTo(200, 25, 200, 50, 10); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.html index 4f470024fe90..bea6374ea4e0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.html @@ -29,15 +29,15 @@ ctx.translate(100, 0); ctx.arcTo(50, 50, 50, 0, 50); ctx.lineTo(-100, 0); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.worker.js index 46bb4616c8b6..925140b67501 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.transformation.worker.js @@ -25,15 +25,15 @@ ctx.translate(100, 0); ctx.arcTo(50, 50, 50, 0, 50); ctx.lineTo(-100, 0); ctx.fill(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.html index e01f15b0dc59..00541a938b66 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.html @@ -33,7 +33,7 @@ ctx.beginPath(); ctx.moveTo(0, -25); ctx.arcTo(50, -25, 50, 50, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.worker.js index 9768431b7374..cee6d1c5baa4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.1.worker.js @@ -29,7 +29,7 @@ ctx.beginPath(); ctx.moveTo(0, -25); ctx.arcTo(50, -25, 50, 50, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.html index 94158caa0a60..e10fe5ce95e1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.html @@ -33,7 +33,7 @@ ctx.beginPath(); ctx.moveTo(100, 25); ctx.arcTo(200, 25, 50, 25, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.worker.js index 63843ec31f5b..d0cc4a1484a7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.arcTo.zero.2.worker.js @@ -29,7 +29,7 @@ ctx.beginPath(); ctx.moveTo(100, 25); ctx.arcTo(200, 25, 50, 25, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.html index c3c826df3f8a..8b9c4cdc7ac4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.html @@ -26,7 +26,7 @@ ctx.rect(0, 0, 100, 50); ctx.beginPath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.worker.js index e13b8bf0407d..18b81afa5c4d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.beginPath.worker.js @@ -22,7 +22,7 @@ ctx.rect(0, 0, 100, 50); ctx.beginPath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.html index 9b595ab65fac..691728743228 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.bezierCurveTo(100, 25, 100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.worker.js index d22fdaa9c854..a365372c9e67 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.basic.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.bezierCurveTo(100, 25, 100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html index 064d12ec9d8b..67dd771fcbe7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.html @@ -27,8 +27,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.bezierCurveTo(100, 50, 200, 50, 200, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 95,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.worker.js index 32927fffe3e6..beb275ba3781 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.1.worker.js @@ -23,8 +23,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.bezierCurveTo(100, 50, 200, 50, 200, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 95,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html index 55a05d34defa..d4f99e1e2a40 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.html @@ -27,8 +27,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.bezierCurveTo(0, 25, 100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.worker.js index a053b5d4a56b..7176dba07876 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.ensuresubpath.2.worker.js @@ -23,8 +23,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.bezierCurveTo(0, 25, 100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.html index c396f92a6b83..4c5abfbdc1e5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.html @@ -101,8 +101,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.worker.js index fba6b76c8e74..752cb1b0ab88 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.nonfinite.worker.js @@ -97,8 +97,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.html index 7bdcb0eec245..2608237a6c00 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.html @@ -29,11 +29,11 @@ ctx.beginPath(); ctx.moveTo(-2, 3.1); ctx.bezierCurveTo(-2, -1, 2.1, -1, 2.1, 3.1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.worker.js index bca64bd63667..641cccf4b46a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.scaled.worker.js @@ -25,11 +25,11 @@ ctx.beginPath(); ctx.moveTo(-2, 3.1); ctx.bezierCurveTo(-2, -1, 2.1, -1, 2.1, 3.1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.html index a270bf7fce50..5f8f8daac2a5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.html @@ -28,11 +28,11 @@ ctx.beginPath(); ctx.moveTo(-2000, 3100); ctx.bezierCurveTo(-2000, -1000, 2100, -1000, 2100, 3100); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.worker.js index 70951148b50f..ee42982f2f6e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.bezierCurveTo.shape.worker.js @@ -24,11 +24,11 @@ ctx.beginPath(); ctx.moveTo(-2000, 3100); ctx.bezierCurveTo(-2000, -1000, 2100, -1000, 2100, 3100); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.html index dde6f8bb33ae..cca53f6be6d1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.html @@ -27,7 +27,7 @@ ctx.rect(0, 0, 100, 50); ctx.clip(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.worker.js index b0f42b96d55c..cf5a5d3b63f4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.1.worker.js @@ -23,7 +23,7 @@ ctx.rect(0, 0, 100, 50); ctx.clip(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.html index 4aa16597b877..d5ef79bf1a13 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.html @@ -27,7 +27,7 @@ ctx.rect(-100, 0, 100, 50); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.worker.js index dfc5c18e8e47..bad906d4b73e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.basic.2.worker.js @@ -23,7 +23,7 @@ ctx.rect(-100, 0, 100, 50); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.html index 475c046514bb..d74fff0d81fc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.html @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.worker.js index fc15dbb5f796..51beb6426a5a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.empty.worker.js @@ -22,7 +22,7 @@ ctx.beginPath(); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.html index 18b8baa97338..3b269ce102d5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.html @@ -30,7 +30,7 @@ ctx.rect(50, 0, 50, 50) ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.worker.js index 85b8e0f2ddc0..791c1bb78481 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.intersect.worker.js @@ -26,7 +26,7 @@ ctx.rect(50, 0, 50, 50) ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.html index 739f5d378c31..a0ba94fb8a43 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.html @@ -31,7 +31,7 @@ ctx.lineTo(100, 0); ctx.clip(); ctx.lineTo(0, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.worker.js index 3c83b0918640..e03257021c4b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.unaffected.worker.js @@ -27,7 +27,7 @@ ctx.lineTo(100, 0); ctx.clip(); ctx.lineTo(0, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.html index ef1649f44b62..9a20e493db26 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.html @@ -35,7 +35,7 @@ ctx.lineTo(100, 0); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.worker.js index 8a7bdb7f1115..02565fcc8b82 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.1.worker.js @@ -31,7 +31,7 @@ ctx.lineTo(100, 0); ctx.clip(); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.html index f5acfb246033..1f223a3b38fa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.html @@ -38,7 +38,7 @@ ctx.lineTo(0, 0); ctx.clip(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.worker.js index d97e45cd0888..e7e8c5039def 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.winding.2.worker.js @@ -34,7 +34,7 @@ ctx.lineTo(0, 0); ctx.clip(); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.html index c4a2262e3f28..50ea865696cc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.closePath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.worker.js index f5eb5038cb19..c06ce48635f4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.empty.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.closePath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.html index 11339fa4de9c..dca2e01b7e93 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.html @@ -30,7 +30,7 @@ ctx.lineTo(200, -100); ctx.lineTo(200, 25); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.worker.js index 13a9f4846605..5d27821f5511 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.newline.worker.js @@ -26,7 +26,7 @@ ctx.lineTo(200, -100); ctx.lineTo(200, 25); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.html index e39f21fe6a54..4cf02d2b6441 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.html @@ -29,7 +29,7 @@ ctx.lineTo(-100, -1000); ctx.closePath(); ctx.lineTo(1000, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.worker.js index 961891890e10..8a84ce7d83cc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.closePath.nextpoint.worker.js @@ -25,7 +25,7 @@ ctx.lineTo(-100, -1000); ctx.closePath(); ctx.lineTo(1000, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.html index 9d0c23538ac6..72e755f7e8f0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.html @@ -28,7 +28,7 @@ ctx.lineTo(100, 0); ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.worker.js index e7650bfda0da..2c63e1ec97f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.basic.worker.js @@ -24,7 +24,7 @@ ctx.lineTo(100, 0); ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.html index fb3a715a98d5..9d5451253987 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.html @@ -30,8 +30,8 @@ ctx.fill(); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 10,40, 0,255,0,255, "10,40", "0,255,0,255"); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 10,40, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.worker.js index 3f447087ab8d..6b4aa9244f3d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.closed.unaffected.worker.js @@ -26,8 +26,8 @@ ctx.fill(); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 90,10, 0,255,0,255, "90,10", "0,255,0,255"); -_assertPixel(canvas, 10,40, 0,255,0,255, "10,40", "0,255,0,255"); +_assertPixel(canvas, 90,10, 0,255,0,255); +_assertPixel(canvas, 10,40, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.html index f933a67c26ff..6eaf88edcde6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.html @@ -27,7 +27,7 @@ ctx.rect(0, 0, 100, 50); ctx.closePath(); ctx.rect(10, 10, 80, 30); ctx.fill(); -_assertPixelApprox(canvas, 50,25, 0,127,0,255, "50,25", "0,127,0,255", 1); +_assertPixelApprox(canvas, 50,25, 0,127,0,255, 1); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.worker.js index 907c9491a3dc..e1d64fe40bfa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.overlap.worker.js @@ -23,7 +23,7 @@ ctx.rect(0, 0, 100, 50); ctx.closePath(); ctx.rect(10, 10, 80, 30); ctx.fill(); -_assertPixelApprox(canvas, 50,25, 0,127,0,255, "50,25", "0,127,0,255", 1); +_assertPixelApprox(canvas, 50,25, 0,127,0,255, 1); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.html index 87ff1254e229..c5f64924da31 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.html @@ -33,7 +33,7 @@ ctx.lineTo(100, 0); ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.worker.js index 8963be3c7fc1..b40e1706239d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.add.worker.js @@ -29,7 +29,7 @@ ctx.lineTo(100, 0); ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.html index 31b9d4fa20ac..4f553f2bc323 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.html @@ -33,7 +33,7 @@ ctx.lineTo(0, 50); ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.worker.js index 4fb6a5420e18..a82091541395 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.1.worker.js @@ -29,7 +29,7 @@ ctx.lineTo(0, 50); ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.html index 3f7502dc7fda..cf1fcaa2d447 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.html @@ -32,7 +32,7 @@ ctx.lineTo(0, 50); ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.worker.js index 532f89c0df75..2c83a41ae8e2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.2.worker.js @@ -28,7 +28,7 @@ ctx.lineTo(0, 50); ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.html index 2e0e0c6f783f..ffcbfe2518de 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.html @@ -38,7 +38,7 @@ ctx.lineTo(0, 50); ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.worker.js index cf54bfb105c2..ca5510abf215 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.fill.winding.subtract.3.worker.js @@ -34,7 +34,7 @@ ctx.lineTo(0, 50); ctx.lineTo(100, 50); ctx.lineTo(100, 0); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.html index 851deac9919c..35c96cdab5da 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.closePath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.worker.js index 4bdc8ebf6fb0..de8597fbc3c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.initial.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.closePath(); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.html index ab309f428ab7..3247ededcc87 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.worker.js index f00439ef1b52..980de5c1b286 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.basic.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.html index f6b85bccb568..5a15f9ece489 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.html @@ -27,7 +27,7 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.lineTo(100, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.worker.js index 908fe2d95464..024754ca0ea0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.1.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.lineTo(100, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.html index 8659965bef29..eaad8dabcced 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.lineTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.worker.js index 878b86d68614..2a15c9e14d4f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.ensuresubpath.2.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.lineTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.html index 7d42c0df8e0b..fc697b9be59b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.html @@ -29,7 +29,7 @@ ctx.moveTo(-100, -100); ctx.lineTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.worker.js index 258c0fefebe2..de9d56be06e7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nextpoint.worker.js @@ -25,7 +25,7 @@ ctx.moveTo(-100, -100); ctx.lineTo(0, 25); ctx.lineTo(100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.html index ff8bda77e2aa..02d77163fd27 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.html @@ -33,8 +33,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.worker.js index 5eaa4f0eed2e..5161b4e43229 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.worker.js @@ -29,8 +29,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.html index 7e2a58355e72..8363792c7067 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.html @@ -29,7 +29,7 @@ ctx.lineTo(10, 50); ctx.lineTo(100, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 90,25, 0,255,0,255, "90,25", "0,255,0,255"); +_assertPixel(canvas, 90,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.worker.js index 9cf101f5e032..eca39660bcee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.basic.worker.js @@ -25,7 +25,7 @@ ctx.lineTo(10, 50); ctx.lineTo(100, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 90,25, 0,255,0,255, "90,25", "0,255,0,255"); +_assertPixel(canvas, 90,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.html index cb2c4a408cd3..928c9783d447 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.html @@ -29,7 +29,7 @@ ctx.lineTo(100, 25); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.worker.js index 2001b2a6c42c..686f5ae84ad8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.multiple.worker.js @@ -25,7 +25,7 @@ ctx.lineTo(100, 25); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 50; ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.html index c0b170a10e53..89fda23ffc90 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.html @@ -29,7 +29,7 @@ ctx.moveTo(100, 50); ctx.moveTo(0, 50); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.worker.js index 721cb1a82106..d00491c42bfe 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.newsubpath.worker.js @@ -25,7 +25,7 @@ ctx.moveTo(100, 50); ctx.moveTo(0, 50); ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.html index a2dda9e5feeb..1a2e6cfe8397 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.html @@ -33,7 +33,7 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.worker.js index d574e2c121a9..ced534fb9543 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.moveTo.nonfinite.worker.js @@ -29,7 +29,7 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.html index 777b24adf485..46a83e112c50 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.html @@ -28,7 +28,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.quadraticCurveTo(100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.worker.js index d19af374716f..a1dfa045d944 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.basic.worker.js @@ -24,7 +24,7 @@ ctx.beginPath(); ctx.moveTo(0, 25); ctx.quadraticCurveTo(100, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html index 9cc6adfe9d94..37662e461852 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.html @@ -27,8 +27,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.quadraticCurveTo(100, 50, 200, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 95,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.worker.js index 6b119853e78c..fe20e7b890fb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.1.worker.js @@ -23,8 +23,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.quadraticCurveTo(100, 50, 200, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 95,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html index 4ceadbd6f164..2f18424749f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.html @@ -27,8 +27,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.quadraticCurveTo(0, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.worker.js index 1d3161755705..f840168f986c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.ensuresubpath.2.worker.js @@ -23,8 +23,8 @@ ctx.lineWidth = 50; ctx.beginPath(); ctx.quadraticCurveTo(0, 25, 100, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.html index 4f32efb443a2..1083f027e2c6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.html @@ -49,8 +49,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.worker.js index 738b73590631..df17bd6d3627 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.nonfinite.worker.js @@ -45,8 +45,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.html index 14bff6a1466f..60ba483f14d2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.html @@ -29,11 +29,11 @@ ctx.beginPath(); ctx.moveTo(-1, 1.05); ctx.quadraticCurveTo(0, -1, 1.2, 1.05); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.worker.js index 48fadcdfdb2a..298001b212e0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.scaled.worker.js @@ -25,11 +25,11 @@ ctx.beginPath(); ctx.moveTo(-1, 1.05); ctx.quadraticCurveTo(0, -1, 1.2, 1.05); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.html index 5090ea289755..21cb175d5988 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.html @@ -28,11 +28,11 @@ ctx.beginPath(); ctx.moveTo(-1000, 1050); ctx.quadraticCurveTo(0, -1000, 1200, 1050); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.worker.js index 2c22a2372724..f7aac9135afa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.quadraticCurveTo.shape.worker.js @@ -24,11 +24,11 @@ ctx.beginPath(); ctx.moveTo(-1000, 1050); ctx.quadraticCurveTo(0, -1000, 1200, 1050); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.html index 16fb2998a90a..5214bd8dc059 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.rect(0, 0, 100, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.worker.js index e547f6d01d7f..dcf3dc2a4bcf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.basic.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.rect(0, 0, 100, 50); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.html index 8dd8f1810fd5..70db3725a114 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.html @@ -27,7 +27,7 @@ ctx.lineWidth = 200; ctx.lineJoin = 'miter'; ctx.rect(100, 50, 100, 100); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.worker.js index 9c6ca9df1676..6ee09ef8d437 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.closed.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 200; ctx.lineJoin = 'miter'; ctx.rect(100, 50, 100, 100); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.html index b3e59bc76751..bb4bfc0c9065 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.rect(200, 100, 400, 1000); ctx.lineTo(-2000, -1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.worker.js index 33f5a72255b8..f576ac436642 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.1.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.rect(200, 100, 400, 1000); ctx.lineTo(-2000, -1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.html index d58763b42e20..1f945a858e9c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.html @@ -29,10 +29,10 @@ ctx.lineJoin = 'bevel'; ctx.rect(150, 150, 2000, 2000); ctx.lineTo(160, 160); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.worker.js index 7bbe9fed19a0..8813ed81522a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.end.2.worker.js @@ -25,10 +25,10 @@ ctx.lineJoin = 'bevel'; ctx.rect(150, 150, 2000, 2000); ctx.lineTo(160, 160); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.html index c707698ccc7a..8c9effe2a546 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.html @@ -29,10 +29,10 @@ ctx.rect(100, 0, -50, 25); ctx.rect(0, 50, 50, -25); ctx.rect(100, 50, -50, -25); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.worker.js index f844c97d1942..ea01c6d3f07e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.negative.worker.js @@ -25,10 +25,10 @@ ctx.rect(100, 0, -50, 25); ctx.rect(0, 50, 50, -25); ctx.rect(100, 50, -50, -25); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.html index cbd9c5830339..1dcfbe94869d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.html @@ -29,7 +29,7 @@ ctx.moveTo(-100, 25); ctx.lineTo(-50, 25); ctx.rect(200, 25, 1, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.worker.js index d5ad0d1f87d1..44962c5f2f47 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.newsubpath.worker.js @@ -25,7 +25,7 @@ ctx.moveTo(-100, 25); ctx.lineTo(-50, 25); ctx.rect(200, 25, 1, 1); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.html index 68931af372a5..7f92cf5e48cb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.html @@ -49,8 +49,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.worker.js index 9095b9e721af..6fa1e82ae482 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.nonfinite.worker.js @@ -45,8 +45,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.html index 6e4fb684e3e0..36c3f074194e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.html @@ -27,7 +27,7 @@ ctx.lineWidth = 90; ctx.beginPath(); ctx.rect(45, 20, 10, 10); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.worker.js index 85ec849010b8..84c2687f3093 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.selfintersect.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 90; ctx.beginPath(); ctx.rect(45, 20, 10, 10); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.html index 15500294d095..c4f4128188ba 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.html @@ -29,10 +29,10 @@ ctx.rect(100, 50, -50, -50); ctx.rect(0, 25, 100, -25); ctx.rect(100, 25, -100, 25); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.worker.js index d406db9b59de..90a3d05e8b21 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.winding.worker.js @@ -25,10 +25,10 @@ ctx.rect(100, 50, -50, -50); ctx.rect(0, 25, 100, -25); ctx.rect(100, 25, -100, 25); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.html index f2772ccd634f..90c0bb1f68a7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(0, 50, 100, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.worker.js index 33d2be8a50a8..4d080710d070 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.1.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(0, 50, 100, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.html index 8abca945cfbf..4c3ae6f6ddfe 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(50, -100, 0, 250); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.worker.js index 7c580da1f705..93d5a5287596 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.2.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(50, -100, 0, 250); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.html index c0af2d3e8962..86bd7494186b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(50, 25, 0, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.worker.js index e6b7da7e31c3..6403de43c03c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.3.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.rect(50, 25, 0, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.html index fd40e7881bbc..063ef2ba1d55 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.html @@ -27,7 +27,7 @@ ctx.lineWidth = 50; ctx.rect(100, 25, 0, 0); ctx.lineTo(0, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.worker.js index c8cb1e2fc875..87fd69856630 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.4.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 50; ctx.rect(100, 25, 0, 0); ctx.lineTo(0, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.html index d58b09dcc8d2..0fa0b0755043 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.html @@ -27,7 +27,7 @@ ctx.lineWidth = 50; ctx.moveTo(0, 0); ctx.rect(100, 25, 0, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.worker.js index 77bd33c163da..77851f54d3ec 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.5.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 50; ctx.moveTo(0, 0); ctx.rect(100, 25, 0, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.html index 7828d138d9ae..a3cf7b60ac7f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.html @@ -29,7 +29,7 @@ ctx.lineWidth = 200; ctx.beginPath(); ctx.rect(100, 25, 1000, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.worker.js index 93e41f586c59..5db284837c4f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.rect.zero.6.worker.js @@ -25,7 +25,7 @@ ctx.lineWidth = 200; ctx.beginPath(); ctx.rect(100, 25, 1000, 0); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.html index d6b2aff3ffc8..479ab00cd7df 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.html @@ -27,28 +27,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.worker.js index 224f4d6c630e..ba4fb4e611fc 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompoint.worker.js @@ -23,28 +23,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.html index f13e6dd45f25..18ff259e66cd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.html @@ -27,28 +27,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.worker.js index 7b3d4cb6767d..589950c04e07 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.dompointinit.worker.js @@ -23,28 +23,28 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.html index 4eef53ca2055..4761bb5e5e86 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.worker.js index f637778d5ba9..57f28c77786c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.1.radius.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.html index 722d11208c73..c96ed08f05c6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.html @@ -27,20 +27,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.worker.js index 1324fd1a0c19..7e7a4efddc0c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompoint.worker.js @@ -23,20 +23,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html index 8338c9af65ac..02b889c7592f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.html @@ -27,20 +27,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.worker.js index 4e91ac092fd8..fcc3cb088ae1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.dompointinit.worker.js @@ -23,20 +23,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.html index a864fbd18e4c..2a6a030237bd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.worker.js index 553c1073eeff..6d4d029b1c89 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.1.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.html index b81559614b31..bc6e27c6830f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.html @@ -27,20 +27,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.worker.js index d753a2bed41a..fead59e863ba 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompoint.worker.js @@ -23,20 +23,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html index 9e2e26810e07..fcca1c739fcf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.html @@ -27,20 +27,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.worker.js index 824d6d4a414a..ab334e4ca06a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.dompointinit.worker.js @@ -23,20 +23,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.html index 481833be2a11..2bc67375669d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.worker.js index ab65f619fa0a..d355852a5ce1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.html index 0f1b60fb0995..f3388e6562e1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.worker.js index c16a781c07fa..36c6401bf3d5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompoint.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html index 08dde930cea0..dd96e859ea1b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.worker.js index 53c33a3313f3..a497d5788baa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.dompointinit.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.html index cf9ee8642485..4c5f57122cd8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.worker.js index dd64668c968f..171a2ae5e6f6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.1.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.html index 918133e0b23a..3459ac27bb2f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.html @@ -27,20 +27,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.worker.js index f0bd34ee6c50..9588780f978d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompoint.worker.js @@ -23,20 +23,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html index 6f7ecac8dec0..6476be489f78 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.html @@ -27,20 +27,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.worker.js index dd5d17023a1b..42dead8509b7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.dompointinit.worker.js @@ -23,20 +23,20 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.html index 380d31634e10..652745e0bed6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.worker.js index 1fd9fca33071..e3929fbfdbb4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.2.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.html index fcde6b974d66..1c295143c814 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.worker.js index 7d7989807ed8..c8e08ec297f1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompoint.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html index 3d4b1b1b5aaf..f8e62a5bf625 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.worker.js index c54c88a83528..0fe2b89877a1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.dompointinit.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.html index fc4e640ac6ef..ff1301d9cd43 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.worker.js index 86628624dba3..2422435d5264 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.3.radii.3.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.html index 3d22bb9e407b..3110983f7f84 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.worker.js index 623ebe432c5f..3bdb12e02989 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompoint.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html index aaffcd27bcb0..976b39a10216 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.worker.js index f9fb961af044..86b43ad2a194 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.dompointinit.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-left corner -_assertPixel(canvas, 20,1, 255,0,0,255, "20,1", "255,0,0,255"); -_assertPixel(canvas, 41,1, 0,255,0,255, "41,1", "0,255,0,255"); -_assertPixel(canvas, 1,10, 255,0,0,255, "1,10", "255,0,0,255"); -_assertPixel(canvas, 1,21, 0,255,0,255, "1,21", "0,255,0,255"); +_assertPixel(canvas, 20,1, 255,0,0,255); +_assertPixel(canvas, 41,1, 0,255,0,255); +_assertPixel(canvas, 1,10, 255,0,0,255); +_assertPixel(canvas, 1,21, 0,255,0,255); // other corners -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.html index 1819c739bece..c75d6420c9c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.worker.js index 2515f70e5abd..925c93b0c909 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.1.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [20, 0, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.html index 1518d554a96d..33d861d6dcef 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.worker.js index 556a11714c64..12d1a8c8e633 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompoint.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html index 78fe981d8bca..b088c2e717b5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.worker.js index 81e115df9050..49a247a26634 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.dompointinit.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // top-right corner -_assertPixel(canvas, 79,1, 255,0,0,255, "79,1", "255,0,0,255"); -_assertPixel(canvas, 58,1, 0,255,0,255, "58,1", "0,255,0,255"); -_assertPixel(canvas, 98,10, 255,0,0,255, "98,10", "255,0,0,255"); -_assertPixel(canvas, 98,21, 0,255,0,255, "98,21", "0,255,0,255"); +_assertPixel(canvas, 79,1, 255,0,0,255); +_assertPixel(canvas, 58,1, 0,255,0,255); +_assertPixel(canvas, 98,10, 255,0,0,255); +_assertPixel(canvas, 98,21, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.html index 0a6e140f2608..71395e0e9ee0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.worker.js index 57914f6ce49f..f868c6272ef1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.2.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 20, 0, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.html index d9aceaa6f8ba..4922bf37f22a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.worker.js index 6280aa5172a0..2da2f3591c61 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompoint.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html index cc0ad6d48b79..3b6f2fd863f7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.worker.js index 0f54b1e6860a..65a3feb36f43 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.dompointinit.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-right corner -_assertPixel(canvas, 79,48, 255,0,0,255, "79,48", "255,0,0,255"); -_assertPixel(canvas, 58,48, 0,255,0,255, "58,48", "0,255,0,255"); -_assertPixel(canvas, 98,39, 255,0,0,255, "98,39", "255,0,0,255"); -_assertPixel(canvas, 98,28, 0,255,0,255, "98,28", "0,255,0,255"); +_assertPixel(canvas, 79,48, 255,0,0,255); +_assertPixel(canvas, 58,48, 0,255,0,255); +_assertPixel(canvas, 98,39, 255,0,0,255); +_assertPixel(canvas, 98,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.html index 93f41a5c44b9..3dd2af98007f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.worker.js index 08f2a21cee2c..a327ceac1579 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.3.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 20, 0]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.html index 110e6848b018..d61a3133cc47 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.worker.js index 0240541b81ac..d8a121e6da90 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompoint.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html index a063eb19b224..94ffc00433e0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.html @@ -27,15 +27,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.worker.js index 94d156182395..b7babb529615 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.dompointinit.worker.js @@ -23,15 +23,15 @@ ctx.fillStyle = '#0f0'; ctx.fill(); // bottom-left corner -_assertPixel(canvas, 20,48, 255,0,0,255, "20,48", "255,0,0,255"); -_assertPixel(canvas, 41,48, 0,255,0,255, "41,48", "0,255,0,255"); -_assertPixel(canvas, 1,39, 255,0,0,255, "1,39", "255,0,0,255"); -_assertPixel(canvas, 1,28, 0,255,0,255, "1,28", "0,255,0,255"); +_assertPixel(canvas, 20,48, 255,0,0,255); +_assertPixel(canvas, 41,48, 0,255,0,255); +_assertPixel(canvas, 1,39, 255,0,0,255); +_assertPixel(canvas, 1,28, 0,255,0,255); // other corners -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.html index efa52caa93bf..4ab258184764 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.html @@ -25,10 +25,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.worker.js index 058758d43f05..ad4cca495360 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.4.radii.4.double.worker.js @@ -21,10 +21,10 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [0, 0, 0, 20]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.html index 5cac59fef58b..1b4abf012c70 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.html @@ -27,7 +27,7 @@ ctx.lineWidth = 200; ctx.lineJoin = 'miter'; ctx.roundRect(100, 50, 100, 100, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.worker.js index 5aebb5f89cc3..e0f1b81aa42f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.closed.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 200; ctx.lineJoin = 'miter'; ctx.roundRect(100, 50, 100, 100, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.html index c32178529c2b..5c6b3cd537d1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.roundRect(200, 100, 400, 1000, [0]); ctx.lineTo(-2000, -1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.worker.js index 09997975cf29..1ec22bdb6a77 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.1.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.roundRect(200, 100, 400, 1000, [0]); ctx.lineTo(-2000, -1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.html index 7f5927fbc25d..3913f69d412f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.html @@ -29,10 +29,10 @@ ctx.lineJoin = 'bevel'; ctx.roundRect(150, 150, 2000, 2000, [0]); ctx.lineTo(160, 160); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.worker.js index 95d111df8513..c3085d53c3b0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.2.worker.js @@ -25,10 +25,10 @@ ctx.lineJoin = 'bevel'; ctx.roundRect(150, 150, 2000, 2000, [0]); ctx.lineTo(160, 160); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.html index f42768d734dd..349f13485c04 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.html @@ -27,10 +27,10 @@ ctx.lineWidth = 100; ctx.roundRect(101, 51, 2000, 2000, [500, 500, 500, 500]); ctx.lineTo(-1, -1); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.worker.js index 85d51f70160d..52b9c442838b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.3.worker.js @@ -23,10 +23,10 @@ ctx.lineWidth = 100; ctx.roundRect(101, 51, 2000, 2000, [500, 500, 500, 500]); ctx.lineTo(-1, -1); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.html index 197955bab5c3..3c99e3970a15 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.html @@ -27,10 +27,10 @@ ctx.lineWidth = 10; ctx.roundRect(-1, -1, 2000, 2000, [1000, 1000, 1000, 1000]); ctx.lineTo(-150, -150); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.worker.js index 65febe5791bf..1d57b8978f28 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.end.4.worker.js @@ -23,10 +23,10 @@ ctx.lineWidth = 10; ctx.roundRect(-1, -1, 2000, 2000, [1000, 1000, 1000, 1000]); ctx.lineTo(-150, -150); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255"); -_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 98,1, 0,255,0,255); +_assertPixel(canvas, 1,48, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.html index 644ebdfd0fd5..e3696ca1a5b7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.html @@ -30,15 +30,15 @@ ctx.roundRect(0, 50, 50, -25, [10, 0, 0, 0]); ctx.roundRect(100, 50, -50, -25, [10, 0, 0, 0]); ctx.fill(); // All rects drawn -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); // Correct corners are rounded. -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.worker.js index 1191eb4fc5cd..c34c20397a89 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.negative.worker.js @@ -26,15 +26,15 @@ ctx.roundRect(0, 50, 50, -25, [10, 0, 0, 0]); ctx.roundRect(100, 50, -50, -25, [10, 0, 0, 0]); ctx.fill(); // All rects drawn -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); // Correct corners are rounded. -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.html index 4c1c27e1f299..6d0a8149077a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.html @@ -29,7 +29,7 @@ ctx.moveTo(-100, 25); ctx.lineTo(-50, 25); ctx.roundRect(200, 25, 1, 1, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.worker.js index 8274f6d6179b..c6f7934bee95 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.newsubpath.worker.js @@ -25,7 +25,7 @@ ctx.moveTo(-100, 25); ctx.lineTo(-50, 25); ctx.roundRect(200, 25, 1, 1, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.html index a5436e502788..297735030131 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.html @@ -108,8 +108,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.worker.js index cc60f0f22a63..68d0d8a09a3b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.nonfinite.worker.js @@ -104,8 +104,8 @@ ctx.lineTo(100, 50); ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 90,45, 0,255,0,255, "90,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 90,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.html index 73614cf6cff7..c1916bf78f29 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.html @@ -25,15 +25,15 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [40, 40, 40, 40]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 2,25, 0,255,0,255, "2,25", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 97,25, 0,255,0,255, "97,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 2,25, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 97,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.worker.js index f93f84b008f9..9da41478d91e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.1.worker.js @@ -21,15 +21,15 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [40, 40, 40, 40]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 2,25, 0,255,0,255, "2,25", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 97,25, 0,255,0,255, "97,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 2,25, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 97,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.html index 1cb5a0c70743..f2a69c4ffc72 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.html @@ -25,15 +25,15 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [1000, 1000, 1000, 1000]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 2,25, 0,255,0,255, "2,25", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 97,25, 0,255,0,255, "97,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 2,25, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 97,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.worker.js index 5adfb12b7aeb..f0d3f57ca48d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.intersecting.2.worker.js @@ -21,15 +21,15 @@ ctx.fillRect(0, 0, 100, 50); ctx.roundRect(0, 0, 100, 50, [1000, 1000, 1000, 1000]); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 2,25, 0,255,0,255, "2,25", "0,255,0,255"); -_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255"); -_assertPixel(canvas, 97,25, 0,255,0,255, "97,25", "0,255,0,255"); -_assertPixel(canvas, 1,1, 255,0,0,255, "1,1", "255,0,0,255"); -_assertPixel(canvas, 98,1, 255,0,0,255, "98,1", "255,0,0,255"); -_assertPixel(canvas, 1,48, 255,0,0,255, "1,48", "255,0,0,255"); -_assertPixel(canvas, 98,48, 255,0,0,255, "98,48", "255,0,0,255"); +_assertPixel(canvas, 2,25, 0,255,0,255); +_assertPixel(canvas, 50,1, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 50,48, 0,255,0,255); +_assertPixel(canvas, 97,25, 0,255,0,255); +_assertPixel(canvas, 1,1, 255,0,0,255); +_assertPixel(canvas, 98,1, 255,0,0,255); +_assertPixel(canvas, 1,48, 255,0,0,255); +_assertPixel(canvas, 98,48, 255,0,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.html index b2956458d72f..0ec253549036 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.html @@ -27,7 +27,7 @@ ctx.lineWidth = 90; ctx.beginPath(); ctx.roundRect(45, 20, 10, 10, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.worker.js index 73f3cd3821fd..8b6221414bab 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.selfintersect.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 90; ctx.beginPath(); ctx.roundRect(45, 20, 10, 10, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.html index c63a3a6af054..e7f52fbf2925 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.html @@ -29,10 +29,10 @@ ctx.roundRect(100, 50, -50, -50, [0]); ctx.roundRect(0, 25, 100, -25, [0]); ctx.roundRect(100, 25, -100, 25, [0]); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.worker.js index 7fd2b434a7fc..82e6b5c31350 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.winding.worker.js @@ -25,10 +25,10 @@ ctx.roundRect(100, 50, -50, -50, [0]); ctx.roundRect(0, 25, 100, -25, [0]); ctx.roundRect(100, 25, -100, 25, [0]); ctx.fill(); -_assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); -_assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); -_assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); -_assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); +_assertPixel(canvas, 25,12, 0,255,0,255); +_assertPixel(canvas, 75,12, 0,255,0,255); +_assertPixel(canvas, 25,37, 0,255,0,255); +_assertPixel(canvas, 75,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.html index e3071128380d..252475194ee8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(0, 50, 100, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.worker.js index 0663ee78441c..17c9be78ec6f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.1.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(0, 50, 100, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.html index 637c979f8c88..2463e88f1eb9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(50, -100, 0, 250, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.worker.js index 9b049cf2e27f..9ae058a84766 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.2.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(50, -100, 0, 250, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.html index 551c5ad45f2f..39de433b081b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.html @@ -27,7 +27,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(50, 25, 0, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.worker.js index e66388d9a1df..98d37e08e534 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.3.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 100; ctx.beginPath(); ctx.roundRect(50, 25, 0, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.html index 659505f58917..3c6c734b19b1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.html @@ -27,7 +27,7 @@ ctx.lineWidth = 50; ctx.roundRect(100, 25, 0, 0, [0]); ctx.lineTo(0, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.worker.js index 53776dbdb945..462cde2a03e8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.4.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 50; ctx.roundRect(100, 25, 0, 0, [0]); ctx.lineTo(0, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.html index 28415a36b32c..de66603a66b6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.html @@ -27,7 +27,7 @@ ctx.lineWidth = 50; ctx.moveTo(0, 0); ctx.roundRect(100, 25, 0, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.worker.js index fafa2dfb04dc..0f706ce246fe 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.5.worker.js @@ -23,7 +23,7 @@ ctx.lineWidth = 50; ctx.moveTo(0, 0); ctx.roundRect(100, 25, 0, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.html index 36f981113741..bd7ef0fa94c4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.html @@ -29,7 +29,7 @@ ctx.lineWidth = 200; ctx.beginPath(); ctx.roundRect(100, 25, 1000, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.worker.js index afcfe8c19281..f2115cdd4610 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.roundrect.zero.6.worker.js @@ -25,7 +25,7 @@ ctx.lineWidth = 200; ctx.beginPath(); ctx.roundRect(100, 25, 1000, 0, [0]); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.html index 7ac1e1ae9caa..a873b260da2b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.html @@ -30,7 +30,7 @@ ctx.beginPath(); ctx.moveTo(40, 25); ctx.moveTo(60, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.worker.js index f21efdc4ffa9..1852c9187681 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.empty.worker.js @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.moveTo(40, 25); ctx.moveTo(60, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.html index 35cc9090d635..252a840ed753 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.html @@ -29,7 +29,7 @@ ctx.lineTo(100, 20); ctx.moveTo(0, 30); ctx.lineTo(100, 30); ctx.stroke(); -_assertPixelApprox(canvas, 50,25, 0,127,0,255, "50,25", "0,127,0,255", 1); +_assertPixelApprox(canvas, 50,25, 0,127,0,255, 1); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.worker.js index aa7a16373194..aa7cc51d7740 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.overlap.worker.js @@ -25,7 +25,7 @@ ctx.lineTo(100, 20); ctx.moveTo(0, 30); ctx.lineTo(100, 30); ctx.stroke(); -_assertPixelApprox(canvas, 50,25, 0,127,0,255, "50,25", "0,127,0,255", 1); +_assertPixelApprox(canvas, 50,25, 0,127,0,255, 1); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.html index 2d4fb8ed76b6..67f25440dcd3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.html @@ -34,7 +34,7 @@ ctx.beginPath(); ctx.moveTo(60, 25); ctx.arc(50, 25, 10, 0, 0, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.worker.js index 5d3a87f0fe88..ca5844ce2aa5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.arc.worker.js @@ -30,7 +30,7 @@ ctx.beginPath(); ctx.moveTo(60, 25); ctx.arc(50, 25, 10, 0, 0, false); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.html index 8890e106c910..1012975fcf41 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.html @@ -31,7 +31,7 @@ ctx.moveTo(50, 25); ctx.lineTo(50, 25); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.worker.js index cffdfdd40c44..9b3426f6d0ca 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closed.worker.js @@ -27,7 +27,7 @@ ctx.moveTo(50, 25); ctx.lineTo(50, 25); ctx.closePath(); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.html index f9f4b01b8d89..553fdb616575 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.html @@ -33,7 +33,7 @@ ctx.lineTo(-100, 200); ctx.lineTo(-100, 200); ctx.lineTo(-100, 1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.worker.js index de307b1b4d79..c2233bbc15b9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.corner.worker.js @@ -29,7 +29,7 @@ ctx.lineTo(-100, 200); ctx.lineTo(-100, 200); ctx.lineTo(-100, 1000); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.html index 270d6c3b0ff1..ae2f922a41bd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.html @@ -34,7 +34,7 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.bezierCurveTo(50, 25, 50, 25, 50, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.worker.js index 386a4521c05f..7dc88a72134b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.curve.worker.js @@ -30,7 +30,7 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.bezierCurveTo(50, 25, 50, 25, 50, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.html index bb9e98744f91..e9163cab40d1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.html @@ -30,7 +30,7 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.lineTo(50, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.worker.js index 736be715cce2..160bbe7eea3c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.line.worker.js @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.moveTo(50, 25); ctx.lineTo(50, 25); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.html index 833c7fe6f35a..72d0d6b6e980 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.html @@ -30,7 +30,7 @@ ctx.beginPath(); ctx.rect(50, 25, 0, 0); ctx.stroke(); ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.worker.js index 7d90a826e46d..c6ed67ed9e4a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.prune.rect.worker.js @@ -26,7 +26,7 @@ ctx.beginPath(); ctx.rect(50, 25, 0, 0); ctx.stroke(); ctx.strokeRect(50, 25, 0, 0); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.html index c911c09f9809..e13fd9fe550b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.html @@ -36,15 +36,15 @@ ctx.scale(50, 25); ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.worker.js index 507c60e2c5cd..ef7b2d4d04e6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale1.worker.js @@ -32,15 +32,15 @@ ctx.scale(50, 25); ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.html index 4c516a233ab4..2b80f16898ee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.html @@ -38,15 +38,15 @@ ctx.scale(25, 50); ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.worker.js index fe3138233c28..9c6d4fbf54a3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.scale2.worker.js @@ -34,15 +34,15 @@ ctx.scale(25, 50); ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.html index 9988291255b6..55e96e08e06e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.html @@ -51,15 +51,15 @@ ctx.scale(1, 142); ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.worker.js index 8b854ad25e57..745afe4ff53c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.skew.worker.js @@ -47,15 +47,15 @@ ctx.scale(1, 142); ctx.strokeStyle = '#f00'; ctx.stroke(); ctx.restore(); -_assertPixel(canvas, 0,0, 0,255,0,255, "0,0", "0,255,0,255"); -_assertPixel(canvas, 50,0, 0,255,0,255, "50,0", "0,255,0,255"); -_assertPixel(canvas, 99,0, 0,255,0,255, "99,0", "0,255,0,255"); -_assertPixel(canvas, 0,25, 0,255,0,255, "0,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 99,25, 0,255,0,255, "99,25", "0,255,0,255"); -_assertPixel(canvas, 0,49, 0,255,0,255, "0,49", "0,255,0,255"); -_assertPixel(canvas, 50,49, 0,255,0,255, "50,49", "0,255,0,255"); -_assertPixel(canvas, 99,49, 0,255,0,255, "99,49", "0,255,0,255"); +_assertPixel(canvas, 0,0, 0,255,0,255); +_assertPixel(canvas, 50,0, 0,255,0,255); +_assertPixel(canvas, 99,0, 0,255,0,255); +_assertPixel(canvas, 0,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 99,25, 0,255,0,255); +_assertPixel(canvas, 0,49, 0,255,0,255); +_assertPixel(canvas, 50,49, 0,255,0,255); +_assertPixel(canvas, 99,49, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.html index ec96d8b70570..58e7f75dc8e5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.html @@ -32,7 +32,7 @@ ctx.stroke(); ctx.closePath(); ctx.strokeStyle = '#0f0'; ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.worker.js index 5534fea05cbc..a47c32d0099e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.unaffected.worker.js @@ -28,7 +28,7 @@ ctx.stroke(); ctx.closePath(); ctx.strokeStyle = '#0f0'; ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.html index cbb9925af36c..c3f063fe52d3 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.html @@ -29,7 +29,7 @@ ctx.lineTo(100, 10); ctx.moveTo(100, 40); ctx.lineTo(0, 40); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.worker.js index f726705b2d9b..282cb10bf75d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.stroke.union.worker.js @@ -25,7 +25,7 @@ ctx.lineTo(100, 10); ctx.moveTo(100, 40); ctx.lineTo(0, 40); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.html index b000df7715ee..18370041384d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.html @@ -27,7 +27,7 @@ ctx.rect(100, 0, 100, 50); ctx.translate(0, -100); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.worker.js index 76da934178ca..7bc112dd1d0b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.basic.worker.js @@ -23,7 +23,7 @@ ctx.rect(100, 0, 100, 50); ctx.translate(0, -100); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.html index ec6a682c8c78..b8a467387d55 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.html @@ -34,7 +34,7 @@ ctx.translate(1000, 1000); ctx.rotate(Math.PI/2); ctx.scale(0.1, 0.1); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.worker.js index 12dc1c018b80..2460d24b199e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.changing.worker.js @@ -30,7 +30,7 @@ ctx.translate(1000, 1000); ctx.rotate(Math.PI/2); ctx.scale(0.1, 0.1); ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.html b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.html index 113dadcd4fa1..fcc2942435f5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.html +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.html @@ -37,7 +37,7 @@ ctx.lineTo(100, 25); ctx.stroke(); ctx.translate(0, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.worker.js b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.worker.js index abebb1fd64c5..a2a04ca7776a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.transformation.multiple.worker.js @@ -33,7 +33,7 @@ ctx.lineTo(100, 25); ctx.stroke(); ctx.translate(0, 50); ctx.stroke(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.html index d3c9320b8fe7..f65f015e8f87 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.html @@ -34,8 +34,8 @@ ctx.clip(); var imgdata = ctx.getImageData(0, 0, 50, 50); ctx.restore(); ctx.putImageData(imgdata, 50, 0); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.worker.js index ba536abfd1b4..a733c6ffdf73 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.get.unaffected.worker.js @@ -30,8 +30,8 @@ ctx.clip(); var imgdata = ctx.getImageData(0, 0, 50, 50); ctx.restore(); ctx.putImageData(imgdata, 50, 0); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.html index 64e7f2eb8bb4..ecda85bd1215 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.html @@ -26,7 +26,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,64, "50,25", "0,255,0,64", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,64, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.worker.js index 44b791f745cd..3349c6928699 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.alpha.worker.js @@ -22,7 +22,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,64, "50,25", "0,255,0,64", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,64, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.html index ab4cc7396f09..d140cc39ab43 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.html @@ -26,7 +26,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.worker.js index c3d51c469647..276fea2d126c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.basic.worker.js @@ -22,7 +22,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.html index ebbd0d74768c..121a45fae8a4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.html @@ -29,8 +29,8 @@ ctx.beginPath(); ctx.rect(0, 0, 50, 50); ctx.clip(); ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.worker.js index 174d915dfbd4..9188b3cf88e5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.clip.worker.js @@ -25,8 +25,8 @@ ctx.beginPath(); ctx.rect(0, 0, 50, 50); ctx.clip(); ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.html index 84ba51160104..7ade3b1debe2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.html @@ -30,7 +30,7 @@ for (var i = 0; i < imgdata.data.length; i += 4) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.worker.js index 6f7cea04c4ab..fd6b5ec8e098 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.created.worker.js @@ -26,7 +26,7 @@ for (var i = 0; i < imgdata.data.length; i += 4) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.html index 8d94bbc577b8..af90d71991e8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.html @@ -28,7 +28,7 @@ var imgdata = ctx2.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.worker.js index 173808f218a2..bdeaa352457f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.cross.worker.js @@ -24,7 +24,7 @@ var imgdata = ctx2.getImageData(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.html index 2f408c4df11e..e2fbcb270283 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.html @@ -30,11 +30,11 @@ ctx.fillRect(0, 0, 100, 50) ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, 40, 20, 20, 20, -20, -20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.worker.js index ba83579060f5..5eec264c756e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.negative.worker.js @@ -26,11 +26,11 @@ ctx.fillRect(0, 0, 100, 50) ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, 40, 20, 20, 20, -20, -20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.html index 37f049e22cae..aaf48a762bcf 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.html @@ -29,13 +29,13 @@ ctx.putImageData(imgdata, 100, 20, 20, 20, -20, -20); ctx.putImageData(imgdata, 200, 200, 0, 0, 100, 50); ctx.putImageData(imgdata, 40, 20, -30, -20, 30, 20); ctx.putImageData(imgdata, -30, 20, 0, 0, 30, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,15, 0,255,0,255, "98,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,45, 0,255,0,255, "98,45", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,5, 0,255,0,255, "1,5", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,45, 0,255,0,255, "1,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,45, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,5, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.worker.js index 9dd1110743f8..9f537135dac2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.outside.worker.js @@ -25,13 +25,13 @@ ctx.putImageData(imgdata, 100, 20, 20, 20, -20, -20); ctx.putImageData(imgdata, 200, 200, 0, 0, 100, 50); ctx.putImageData(imgdata, 40, 20, -30, -20, 30, 20); ctx.putImageData(imgdata, -30, 20, 0, 0, 30, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,15, 0,255,0,255, "98,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 98,45, 0,255,0,255, "98,45", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,5, 0,255,0,255, "1,5", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 1,45, 0,255,0,255, "1,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 98,45, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,5, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 1,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.html index 8401ddfd9b60..e973eb6ca4b2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.html @@ -30,11 +30,11 @@ ctx.fillRect(0, 0, 100, 50) ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, 40, 20, 0, 0, 20, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.worker.js index 71cbb8d38343..fdbe6561ce54 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect1.worker.js @@ -26,11 +26,11 @@ ctx.fillRect(0, 0, 100, 50) ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, 40, 20, 0, 0, 20, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.html index c3b5f480e057..9b275429e6e7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.html @@ -30,11 +30,11 @@ ctx.fillRect(0, 0, 100, 50) ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, -20, -10, 60, 30, 20, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.worker.js index 19aa4da5ea99..3578ceec25aa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.rect2.worker.js @@ -26,11 +26,11 @@ ctx.fillRect(0, 0, 100, 50) ctx.fillStyle = '#f00'; ctx.fillRect(40, 20, 20, 20) ctx.putImageData(imgdata, -20, -10, 60, 30, 20, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 35,25, 0,255,0,255, "35,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 65,25, 0,255,0,255, "65,25", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,15, 0,255,0,255, "50,15", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,45, 0,255,0,255, "50,45", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 35,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 65,25, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,15, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,45, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.html index 7b9231f98bb7..c1b6735d259c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.html @@ -26,7 +26,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0, 0, 0, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.worker.js index 149f9f16848a..db09379c624a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.dirty.zero.worker.js @@ -22,7 +22,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50) ctx.putImageData(imgdata, 0, 0, 0, 0, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.html index 2a1498440719..543d9ff29304 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.html @@ -31,7 +31,7 @@ for (var i = 0, len = imgdata.width*imgdata.height*4; i < len; i += 4) imgdata.data[i+1] = 255; } ctx.putImageData(imgdata, 45, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.worker.js index 9c016a37348c..b238d56cf967 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.modified.worker.js @@ -27,7 +27,7 @@ for (var i = 0, len = imgdata.width*imgdata.height*4; i < len; i += 4) imgdata.data[i+1] = 255; } ctx.putImageData(imgdata, 45, 20); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.html index f2578a5918ef..53e3ac4fceed 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.html @@ -27,7 +27,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.putImageData(imgdata, 0, 0); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.worker.js index 8b280398698c..81bd03eb4f25 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.path.worker.js @@ -23,7 +23,7 @@ var imgdata = ctx.getImageData(0, 0, 100, 50); ctx.putImageData(imgdata, 0, 0); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.html b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.html index 0217124bcadf..8d94f9bbf635 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.html +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.html @@ -32,7 +32,7 @@ ctx.shadowBlur = 1; ctx.translate(100, 50); ctx.scale(0.1, 0.1); ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.worker.js b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.worker.js index 016f87d7fb30..9b931717f0a6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/pixel-manipulation/2d.imageData.put.unaffected.worker.js @@ -28,7 +28,7 @@ ctx.shadowBlur = 1; ctx.translate(100, 50); ctx.scale(0.1, 0.1); ctx.putImageData(imgdata, 0, 0); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.html index e28bb6aa3047..cf887b62a284 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = 'rgba(255, 0, 0, 0.01)'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 4); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 4); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.worker.js index 73427988c34f..7bcf74463c55 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.1.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = 'rgba(255, 0, 0, 0.01)'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 4); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 4); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.html index e4a4908bb32c..cb03866bc37e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.html @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = 'rgba(0, 0, 255, 0.5)'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.worker.js index 9e9eb55a280b..8f4b98143b34 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.2.worker.js @@ -21,7 +21,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = 'rgba(0, 0, 255, 0.5)'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.html index 5748cedaa97d..efc9fca97e26 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.html @@ -27,7 +27,7 @@ ctx.shadowColor = '#00f'; ctx.shadowOffsetY = 50; ctx.globalAlpha = 0.5; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.worker.js index f001559735f3..ddaae242d969 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.3.worker.js @@ -23,7 +23,7 @@ ctx.shadowColor = '#00f'; ctx.shadowOffsetY = 50; ctx.globalAlpha = 0.5; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.html index 228ad2086032..295b61269cda 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.html @@ -27,7 +27,7 @@ ctx.shadowColor = 'rgba(0, 0, 255, 0.707)'; ctx.shadowOffsetY = 50; ctx.globalAlpha = 0.707; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.worker.js index abb6a4cab8c9..16defd9094a8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.4.worker.js @@ -23,7 +23,7 @@ ctx.shadowColor = 'rgba(0, 0, 255, 0.707)'; ctx.shadowOffsetY = 50; ctx.globalAlpha = 0.707; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.html index 04f7c4573687..3b1089d7d79b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.html @@ -26,7 +26,7 @@ ctx.fillStyle = 'rgba(64, 0, 0, 0.5)'; ctx.shadowColor = '#00f'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.worker.js index c64d584ab534..5437c65ec17e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.alpha.5.worker.js @@ -22,7 +22,7 @@ ctx.fillStyle = 'rgba(64, 0, 0, 0.5)'; ctx.shadowColor = '#00f'; ctx.shadowOffsetY = 50; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.html index 299a3cccdbab..5fea8a7cf3d7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.html @@ -29,7 +29,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowOffsetY = 50; ctx.shadowColor = '#00f'; ctx.drawImage(offscreenCanvas2, 0, -50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.worker.js index d3abbbb7762c..663e89f28435 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.alpha.worker.js @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowOffsetY = 50; ctx.shadowColor = '#00f'; ctx.drawImage(offscreenCanvas2, 0, -50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.html index 5f454321bc6f..2fc6b547d57e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.html @@ -29,7 +29,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 50; ctx.drawImage(offscreenCanvas2, 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.worker.js index 2a44897a88ee..20c433b2f6a2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.basic.worker.js @@ -25,7 +25,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 50; ctx.drawImage(offscreenCanvas2, 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.html index 14ac60cc7a08..1bfcb3bf3b7a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.html @@ -27,7 +27,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = '#f00'; ctx.shadowOffsetY = 50; ctx.drawImage(offscreenCanvas2, 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.worker.js index b9425ebc7fae..413ba6b24387 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.1.worker.js @@ -23,7 +23,7 @@ ctx.fillRect(0, 0, 100, 50); ctx.shadowColor = '#f00'; ctx.shadowOffsetY = 50; ctx.drawImage(offscreenCanvas2, 0, -50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.html index 796fb79106f5..6d30dfcb85b9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.html @@ -33,9 +33,9 @@ ctx.shadowColor = '#0f0'; ctx.drawImage(offscreenCanvas2, 50, -50); ctx.shadowColor = '#f00'; ctx.drawImage(offscreenCanvas2, -50, -50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.worker.js index 6c8c31b0aa7b..d702ded7463e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.canvas.transparent.2.worker.js @@ -29,9 +29,9 @@ ctx.shadowColor = '#0f0'; ctx.drawImage(offscreenCanvas2, 50, -50); ctx.shadowColor = '#f00'; ctx.drawImage(offscreenCanvas2, -50, -50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.html index 9b31607daf6f..4beb1214b248 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.html @@ -32,8 +32,8 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.worker.js index 574e22e1dc9a..4fafad83307e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.1.worker.js @@ -28,8 +28,8 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.html index 8d439a408a8b..bc3de09db7ae 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.html @@ -32,8 +32,8 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.worker.js index 094ba9deecbd..dd2712af40cb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.2.worker.js @@ -28,8 +28,8 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.html index 63c16faa1329..9656feb41fb1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.html @@ -33,8 +33,8 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 50; ctx.fillRect(-50, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.worker.js index 01e8bf24dfb3..ed4983ac8ca6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.clip.3.worker.js @@ -29,8 +29,8 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 50; ctx.fillRect(-50, 0, 50, 50); ctx.restore(); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.html index d45df852a29e..13e0daf3aa1b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.html @@ -27,7 +27,7 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetX = 100; ctx.fillStyle = '#0f0'; ctx.fillRect(-100, 0, 200, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.worker.js index 9883655574f3..04d4801db90f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.1.worker.js @@ -23,7 +23,7 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetX = 100; ctx.fillStyle = '#0f0'; ctx.fillRect(-100, 0, 200, 50); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.html index e9955e596e59..aea36997b65d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.html @@ -27,7 +27,7 @@ ctx.shadowColor = '#f00'; ctx.shadowBlur = 1; ctx.fillStyle = '#0f0'; ctx.fillRect(-10, -10, 120, 70); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.worker.js index 83da3fd806fc..505e3d535fa8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.2.worker.js @@ -23,7 +23,7 @@ ctx.shadowColor = '#f00'; ctx.shadowBlur = 1; ctx.fillStyle = '#0f0'; ctx.fillRect(-10, -10, 120, 70); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.html index 2ba82d7ea55e..2218602f38d6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.html @@ -27,8 +27,8 @@ ctx.shadowColor = '#f00'; ctx.shadowBlur = 10; ctx.fillStyle = '#f00'; ctx.fillRect(200, 0, 100, 50); -_assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.worker.js index da5726c58271..fd58d06192ee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.composite.3.worker.js @@ -23,8 +23,8 @@ ctx.shadowColor = '#f00'; ctx.shadowBlur = 10; ctx.fillStyle = '#f00'; ctx.fillRect(200, 0, 100, 50); -_assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); -_assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); +_assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); +_assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.html index e029b0e0f435..edc4c527b21c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.html @@ -25,7 +25,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowBlur = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.worker.js index 5dbc950b1fc2..85bf21a08617 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.blur.worker.js @@ -21,7 +21,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowBlur = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.html index 38ebd479db42..f0c92820900f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.html @@ -23,7 +23,7 @@ var ctx = canvas.getContext('2d'); ctx.shadowColor = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.worker.js index d230ef14be66..dae0ea648dd2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.1.worker.js @@ -19,7 +19,7 @@ var ctx = canvas.getContext('2d'); ctx.shadowColor = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.html index a2aaa4ca7270..3c27b988c941 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.html @@ -24,7 +24,7 @@ ctx.globalCompositeOperation = 'destination-atop'; ctx.shadowColor = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.worker.js index 89436362a390..2f1573ef3fe0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.off.2.worker.js @@ -20,7 +20,7 @@ ctx.globalCompositeOperation = 'destination-atop'; ctx.shadowColor = '#f00'; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.html index a5a9c2458b61..9107ef25de02 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.html @@ -25,7 +25,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.worker.js index a31b66d4d418..d8e7d5039bb1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.x.worker.js @@ -21,7 +21,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.html index 346e22ac6f1f..77a79d8457d8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.html @@ -25,7 +25,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.worker.js index fcb5db84e63c..53140b13a96d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.enable.y.worker.js @@ -21,7 +21,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 0.1; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.html index 6ba5e8a4abb3..d92a2484408f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.html @@ -29,7 +29,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#00f'; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.worker.js index b5a64ab99ede..b5b65a00563e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.alpha.worker.js @@ -25,7 +25,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#00f'; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); +_assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.html index b5aada866e2f..b88281be9a39 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.html @@ -29,7 +29,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 50; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.worker.js index c73164ff4969..ef9ce712f2b8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.basic.worker.js @@ -25,7 +25,7 @@ ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 50; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.html index 67e753d36894..f71a8b4222aa 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.html @@ -29,7 +29,7 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetY = 50; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.worker.js index b83cdaf953e3..b60d6f7f5932 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.1.worker.js @@ -25,7 +25,7 @@ ctx.shadowColor = '#f00'; ctx.shadowOffsetY = 50; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.html index 43b43d1cc5da..d7c560ec4637 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.html @@ -33,9 +33,9 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#0f0'; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.worker.js index 75e1fefce988..7226b004b808 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.gradient.transparent.2.worker.js @@ -29,9 +29,9 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#0f0'; ctx.fillStyle = gradient; ctx.fillRect(0, -50, 100, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.html index c57bba957dc8..5add7eae5aca 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, -50); - _assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); + _assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.worker.js index eedb9cc06758..7a1d99218f13 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.alpha.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, -50); - _assertPixelApprox(canvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2); + _assertPixelApprox(canvas, 50,25, 127,0,127,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.html index 850ae707b0e6..101cfbab0c16 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, -50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.worker.js index c6bee034aaf6..f1d72def72b6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.basic.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, -50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.html index 3f9bdeae63dc..c56a73f7366d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.html @@ -36,9 +36,9 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0, 100, 50, -10, -50, 240, 50); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.worker.js index e39f61689b9a..a8c0ead903b8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.scale.worker.js @@ -32,9 +32,9 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0, 100, 50, -10, -50, 240, 50); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.html index b141d39ae9c8..cd0950349919 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.html @@ -36,9 +36,9 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 50, 0, 50, 50, 0, -50, 50, 50); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.worker.js index 4fdd2180d60f..60e32b48835a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.section.worker.js @@ -32,9 +32,9 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 50, 0, 50, 50, 0, -50, 50, 50); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 50,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.html index 9f3160dd5d6a..37844050a95f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.html @@ -36,7 +36,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, -50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.worker.js index 9f5eda36f929..8e8ded8bd3d8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.1.worker.js @@ -32,7 +32,7 @@ var promise = new Promise(function(resolve, reject) { promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, -50); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.html index 238c30424355..996bce718a34 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.html @@ -40,9 +40,9 @@ promise.then(function(response) { ctx.drawImage(bitmap, 50, -50); ctx.shadowColor = '#f00'; ctx.drawImage(bitmap, -50, -50); - _assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); - _assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); + _assertPixel(canvas, 25,25, 0,255,0,255); + _assertPixel(canvas, 50,25, 0,255,0,255); + _assertPixel(canvas, 75,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.worker.js index 589755eefbe4..5075d6cfa7e0 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.image.transparent.2.worker.js @@ -36,9 +36,9 @@ promise.then(function(response) { ctx.drawImage(bitmap, 50, -50); ctx.shadowColor = '#f00'; ctx.drawImage(bitmap, -50, -50); - _assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); - _assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); + _assertPixel(canvas, 25,25, 0,255,0,255); + _assertPixel(canvas, 50,25, 0,255,0,255); + _assertPixel(canvas, 75,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.html index ff47ac66cae2..97c04018ac47 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.html @@ -26,8 +26,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = -50; ctx.fillRect(50, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.worker.js index 3d31f5a407e0..93c226570fb4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeX.worker.js @@ -22,8 +22,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = -50; ctx.fillRect(50, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.html index 1abc62ee4872..7f5d5ab9a892 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.html @@ -26,8 +26,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = -25; ctx.fillRect(0, 25, 100, 25); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.worker.js index 806ff24bcc54..6ee0bcc7c5d1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.negativeY.worker.js @@ -22,8 +22,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = -25; ctx.fillRect(0, 25, 100, 25); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.html index ddfe2028eef4..a745de88ab62 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.html @@ -26,8 +26,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.worker.js index aded29344de0..241fbda8f31e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveX.worker.js @@ -22,8 +22,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetX = 50; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); -_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); +_assertPixel(canvas, 25,25, 0,255,0,255); +_assertPixel(canvas, 75,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.html index 91a64f148f8f..168b17968848 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.html @@ -26,8 +26,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 25; ctx.fillRect(0, 0, 100, 25); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.worker.js index 76fdaefd718a..b3236d66a529 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.offset.positiveY.worker.js @@ -22,8 +22,8 @@ ctx.fillStyle = '#0f0'; ctx.shadowColor = '#0f0'; ctx.shadowOffsetY = 25; ctx.fillRect(0, 0, 100, 25); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.html index 7d2757900427..207160d20f56 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.html @@ -32,10 +32,10 @@ ctx.shadowOffsetY = 100; ctx.fillRect(25, -100, 50, 25); ctx.shadowOffsetY = -100; ctx.fillRect(25, 125, 50, 25); -_assertPixel(canvas, 12,25, 0,255,0,255, "12,25", "0,255,0,255"); -_assertPixel(canvas, 87,25, 0,255,0,255, "87,25", "0,255,0,255"); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 12,25, 0,255,0,255); +_assertPixel(canvas, 87,25, 0,255,0,255); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.worker.js index 25bcf774e634..d0787d67a41f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.outside.worker.js @@ -28,10 +28,10 @@ ctx.shadowOffsetY = 100; ctx.fillRect(25, -100, 50, 25); ctx.shadowOffsetY = -100; ctx.fillRect(25, 125, 50, 25); -_assertPixel(canvas, 12,25, 0,255,0,255, "12,25", "0,255,0,255"); -_assertPixel(canvas, 87,25, 0,255,0,255, "87,25", "0,255,0,255"); -_assertPixel(canvas, 50,12, 0,255,0,255, "50,12", "0,255,0,255"); -_assertPixel(canvas, 50,37, 0,255,0,255, "50,37", "0,255,0,255"); +_assertPixel(canvas, 12,25, 0,255,0,255); +_assertPixel(canvas, 87,25, 0,255,0,255); +_assertPixel(canvas, 50,12, 0,255,0,255); +_assertPixel(canvas, 50,37, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.html index 225ccce5b7e5..600fbd03ff76 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.html @@ -40,9 +40,9 @@ promise.then(function(response) { ctx.shadowColor = '#0f0'; ctx.fillStyle = pattern; ctx.fillRect(0, -50, 100, 50); - _assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); - _assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); + _assertPixel(canvas, 25,25, 0,255,0,255); + _assertPixel(canvas, 50,25, 0,255,0,255); + _assertPixel(canvas, 75,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.worker.js index 2069e746eabf..2aa316614690 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.pattern.transparent.2.worker.js @@ -36,9 +36,9 @@ promise.then(function(response) { ctx.shadowColor = '#0f0'; ctx.fillStyle = pattern; ctx.fillRect(0, -50, 100, 50); - _assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); - _assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); + _assertPixel(canvas, 25,25, 0,255,0,255); + _assertPixel(canvas, 50,25, 0,255,0,255); + _assertPixel(canvas, 75,25, 0,255,0,255); }, t_fail); }).then(t_pass, t_fail); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.html index 24d85243a5c2..27110251346a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.html @@ -30,9 +30,9 @@ ctx.lineWidth = 50; ctx.moveTo(0, -25); ctx.lineTo(100, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.worker.js index f9cc851181f9..7ebbd8ec5b49 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.basic.worker.js @@ -26,9 +26,9 @@ ctx.lineWidth = 50; ctx.moveTo(0, -25); ctx.lineTo(100, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.html index 6e477b840741..3854669bf0c8 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.html @@ -33,9 +33,9 @@ ctx.lineTo(0, -25); ctx.moveTo(100, -25); ctx.lineTo(150, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.worker.js index 0e9289ab824a..7ecd07b1cdad 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.1.worker.js @@ -29,9 +29,9 @@ ctx.lineTo(0, -25); ctx.moveTo(100, -25); ctx.lineTo(150, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.html index 99ae3b165ec7..bd18ec6f8cbe 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.html @@ -31,9 +31,9 @@ ctx.lineCap = 'square'; ctx.moveTo(25, -25); ctx.lineTo(75, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.worker.js index ba5868118503..7c7dc26dd923 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.cap.2.worker.js @@ -27,9 +27,9 @@ ctx.lineCap = 'square'; ctx.moveTo(25, -25); ctx.lineTo(75, -25); ctx.stroke(); -_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255"); +_assertPixel(canvas, 1,25, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.html index 9f22089f1291..8faa2fef082c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.html @@ -32,10 +32,10 @@ ctx.moveTo(-200, -50); ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.worker.js index 69563b08d89b..e81a9b212d4e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.1.worker.js @@ -28,10 +28,10 @@ ctx.moveTo(-200, -50); ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.html index e42a21e2fe4d..7b52a7c95085 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.html @@ -34,10 +34,10 @@ ctx.moveTo(-200, -50); ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.worker.js index e621f96544b0..269a49d76cdb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.2.worker.js @@ -30,10 +30,10 @@ ctx.moveTo(-200, -50); ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.html index d41b51262419..6110d3ae40c4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.html @@ -33,10 +33,10 @@ ctx.moveTo(-200, -50); ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); // (not an exact right angle, to avoid some other bug in Firefox 3) ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.worker.js index cd01072128c0..43144b0fd9b2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.stroke.join.3.worker.js @@ -29,10 +29,10 @@ ctx.moveTo(-200, -50); ctx.lineTo(-150, -50); ctx.lineTo(-151, -100); // (not an exact right angle, to avoid some other bug in Firefox 3) ctx.stroke(); -_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); -_assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255"); +_assertPixel(canvas, 1,1, 0,255,0,255); +_assertPixel(canvas, 48,48, 0,255,0,255); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 98,48, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.html index 76688fef249c..d6c4e483ba57 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.html @@ -26,7 +26,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#0f0'; ctx.translate(100, 100); ctx.fillRect(-100, -150, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.worker.js index 8b16e520c9c7..38cdf7eb7cf6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.1.worker.js @@ -22,7 +22,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#0f0'; ctx.translate(100, 100); ctx.fillRect(-100, -150, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.html b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.html index 01513a2bd55e..f0b1607262db 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.html +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.html @@ -26,7 +26,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#0f0'; ctx.rotate(Math.PI) ctx.fillRect(-100, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.worker.js b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.worker.js index 4f62cdfbeb4f..9f204d24393b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/shadows/2d.shadow.transform.2.worker.js @@ -22,7 +22,7 @@ ctx.shadowOffsetY = 50; ctx.shadowColor = '#0f0'; ctx.rotate(Math.PI) ctx.fillRect(-100, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.html index abe6cb7f0ae0..438e6756a06b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'center'; ctx.fillText('DD', 50, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.worker.js index ba450334eff3..9487e6ab8ebd 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.center.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'center'; ctx.fillText('DD', 50, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.html index d229fac87935..6134042bdc97 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.html @@ -32,12 +32,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'end'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.worker.js index 7a4c6d354996..2a7b9e9418c1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.ltr.worker.js @@ -28,12 +28,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'end'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.html index b285da9a9086..a4b502480aed 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.html @@ -32,12 +32,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'end'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.worker.js index 5e633f8d032d..deb8227ec437 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.end.rtl.worker.js @@ -28,12 +28,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'end'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.html index 12595fab4401..6e69a830a4ce 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'left'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.worker.js index adc5b01df40b..9c555126537c 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.left.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'left'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.html index d73128592431..a56c7cab1d13 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'right'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.worker.js index 822712ebffe4..f246963f606b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.right.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'right'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.html index 8e888f2e306a..ba8c440c43b6 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.html @@ -32,12 +32,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'start'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.worker.js index 1765fb19fa42..2de9d50fabb4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.ltr.worker.js @@ -28,12 +28,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'start'; ctx.fillText('DD', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.html index c277b0d48779..32f83430e094 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.html @@ -32,12 +32,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'start'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.worker.js index 26709778eb4f..41cb57b9587b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.align.start.rtl.worker.js @@ -28,12 +28,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'start'; ctx.fillText('DD', 100, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.html index bd478f1d37c1..bd6a1804a538 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'alphabetic'; ctx.fillText('CC', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.worker.js index d2b5abc0ad28..5b4fe08b1307 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.alphabetic.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'alphabetic'; ctx.fillText('CC', 0, 37.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.html index 5bd71f2d5d77..4e5fc8e34641 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'bottom'; ctx.fillText('CC', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.worker.js index 8df706f1ad2f..1c7cab3ef99a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.bottom.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'bottom'; ctx.fillText('CC', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.html index d1606117c445..d0d573790dbb 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'hanging'; ctx.fillText('CC', 0, 12.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.worker.js index 58ca029ee6f8..79df7d8e484a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.hanging.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'hanging'; ctx.fillText('CC', 0, 12.5); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.html index a5cc0eb081fb..144d56f784d1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'ideographic'; ctx.fillText('CC', 0, 31.25); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.worker.js index 8dc0ab550508..ef7d0180cda7 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.ideographic.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'ideographic'; ctx.fillText('CC', 0, 31.25); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.html index fd3176c111fb..3072264bb4a5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'middle'; ctx.fillText('CC', 0, 25); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.worker.js index 72ca109344b6..a0509b6711c4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.middle.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'middle'; ctx.fillText('CC', 0, 25); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.html index 2ddb63c757eb..a077aff348f2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.html @@ -31,12 +31,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'top'; ctx.fillText('CC', 0, 0); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.worker.js index daf872b379f7..bbc7fc06a31d 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.baseline.top.worker.js @@ -27,12 +27,12 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textBaseline = 'top'; ctx.fillText('CC', 0, 0); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,45, 0,255,0,255, "95,45", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 5,45, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,45, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.basic.png b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.basic.png dissimilarity index 99% index 1e313371d828e9f5edf61480e64ea5c689653fca..70d7b046cb226cfcb2bfeebe3477d3b580d8270a 100644 GIT binary patch delta 1099 zcwPZZ1ho6)3-Jh$HGc#qNklv$Qh(TJ5zHzz#CNa)CO{zo{hhKeM$){!EL>!+!)RT!hX*<x84srMk8ggJ_B-Atn_KEl#gJ8P| z_NdC_;!tIFo~0sLY8icQOpJt0);SR$@oO!B>mrz=>fe#d-^|~G7&MBk8@9o?kiR7= z6ChRI z*p$|EQmyC#%!R9dyT|)b2b*BF#kM;V6CZ+;)enY4DQxf#U+rf#R4v9&r?oCrvtxK* zNJC(=ci))uG{ZXCXXex-mH%+uIR{04R&OgoI)8=GE`qfdffc|@uoW5%Vf+Ns@?!EY zp_0`D2hB4-x#YcP5bO}arI52=1XRF&_|qHDO?Wn+CK;2}4!=Mxd;m|GeI}|d^>Ehj zX;hjy)<04cgV}IK`Fxg7ldxL{6PrWMbbm`M3SsHw1iC7T^OPqro&!1 z1%G?(M(nE=oYx{X2_lkYy(|v*yeUZMNwrg}RP~Fb@{akcAcf>D(E3PCfM^cVCXy%T zPoX_f*$iJxS)Z#fNTCRp*bVxG6j~xR2_pM9YarYfhvgRfH`Iuws{W!>{%Ss@Cz&DF zWC`z{E)o+X*(d9D_3{t2&<|3_5q;QRqJJX!!JEevO4JSCC*Gz=OpIiotgoc|QR^;; zq{}UJMHf@2r3CasEv$qR7zx8*A}oW$>Z{k4b`=$giIFUmHCnyNi>!N|3qIos!mC1dCx8)WId_fG%j3JA)VOhKR((;cz${4u`|xa5x+ehr{td@i%8e|AlO# Rc(nik002ovPDHLkV1gG84;ugg delta 1473 zcwPa)1wQ)m2;>WpHGc(}Nkl#zt>SgEA4%ouzP~XS?@(M#Zi%E>(7f=J=%l3ty`Z}=$7nSDINHxoogaSLzeOlku+aeOJaQi2tie=$2vc|~N^ z!^C8l7IHAblYdo=$`_f=y9pxia(0Gw&N7_KlcE0KoPkF$Jo&16 z-ePWQYSM@K+!N|OtYbafK^xPU9Xaz?&ZE0QWFoK97JhDFE$`67a3(XG388m4vv?!H zx4JK@HHXu}RDKmPH`Rx)5!VOi&EYfI#;_u1Mzb>*zJJK1EY28y7kP4R7H4_r-NnUO zgdxo5Kr~hoQi4^(;)vYYlv&#;rm#BHFD=qv7_E*bORR;bBj(Wh-V-?#dcWRuxGSRR ze6`3oN(O5L+XMO6`LvmVvlUzwem+;E|7c+Tq=jL z!d_ku^?xQC_IE?&aj=pD;9SmVs{grYpyqfh{3Y;(9FcuRB6uoPnmcwFrM@gY7|4Ii zA&g{K;LHq-PlT4cn~FaiXlrv1q$8NZX|y*mzY#(A50wGQmhD90X z)%p6v*cAD*gL~<0y4h#qr;*4ZRxy82qLv=4&$2G^;FK)RWIhRm6YIN{2HRJgj&f>r zhSW+oFR+N&X;+9=R%NB2o4KD$qkXL$;$WRZM??7%oh+%J!~HpGw*|tp4PDbC^Q@%# z2!F=cXaD`mepYfxL&ne#L%4xG`8t2+#d)?{fB}U}<_kQ49mPL3yA?>K)bbij} zd^g@qNRCe68lI;+N2H4zisF6*rGmAayYlzl^P^onbFnN4guT&Sq!1mw;e?|W-DB*7S8odpKE6>wj6zu6&37z_-9(xIK$7mPbQY%qGx>6w$dqV1i}u-pL?QvTD}T-( z`BPKoBF2Gvtcltm3Qu~!;JSnnm$3-6a&ou{Uc_>+jqwR08(GI!kn_k%O4yS^{}$G~%sM`}t9O z%ByjWzbASn7#dv_mM4fD%ZGvA{D0Aj!3frf=ulsfW>UKeyvLBx*vi(>{-1`2mwssD zjX+*j-}SR-MmHCEvLrBfG`+MQ#=wJhc`!eewoTxBIUmu5;kMMv0q)3pHfUikZ%1qS zw0c5YlpFW5hI6tWs7~d#5$%=~zXu+y+B?MRWRv5ghkSFmVfd9tN3@+ z^$GK`^v{l-iTcVmp5&J-WqB0qzVhe9Bz}OwniPEtiOF;ymIbSxhFszM>`ur$KIZa# z{WJ6b3D&PXnEwC00S4>G!L}=9%}1COjk~y^cRaVTC1-k@xIJOXw{jJ0b1sHEd4zMa zO^-TX{!}r6iL}#BH{00C<~ouhBbmZj+8NGvK4b$2|1U0As8FFog$flaRH#s)LWK$y bD&*sT6xG|T{JT;?00000NkvXXu0mjfyVK$F diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.html index 0941ad75e6bd..63b30966f4a2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.html @@ -30,10 +30,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('DD', 0, 37.5, 100); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.worker.js index 0e975c72c94e..092289baf4a2 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.bound.worker.js @@ -26,10 +26,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('DD', 0, 37.5, 100); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.html index f247178ca3b3..9294bf99736b 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.html @@ -30,10 +30,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillText('EEEE', -50, 37.5, 40); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.worker.js index 0ad857c75b23..99cc25e7aeee 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.worker.js @@ -26,10 +26,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#f00'; ctx.fillText('EEEE', -50, 37.5, 40); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.large.png b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.large.png dissimilarity index 99% index 1e313371d828e9f5edf61480e64ea5c689653fca..70d7b046cb226cfcb2bfeebe3477d3b580d8270a 100644 GIT binary patch delta 1099 zcwPZZ1ho6)3-Jh$HGc#qNklv$Qh(TJ5zHzz#CNa)CO{zo{hhKeM$){!EL>!+!)RT!hX*<x84srMk8ggJ_B-Atn_KEl#gJ8P| z_NdC_;!tIFo~0sLY8icQOpJt0);SR$@oO!B>mrz=>fe#d-^|~G7&MBk8@9o?kiR7= z6ChRI z*p$|EQmyC#%!R9dyT|)b2b*BF#kM;V6CZ+;)enY4DQxf#U+rf#R4v9&r?oCrvtxK* zNJC(=ci))uG{ZXCXXex-mH%+uIR{04R&OgoI)8=GE`qfdffc|@uoW5%Vf+Ns@?!EY zp_0`D2hB4-x#YcP5bO}arI52=1XRF&_|qHDO?Wn+CK;2}4!=Mxd;m|GeI}|d^>Ehj zX;hjy)<04cgV}IK`Fxg7ldxL{6PrWMbbm`M3SsHw1iC7T^OPqro&!1 z1%G?(M(nE=oYx{X2_lkYy(|v*yeUZMNwrg}RP~Fb@{akcAcf>D(E3PCfM^cVCXy%T zPoX_f*$iJxS)Z#fNTCRp*bVxG6j~xR2_pM9YarYfhvgRfH`Iuws{W!>{%Ss@Cz&DF zWC`z{E)o+X*(d9D_3{t2&<|3_5q;QRqJJX!!JEevO4JSCC*Gz=OpIiotgoc|QR^;; zq{}UJMHf@2r3CasEv$qR7zx8*A}oW$>Z{k4b`=$giIFUmHCnyNi>!N|3qIos!mC1dCx8)WId_fG%j3JA)VOhKR((;cz${4u`|xa5x+ehr{td@i%8e|AlO# Rc(nik002ovPDHLkV1gG84;ugg delta 1473 zcwPa)1wQ)m2;>WpHGc(}Nkl#zt>SgEA4%ouzP~XS?@(M#Zi%E>(7f=J=%l3ty`Z}=$7nSDINHxoogaSLzeOlku+aeOJaQi2tie=$2vc|~N^ z!^C8l7IHAblYdo=$`_f=y9pxia(0Gw&N7_KlcE0KoPkF$Jo&16 z-ePWQYSM@K+!N|OtYbafK^xPU9Xaz?&ZE0QWFoK97JhDFE$`67a3(XG388m4vv?!H zx4JK@HHXu}RDKmPH`Rx)5!VOi&EYfI#;_u1Mzb>*zJJK1EY28y7kP4R7H4_r-NnUO zgdxo5Kr~hoQi4^(;)vYYlv&#;rm#BHFD=qv7_E*bORR;bBj(Wh-V-?#dcWRuxGSRR ze6`3oN(O5L+XMO6`LvmVvlUzwem+;E|7c+Tq=jL z!d_ku^?xQC_IE?&aj=pD;9SmVs{grYpyqfh{3Y;(9FcuRB6uoPnmcwFrM@gY7|4Ii zA&g{K;LHq-PlT4cn~FaiXlrv1q$8NZX|y*mzY#(A50wGQmhD90X z)%p6v*cAD*gL~<0y4h#qr;*4ZRxy82qLv=4&$2G^;FK)RWIhRm6YIN{2HRJgj&f>r zhSW+oFR+N&X;+9=R%NB2o4KD$qkXL$;$WRZM??7%oh+%J!~HpGw*|tp4PDbC^Q@%# z2!F=cXaD`mepYfxL&ne#L%4xG`8t2+#d)?{fB}U}<_kQ49mPL3yA?>K)bbij} zd^g@qNRCe68lI;+N2H4zisF6*rGmAayYlzl^P^onbFnN4guT&Sq!1mw;e?|W-DB*7S8odpKE6>wj6zu6&37z_-9(xIK$7mPbQY%qGx>6w$dqV1i}u-pL?QvTD}T-( z`BPKoBF2Gvtcltm3Qu~!;JSnnm$3-6a&ou{Uc_>+jqwR08(GI!kn_k%O4yS^{}$G~%sM`}t9O z%ByjWzbASn7#dv_mM4fD%ZGvA{D0Aj!3frf=ulsfW>UKeyvLBx*vi(>{-1`2mwssD zjX+*j-}SR-MmHCEvLrBfG`+MQ#=wJhc`!eewoTxBIUmu5;kMMv0q)3pHfUikZ%1qS zw0c5YlpFW5hI6tWs7~d#5$%=~zXu+y+B?MRWRv5ghkSFmVfd9tN3@+ z^$GK`^v{l-iTcVmp5&J-WqB0qzVhe9Bz}OwniPEtiOF;ymIbSxhFszM>`ur$KIZa# z{WJ6b3D&PXnEwC00S4>G!L}=9%}1COjk~y^cRaVTC1-k@xIJOXw{jJ0b1sHEd4zMa zO^-TX{!}r6iL}#BH{00C<~ouhBbmZj+8NGvK4b$2|1U0As8FFog$flaRH#s)LWK$y bD&*sT6xG|T{JT;?00000NkvXXu0mjfyVK$F diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.rtl.png b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.rtl.png dissimilarity index 99% index 1e313371d828e9f5edf61480e64ea5c689653fca..70d7b046cb226cfcb2bfeebe3477d3b580d8270a 100644 GIT binary patch delta 1099 zcwPZZ1ho6)3-Jh$HGc#qNklv$Qh(TJ5zHzz#CNa)CO{zo{hhKeM$){!EL>!+!)RT!hX*<x84srMk8ggJ_B-Atn_KEl#gJ8P| z_NdC_;!tIFo~0sLY8icQOpJt0);SR$@oO!B>mrz=>fe#d-^|~G7&MBk8@9o?kiR7= z6ChRI z*p$|EQmyC#%!R9dyT|)b2b*BF#kM;V6CZ+;)enY4DQxf#U+rf#R4v9&r?oCrvtxK* zNJC(=ci))uG{ZXCXXex-mH%+uIR{04R&OgoI)8=GE`qfdffc|@uoW5%Vf+Ns@?!EY zp_0`D2hB4-x#YcP5bO}arI52=1XRF&_|qHDO?Wn+CK;2}4!=Mxd;m|GeI}|d^>Ehj zX;hjy)<04cgV}IK`Fxg7ldxL{6PrWMbbm`M3SsHw1iC7T^OPqro&!1 z1%G?(M(nE=oYx{X2_lkYy(|v*yeUZMNwrg}RP~Fb@{akcAcf>D(E3PCfM^cVCXy%T zPoX_f*$iJxS)Z#fNTCRp*bVxG6j~xR2_pM9YarYfhvgRfH`Iuws{W!>{%Ss@Cz&DF zWC`z{E)o+X*(d9D_3{t2&<|3_5q;QRqJJX!!JEevO4JSCC*Gz=OpIiotgoc|QR^;; zq{}UJMHf@2r3CasEv$qR7zx8*A}oW$>Z{k4b`=$giIFUmHCnyNi>!N|3qIos!mC1dCx8)WId_fG%j3JA)VOhKR((;cz${4u`|xa5x+ehr{td@i%8e|AlO# Rc(nik002ovPDHLkV1gG84;ugg delta 1473 zcwPa)1wQ)m2;>WpHGc(}Nkl#zt>SgEA4%ouzP~XS?@(M#Zi%E>(7f=J=%l3ty`Z}=$7nSDINHxoogaSLzeOlku+aeOJaQi2tie=$2vc|~N^ z!^C8l7IHAblYdo=$`_f=y9pxia(0Gw&N7_KlcE0KoPkF$Jo&16 z-ePWQYSM@K+!N|OtYbafK^xPU9Xaz?&ZE0QWFoK97JhDFE$`67a3(XG388m4vv?!H zx4JK@HHXu}RDKmPH`Rx)5!VOi&EYfI#;_u1Mzb>*zJJK1EY28y7kP4R7H4_r-NnUO zgdxo5Kr~hoQi4^(;)vYYlv&#;rm#BHFD=qv7_E*bORR;bBj(Wh-V-?#dcWRuxGSRR ze6`3oN(O5L+XMO6`LvmVvlUzwem+;E|7c+Tq=jL z!d_ku^?xQC_IE?&aj=pD;9SmVs{grYpyqfh{3Y;(9FcuRB6uoPnmcwFrM@gY7|4Ii zA&g{K;LHq-PlT4cn~FaiXlrv1q$8NZX|y*mzY#(A50wGQmhD90X z)%p6v*cAD*gL~<0y4h#qr;*4ZRxy82qLv=4&$2G^;FK)RWIhRm6YIN{2HRJgj&f>r zhSW+oFR+N&X;+9=R%NB2o4KD$qkXL$;$WRZM??7%oh+%J!~HpGw*|tp4PDbC^Q@%# z2!F=cXaD`mepYfxL&ne#L%4xG`8t2+#d)?{fB}U}<_kQ49mPL3yA?>K)bbij} zd^g@qNRCe68lI;+N2H4zisF6*rGmAayYlzl^P^onbFnN4guT&Sq!1mw;e?|W-DB*7S8odpKE6>wj6zu6&37z_-9(xIK$7mPbQY%qGx>6w$dqV1i}u-pL?QvTD}T-( z`BPKoBF2Gvtcltm3Qu~!;JSnnm$3-6a&ou{Uc_>+jqwR08(GI!kn_k%O4yS^{}$G~%sM`}t9O z%ByjWzbASn7#dv_mM4fD%ZGvA{D0Aj!3frf=ulsfW>UKeyvLBx*vi(>{-1`2mwssD zjX+*j-}SR-MmHCEvLrBfG`+MQ#=wJhc`!eewoTxBIUmu5;kMMv0q)3pHfUikZ%1qS zw0c5YlpFW5hI6tWs7~d#5$%=~zXu+y+B?MRWRv5ghkSFmVfd9tN3@+ z^$GK`^v{l-iTcVmp5&J-WqB0qzVhe9Bz}OwniPEtiOF;ymIbSxhFszM>`ur$KIZa# z{WJ6b3D&PXnEwC00S4>G!L}=9%}1COjk~y^cRaVTC1-k@xIJOXw{jJ0b1sHEd4zMa zO^-TX{!}r6iL}#BH{00C<~ouhBbmZj+8NGvK4b$2|1U0As8FFog$flaRH#s)LWK$y bD&*sT6xG|T{JT;?00000NkvXXu0mjfyVK$F diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.html index 8b67e37f44ce..e620ae1a181e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.html @@ -34,8 +34,8 @@ ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.worker.js index 54308035f5ab..9640bad6c9a4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fill.unaffected.worker.js @@ -30,8 +30,8 @@ ctx.lineTo(0, 50); ctx.fillStyle = '#0f0'; ctx.fill(); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); -_assertPixel(canvas, 5,45, 0,255,0,255, "5,45", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); +_assertPixel(canvas, 5,45, 0,255,0,255); t.done(); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.html index d9ddd5cdbe1d..d2c65e8bb2b9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.html @@ -30,10 +30,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.html index 092dc0794149..f390700ea0c5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.html @@ -30,10 +30,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.worker.js index e164fb1d5f0b..8efab418a870 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.notinpage.worker.js @@ -26,10 +26,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.html index fa3367ca2b36..3766ab698900 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.html @@ -31,10 +31,10 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.worker.js index 8625394e23d0..756e844709b9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.repeat.worker.js @@ -27,10 +27,10 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.worker.js index ec8ba80e35e7..45f18317b094 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.fontface.worker.js @@ -26,10 +26,10 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('AA', 0, 50); - _assertPixelApprox(canvas, 5,5, 0,255,0,255, "5,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 95,5, 0,255,0,255, "95,5", "0,255,0,255", 2); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 5,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 95,5, 0,255,0,255, 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.html index b3880ea5540a..4bc03bb4adb9 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.html @@ -30,8 +30,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E EE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.worker.js index f2b4c2803394..39c00846e92f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.basic.worker.js @@ -26,8 +26,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E EE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.html index 13030fe0cb2a..58fb292e132e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.html @@ -31,8 +31,8 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'right'; ctx.fillText('EE ', 100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.worker.js index fcbb9b285286..81f85baff0b1 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.end.worker.js @@ -27,8 +27,8 @@ fonts.ready.then(function() { ctx.fillStyle = '#0f0'; ctx.textAlign = 'right'; ctx.fillText('EE ', 100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.html index 185fe51ef9ee..f018dc14658e 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.html @@ -30,8 +30,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E\x0b EE', -150, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.worker.js index 7eb2e7042d0b..cbc98034878a 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.nonspace.worker.js @@ -26,8 +26,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E\x0b EE', -150, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.html index f49f8894f325..0a6bb09c07e4 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.html @@ -30,8 +30,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E \x09\x0a\x0c\x0d \x09\x0a\x0c\x0dEE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.worker.js index 9b58f3366bd1..e13b87a531f5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.other.worker.js @@ -26,8 +26,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E \x09\x0a\x0c\x0d \x09\x0a\x0c\x0dEE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.html index b0115aed8cb0..3308cc759826 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.html @@ -30,8 +30,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E EE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.worker.js index 5aecb5d17e35..4ea78a24664f 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.space.worker.js @@ -26,8 +26,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText('E EE', -100, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.html b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.html index 4e9115b3e016..94b3f9ff0b00 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.html +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.html @@ -30,8 +30,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText(' EE', 0, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.worker.js b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.worker.js index a9e9cef517c5..20bd10ae57f5 100644 --- a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.worker.js +++ b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.space.collapse.start.worker.js @@ -26,8 +26,8 @@ fonts.ready.then(function() { ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = '#0f0'; ctx.fillText(' EE', 0, 37.5); - _assertPixelApprox(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255", 2); - _assertPixelApprox(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255", 2); + _assertPixelApprox(canvas, 25,25, 0,255,0,255, 2); + _assertPixelApprox(canvas, 75,25, 0,255,0,255, 2); }).then(t_pass, t_fail); }); diff --git a/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.stroke.basic.png b/testing/web-platform/tests/html/canvas/offscreen/text/2d.text.draw.stroke.basic.png dissimilarity index 99% index b04566f5c66e5816afdf094c1441d8a483297420..fb3b5b830d345d2aa858e41673e08f99977baf08 100644 GIT binary patch delta 1600 zcwPZO2EX}`5aJAwHGc*dNkl0-;3>DHy2O7;UWzX)47c43B6D#1N@qEpbX|0}KUu$cSP93jm-=#d8zIF7b7bP_36erlrq5p?SM6h=70o7@{wxlclsOEWA@kMTJVFl+I7wu~S zhq#v(EaWDpGKdGFyVNm;=eUPT(4Cvp&6n8A&DAQGd=BMo`RuXvakMvzS)wVi+&c zJ`W<1Tzn1Z@JzH>0W*1@=HNkoA8ovh>EJa^^JB0)6rz~La?q9|%%E|SO)HkLm8-yf zewGK3NHPpo9lv7=XvryBrLt*3EhRLjn(1r-xA0-)#{f2QJ9wU7MVl3{E=)!@j^#ll zlB|L?EPo*b*vYq2*^CPh-L34V8D}T~??-a!Ru0dETC!BBoX zRW{IxlQg9<$ASm<@h8xR+RNwge{5tZD5Z)XX@5PrgZ^~m%XtuqB&%TE%O65{AH94Kg>y1Gd{dl8Ilu`NHPyr0e|HCpoH2~3(YHsu5`O|nxkx|7PRF} z*71uZ4?d zWWJGZ&Sa{1I#uLHg(a^epD~;}FTEyF6Q*%Z+8iR0){JHeM>)jHj7Z3W=JMyXiSCt( zT+x%&oFcB~26|D>JStM@tYr6(wIYGyIV&g?dU)WTR4-p`~AGccle00 zjAeN4L=Y0&v~1+b`mIthmNz-ewP}xT>L{a@W&D6gLgit;;1jwqnRRIuUZ)2$nL-86 z=2Qf^+3rN~5U+xX3`=#+bMYF*7=N&g2Wb`*YWXhxSW2G^M*Ismg5wFhuAGRZBdZKP zCA~Qk=HfjDrZv8szlQQ#j1T3NA>I83N0S!&WbO~yNjE;qsR;7;WKCcN7r22Uwx%`S zK-aKmEK67u*M)P`Jyftbt-noqoK;{Tdvhw1js`wijrk-Tbw9)047$t<1AjH)SV(RQ zsS3++Q`WPML8+4E zBmH=XMXX6XM8iZPf;Ej!p}aB6KiS76od5lcpJ&teQ96e51)k#bBsrVT^r9VYxr!R9 y+0LnK2Fi&@OiWBnOiWBnOiWBnOiWBnZul=!n+wy_(&CK(0000M$d#HfHm5f?y3 z7Nrz|Mj=tA3?>pK#I2%eAs{ZL5EYFYmqZX{i3rFLmx_!;Gy(xsP}xM7ky%(G?iwL~ zKr`>nd-uIZz{)@GTlbG!-KT%u_uTHj=kz5@mMmGaWXX~xOMjOCGdanNuc3LmraLHO z1@Evc;|}|9R=EF)G5gXM$8!O_XhBozP(c+7na5jvpMgkY`fxrSXhH$ospLK8@iLz# zZx`XLB`l&mWtWX;K_?2C#6&*JV4y20A%|+N%nPQGZGai>c-_8qt(f=|?vnVJu%~HZV)*l%XlDd7729NN3rV56IyGav09D znRRgnm0U~Rn8Nxrh&SuW8t#k`Ig~edAD<*vU3_v7RS5DHz{PDY@y!MvSvYF^^#h*R|ZnEH=|Uw3^HBqBR?^l_P1*F75)4 zaC5rB+{?Y-aF#HebAxM;PdEO=M%shpsN|4%kxqOR-sPRFqnM*YZ4SpVl27;z$Yl{f zO*b~;oqshprRC{Vax^%NRneB0huvfdAF~FW%m(U2x2nswuy7_bG1_u4tH}pb7#Uyt z6xV{jyq~c2_R^9~oB{gr&*<)I$lO^N&4VC^O&k+pwtx%4RIZ{t%=tIz7cJhF4?$f% zPna*Yn8zOv@*~ewrgMWnk#hjL4P=~Ux`_7^mvB& zB4*L;z)Y2Wbk+=R0Ee(6ZjtYyFK>b-Y>(M@M)446%Vz3D=wHwL@DVtghp6H`CeS-# zA}4YTm0?ZQXGECbQ@P@Q@_r2&I_n4?=6_!y+8Um)t?p(fzXT(AI;Q+6s>Ao|6)uVB zC65xGjtN0?>CDZ%#%C;IJY6I6kv$A$H63C~np4bkRIrxExi}_r%#>JXtzvq@^#aS; z&OMqL8=McC;-do8DIM{7lVPk7CoMZJjq%vPk5ModN78Stmhi?qIIsIl7I2Z zw#W_)XFl6`oT6xv+U#}K2@Fbh^`|5CgMD+}=GJ6VBl$Bpi46(c#AVC}d6aQN%2A!o z9JVrz;$+#?DZIq;lsYY$NHwo>3!M{&RLD3g(?u9HWSAS)p#$Tox{0z1`$<9{2Gs)jZ44_=A?Vtgr2_=u?NQ zSjqr?mQY)d0vgeV3SQ)4)+W@P0*%Ib< z0gY2$ySKmdSRA8pG!O6`3o<+QYD-nv%SJOgl;6rAG(YBubUm(S4t>Fzm`vpoK4cPW=#oz4Tka02 z*hjRi$@70mXBG1#xQJ2?i@uIyAPv~bV=<}XCK@uG1uUd@2A%#p1ikh6CKPVuT}pU? z^D+?G8#(9kJv;Xl|6tBKmiD{|hA=s$aRmz*1fJx=5W8(>1Kq$xZhr~!S`@kT3JbYC zt3!EdaP&+%&?DX8dk2x@S(o-N!T#@AW4RABV{5V;s22TsJ={-bM7STp%y2(}H{y-~ z;>hEEUIq1IvQf04Ivf+9#bz#w9!W1MXbmQDd%BVDue0jJWWU$(cm_@K_#~XG{Df8E zL!Hk$`hy%sQpIEjg@1oD&FIW^e89Xg^{!)fy#DThU^m@Z&KvxePBf>G;~C5gd>rO- z>-YneNcPiNy<^T8m&Kerr{=D3){J*z7E2c@V?+uW#vE2sMLA1(FoeFifC`R{7td!2 z_k?#)hkiWDQp&03eP&P`a@8VM^6N~-y`RpS&Q;(DS!AzFK8|;1)-Dt%T9L|6EgiXw6 zF55EbC6BY|NqY(@qyd$b^A^vi{Oyt@OO`BIvSi7UB} - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.clip.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.clip.html index 6f8c5838ef8a..ebf52bfa764a 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.clip.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.clip.html @@ -25,9 +25,8 @@ ctx.clip(); canvas.width = 100; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255"); +_assertPixel(canvas, 20,20, 0,255,0,255); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.different.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.different.html index a2afaff4e1c9..d55dd250c091 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.different.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.different.html @@ -21,11 +21,10 @@ _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 20,20, 255,0,0,255, "20,20", "255,0,0,255"); +_assertPixel(canvas, 20,20, 255,0,0,255); canvas.width = 50; -_assertPixel(canvas, 20,20, 0,0,0,0, "20,20", "0,0,0,0"); +_assertPixel(canvas, 20,20, 0,0,0,0); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.gradient.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.gradient.html index 6d9f6827afbb..31b56ec8e9ba 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.gradient.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.gradient.html @@ -28,9 +28,8 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = g; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.path.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.path.html index c0bb067faf09..3525377d2db6 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.path.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.path.html @@ -24,9 +24,8 @@ ctx.rect(0, 0, 100, 50); canvas.width = 100; ctx.fillStyle = '#f00'; ctx.fill(); -_assertPixel(canvas, 20,20, 0,0,0,0, "20,20", "0,0,0,0"); +_assertPixel(canvas, 20,20, 0,0,0,0); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.pattern.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.pattern.html index 170ab9e193f3..28f8306d96d3 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.pattern.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.pattern.html @@ -28,9 +28,8 @@ ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.fillStyle = p; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); +_assertPixel(canvas, 50,25, 0,255,0,255); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.same.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.same.html index 42966b11eda6..1a0872ba2c05 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.same.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.same.html @@ -22,11 +22,10 @@ _addTest(function(canvas, ctx) { canvas.width = 100; ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 50, 50); -_assertPixel(canvas, 20,20, 255,0,0,255, "20,20", "255,0,0,255"); +_assertPixel(canvas, 20,20, 255,0,0,255); canvas.width = 100; -_assertPixel(canvas, 20,20, 0,0,0,0, "20,20", "0,0,0,0"); +_assertPixel(canvas, 20,20, 0,0,0,0); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.transform.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.transform.html index 661bbe6db324..36284ba49841 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.transform.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/initial.reset.transform.html @@ -24,9 +24,8 @@ ctx.scale(0.1, 0.1); canvas.width = 100; ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); -_assertPixel(canvas, 20,20, 0,255,0,255, "20,20", "0,255,0,255"); +_assertPixel(canvas, 20,20, 0,255,0,255); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/security.dataURI.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/security.dataURI.html index 9230cf641807..93b560e82c47 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/security.dataURI.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/security.dataURI.html @@ -30,11 +30,10 @@ img.onload = t.step_func_done(function () { ctx.drawImage(img, 0, 0); canvas.toDataURL(); // should be permitted - _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); + _assertPixel(canvas, 50,25, 0,255,0,255); }); img.src = data; }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.alpha.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.alpha.html index 7260c9dd0fd9..daf278351d96 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.alpha.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.alpha.html @@ -34,7 +34,7 @@ if (!data.match(/^data:image\/jpeg[;,]/)) { img.onload = t.step_func_done(function () { ctx.drawImage(img, 0, 0); - _assertPixelApprox(canvas, 50,25, 63,127,63,255, "50,25", "63,127,63,255", 8); + _assertPixelApprox(canvas, 50,25, 63,127,63,255, 8); }); img.src = data; } @@ -42,4 +42,3 @@ if (!data.match(/^data:image\/jpeg[;,]/)) { }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.primarycolours.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.primarycolours.html index abf07bffd4ba..750487bdeaf6 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.primarycolours.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.primarycolours.html @@ -35,14 +35,13 @@ deferTest(); img.onload = t.step_func_done(function () { ctx.drawImage(img, 0, 0); - _assertPixelApprox(canvas, 12,20, 255,255,0,255, "12,20", "255,255,0,255", 8); - _assertPixelApprox(canvas, 50,20, 0,255,255,255, "50,20", "0,255,255,255", 8); - _assertPixelApprox(canvas, 87,20, 0,0,255,255, "87,20", "0,0,255,255", 8); - _assertPixelApprox(canvas, 50,45, 255,255,255,255, "50,45", "255,255,255,255", 8); + _assertPixelApprox(canvas, 12,20, 255,255,0,255, 8); + _assertPixelApprox(canvas, 50,20, 0,255,255,255, 8); + _assertPixelApprox(canvas, 87,20, 0,0,255,255, 8); + _assertPixelApprox(canvas, 50,45, 255,255,255,255, 8); }); img.src = data; }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.basic.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.basic.html index fd96cdd1820f..dc5d8142441c 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.basic.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.jpeg.quality.basic.html @@ -42,8 +42,8 @@ if (!data.match(/^data:image\/jpeg[;,]/)) { ctx.drawImage(img_hi, 0, 0, 50, 50, 0, 0, 50, 50); ctx.drawImage(img_lo, 0, 0, 50, 50, 50, 0, 50, 50); _assert(data_hi.length > data_lo.length, "data_hi.length > data_lo.length"); - _assertPixelApprox(canvas, 25,25, 0,0,255,255, "25,25", "0,0,255,255", 8); - _assertPixelApprox(canvas, 75,25, 0,0,255,255, "75,25", "0,0,255,255", 32); + _assertPixelApprox(canvas, 25,25, 0,0,255,255, 8); + _assertPixelApprox(canvas, 75,25, 0,0,255,255, 32); }); img_lo.src = data_lo; }; diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.complexcolours.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.complexcolours.html index d7a39f33684b..dadea7c5b08e 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.complexcolours.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.complexcolours.html @@ -35,14 +35,13 @@ img.onload = t.step_func_done(function () ctx.drawImage(img, 0, 25); // (The alpha values do not really survive float->int conversion, so just // do approximate comparisons) - _assertPixel(canvas, 12,40, 1,3,254,255, "12,40", "1,3,254,255"); - _assertPixelApprox(canvas, 37,40, 8,252,248,191, "37,40", "8,252,248,191", 2); - _assertPixelApprox(canvas, 62,40, 6,10,250,127, "62,40", "6,10,250,127", 4); - _assertPixelApprox(canvas, 87,40, 12,16,244,63, "87,40", "12,16,244,63", 8); + _assertPixel(canvas, 12,40, 1,3,254,255); + _assertPixelApprox(canvas, 37,40, 8,252,248,191, 2); + _assertPixelApprox(canvas, 62,40, 6,10,250,127, 4); + _assertPixelApprox(canvas, 87,40, 12,16,244,63, 8); }); img.src = canvas.toDataURL(); }); - diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.primarycolours.html b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.primarycolours.html index 93adc945096e..a13850d54e8a 100644 --- a/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.primarycolours.html +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-canvas-element/toDataURL.png.primarycolours.html @@ -35,14 +35,13 @@ deferTest(); img.onload = t.step_func_done(function () { ctx.drawImage(img, 0, 0); - _assertPixel(canvas, 12,20, 255,255,0,255, "12,20", "255,255,0,255"); - _assertPixel(canvas, 50,20, 0,255,255,255, "50,20", "0,255,255,255"); - _assertPixel(canvas, 87,20, 0,0,255,255, "87,20", "0,0,255,255"); - _assertPixel(canvas, 50,45, 255,255,255,255, "50,45", "255,255,255,255"); + _assertPixel(canvas, 12,20, 255,255,0,255); + _assertPixel(canvas, 50,20, 0,255,255,255); + _assertPixel(canvas, 87,20, 0,0,255,255); + _assertPixel(canvas, 50,45, 255,255,255,255); }); img.src = data; }); - -- 2.11.4.GIT