Closed Bug 1631036 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 23070 - Reorganize canvas

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 23070 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/23070
Details from upstream follow.

Aaron Krajeski <ak@aaronk.is> wrote:

Reorganize canvas

Starting small with this first PR, because small mean ~3k renamed files. In summary:

2dcontext -> html/canvas/dom-element
offscreen-canvas -> html/canvas/offscreen

The tools folder inside 2dcontext and offscreen-canvas has been merged such that tools/build.sh generates dom-canvas and offscreen canvas tests. Next steps:

  1. Take the tests that are in html/semantics/embedded-content/the-canvas-element and move them inside the canvas folder.
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes
# CI Results Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2540 tests and 1 subtests ## Status Summary ### Firefox OK : 2509 PASS : 1343 FAIL : 1869 TIMEOUT: 2 ERROR : 8 NOTRUN : 2 ### Chrome OK : 2514 PASS : 3203 FAIL : 79 ERROR : 4 ### Safari OK : 2509 PASS : 1281 FAIL : 1924 TIMEOUT: 3 ERROR : 8 NOTRUN : 8 ## Links [GitHub PR Head](https://wpt.fyi/results/?sha=da3b169bb5ea20f335a6ec5e256d005404094dfe&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=da3b169bb5ea20f335a6ec5e256d005404094dfe&label=pr_base) ## Details ### Firefox-only Failures /html/canvas/element/text-styles/2d.text.font.parse.size.percentage.html Canvas test: 2d.text.font.parse.size.percentage: FAIL /html/canvas/element/text-styles/2d.text.font.parse.size.percentage.default.html Canvas test: 2d.text.font.parse.size.percentage.default: FAIL /html/canvas/element/text-styles/2d.text.font.relative_size.html Canvas test: 2d.text.font.relative_size: FAIL /html/canvas/element/drawing-text-to-the-canvas/2d.text.measure.fontBoundingBox.html Testing fontBoundingBox: FAIL /html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html Canvas test: 2d.drawImage.incomplete.reload: FAIL /html/canvas/element/compositing/2d.composite.operation.clear.html Canvas test: 2d.composite.operation.clear: FAIL /html/canvas/element/imagebitmap/createImageBitmap-drawImage-closed.html attempt to draw a closed ImageBitmap to a 2d canvas throws INVALID_STATE_ERR: FAIL /html/canvas/element/text-styles/2d.text.font.parse.system.html System fonts must be computed to explicit values: FAIL /html/canvas/element/imagebitmap/createImageBitmap-drawImage.html createImageBitmap from a vector HTMLImageElement resized, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a bitmap HTMLImageElement resized, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement from a data URL scaled down, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLCanvasElement scaled down, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a bitmap HTMLImageElement scaled up, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a bitmap HTMLImageElement scaled down, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement scaled down, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a Blob scaled down, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a vector HTMLImageElement scaled down, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a Blob scaled up, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement scaled up, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLCanvasElement resized, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement resized, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement from a data URL scaled up, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an ImageBitmap scaled down, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a Blob with negative sw/sh, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an ImageBitmap scaled up, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an ImageBitmap resized, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLCanvasElement scaled up, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a Blob resized, and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement from a data URL resized, and drawImage on the created ImageBitmap: FAIL createImageBitmap from a vector HTMLImageElement scaled up, and drawImage on the created ImageBitmap: FAIL /html/canvas/element/imagebitmap/createImageBitmap-invalid-args.html createImageBitmap with CanvasRenderingContext2D image source.: FAIL /html/canvas/element/imagebitmap/createImageBitmap-flipY.html createImageBitmap from an HTMLCanvasElement imageOrientation: "none", and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement imageOrientation: "none", and drawImage on the created ImageBitmap: FAIL createImageBitmap from a vector HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap: FAIL createImageBitmap from a Blob imageOrientation: "none", and drawImage on the created ImageBitmap: FAIL createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "none", and drawImage on the created ImageBitmap: FAIL createImageBitmap from an ImageBitmap imageOrientation: "none", and drawImage on the created ImageBitmap: FAIL createImageBitmap from a bitmap HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap: FAIL /html/canvas/element/fill-and-stroke-styles/2d.pattern.image.incomplete.reload.html Canvas test: 2d.pattern.image.incomplete.reload: FAIL /html/canvas/element/text-styles/2d.text.font.parse.complex.html Canvas test: 2d.text.font.parse.complex: FAIL /html/canvas/element/imagebitmap/canvas-createImageBitmap-video-resize.html createImageBitmap(HTMLVideoElement) with resize option: FAIL (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d4e1e62aed03 [wpt PR 23070] - Reorganize canvas 2d tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/74ce41fbe9f8 [wpt PR 23070] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: