Resync all remaining web-platform-tests/html tests from upstream
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Jul 2020 17:57:56 +0000 (17:57 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Jul 2020 17:57:56 +0000 (17:57 +0000)
https://bugs.webkit.org/show_bug.cgi?id=214057

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Resync all remaining web-platform-tests/html tests from upstream cef93b58e7cf31f1d47ccb.

* resources/resource-files.json:
* web-platform-tests/html/*: Updated.

LayoutTests:

* TestExpectations:
* tests-options.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264117 268f45cc-cd09-0410-ab3c-d52691b4dbfc

568 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/resources/resource-files.json
LayoutTests/imported/w3c/web-platform-tests/html/README.md
LayoutTests/imported/w3c/web-platform-tests/html/canvas/META.yml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001-expected.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self-expected.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.measure.actualBoundingBox.html
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001-expected.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a-expected.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_ref.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002-expected.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001-expected.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001-expected.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001-expected.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001-expected.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001.htm [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a-expected.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_ref.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/text/2d.text.measure.actualBoundingBox.html
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/text/2d.text.measure.actualBoundingBox.worker.js
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.w-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.w.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.worker.js [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.worker.js [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.resize-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.resize.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.w-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.w.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transferrable-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transferrable.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transferrable.w-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.transferrable.w.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/transformations/2d.transformation.getTransform-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/transformations/2d.transformation.getTransform.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/transformations/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/2x2.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/canvas-tests.js
LayoutTests/imported/w3c/web-platform-tests/html/canvas/resources/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/build.sh
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/gentestutils.py
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/spec.yaml
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests.yaml [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests2d-offscreen.yaml [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests2d.yaml [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/compositing.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/conformance-requirements.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/drawing-images-to-the-canvas.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/drawing-rectangles-to-the-canvas.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/drawing-text-to-the-canvas.yaml [moved from LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/tests2dtext.yaml with 58% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/fill-and-stroke-styles.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/line-styles.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/meta.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/path-objects.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/pixel-manipulation.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/scroll.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/shadows.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/text-styles.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/the-canvas-element.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/the-canvas-state.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/transformations.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/video.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/element/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/compositing.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/conformance-requirements.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/drawing-images-to-the-canvas.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/drawing-rectangles-to-the-canvas.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/fill-and-stroke-styles.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/line-styles.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/meta.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/path-objects.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/pixel-manipulation.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/shadows.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/text.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/the-canvas-state.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/the-offscreen-canvas.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/transformations.yaml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/yaml/offscreen/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/canvas/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/META.yml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-document.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-frame-javascript.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-frame-javascript.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/data.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker-cache-storage.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker-cache-storage.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/javascript.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/javascript.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/javascript.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/no-secure-context-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/no-secure-context.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/no-secure-context.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none-load-from-cache-storage.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-none.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-require-corp.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/none.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-navigation.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-navigation.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-subresource-corp.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-subresource-corp.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.https.html [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.html with 79% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.https.html.headers [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-blank.html.headers with 100% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.https.html [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.html with 81% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.https.html.headers [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-about-srcdoc.html.headers with 100% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-none.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/blob-url-factory.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/cache-storage-reporting.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/coep-frame.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/coep-frame.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/dedicated-worker.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/fetch-in-dedicated-worker.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/iframe.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-require-corp-same-site.sub.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/navigate-require-corp-same-site.sub.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/report.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/reporting-empty-frame.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/reporting-empty-frame.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/reporting-worker.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw-import-scripts.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw-import-scripts.js.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/script-factory.js
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/universal-worker.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/resources/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/service-worker-cache-storage.https-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/service-worker-cache-storage.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/srcdoc.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/META.yml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/blob-popup.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/blob-popup.https.html.headers [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin.https.html.headers with 100% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-blob-popup.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-blob-popup.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-navigate-popup.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep-redirect.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coep.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-history-popup.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html.headers
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-sandbox.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/coep-navigate-popup-unsafe-inherit.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html.headers [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https.html.headers with 100% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html.headers [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html.headers with 100% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html.headers [moved from LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site.https.html.headers with 100% similarity]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/historical/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/no-https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw-from-coop.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw-from-coop.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-meta-http-equiv.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-none.https-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-none.https.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-redirect-cache.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin.https-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-origin.https.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site.https-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-same-site.https.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-cross-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unsafe-none-with-same-site.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-cross-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-unspecified-with-same-site.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-with-structured-header.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-with-structured-header.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/META.yml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_openee-coop-ro.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_openee-coop.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_opener-coop-ro.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_opener-coop.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_openee-coop-ro.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_openee-coop.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_opener-coop-ro.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/opener-accessed_opener-coop.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/property.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/access-reporting/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-from-unsafe-none.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-from-unsafe-none.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-report-to.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-report-to.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep-report-only.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep-report-only.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-popup.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-popup.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-allow-popups-report-to.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-allow-popups-report-to.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-coep-report-to.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-coep-report-to.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-report-to.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-report-to.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin.https.html.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-unafe-none-report-to.https.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-unafe-none-report-to.https.html.sub.headers [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/dispatcher.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/dispatcher.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/executor.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/report.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/reporting-common.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/try-access.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/resources/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/call-functionCalledByOpenee.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/common.js
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/coop-coep.py
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/iframe-popup.sub.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/popup-coop-by-sw.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/postback.html.headers
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/universal-worker.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/resources/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/blank.py
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/css-tmpl.py
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/manifest.py
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/page-using-manifest.py
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resource.py
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/stash.py
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/focus-input-type-switch-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/focus-input-type-switch.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/textarea-scroll-selection-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/textarea-scroll-selection.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/tabindex-focus-flag-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/tabindex-focus-flag.html
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/no-autofocus-on-changing-input-type-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/no-autofocus-on-changing-input-type.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-adopt-to-inactive-document-crash.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/lists-presentational-hints-ascii-case-insensitive-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/lists-presentational-hints-ascii-case-insensitive.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/lists/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-presentational-hints-ascii-case-insensitive-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-presentational-hints-ascii-case-insensitive.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-group-height-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-group-height.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-001-print-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-001-print.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-002-print-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-row-pagination-002-print.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-valign-baseline-ascii-case-insensitive-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-valign-baseline-ascii-case-insensitive.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/tr-transform-and-will-change-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/tr-transform-and-will-change.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-crash.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/flex-legend-float-abspos-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/flex-legend-float-abspos.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-painting-order-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-painting-order.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-page/iframe-scrolling-attribute-values.html
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/embedded-and-images-presentational-hints-ascii-case-insensitive-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/embedded-and-images-presentational-hints-ascii-case-insensitive.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio-lazy.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio-lazy.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-empty-alt-replaced-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-empty-alt-replaced.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-no-alt-replaced-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-no-alt-replaced.html
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-title-only-w-sizing-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-title-only-w-sizing.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-content-crash.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-update-with-border-object-fit-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-update-with-border-object-fit.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/cross-domain-iframe.sub-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/cross-domain-iframe.sub.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/object-fallback-text-decoration-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/object-fallback-text-decoration.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-multiple-re-add-option-via-document-fragment-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/select-multiple-re-add-option-via-document-fragment.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/the-select-element/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-1-print-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-1-print.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-2-print-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-2-print.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-1-print-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-1-print.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-2-print-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-2-print.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/empty-crash.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-display-list-item-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-display-list-item.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-text-decoration-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-text-decoration.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/rendering/unmapped-attributes-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/rendering/unmapped-attributes.html
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/baseline-alignment-and-overflow.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/baseline-alignment-and-overflow.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex.html
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/select-wrap-no-spill.optional-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/select-wrap-no-spill.optional.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-add-label-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-add-label.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label-to-empty-string-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label-to-empty-string.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-label-and-text-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-label-and-text.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-only-label-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-only-label.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-rm-label-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-rm-label.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/select-size-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/select-size-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/select-size-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/select-size-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.tentative-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.tentative.html
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-below-viewport-dynamic.html
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-in-viewport-dynamic.html
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-multicol.html
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/original-base-url-applied-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-action-in-inactive-document-crash.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/syntax/META.yml [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/tokenizer-modes-001-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/tokenizer-modes-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_blocks-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_blocks.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_comments01-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_comments01.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_entities01-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_entities01.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_menuitem-element-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_menuitem-element.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_plain-text-unsafe-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_plain-text-unsafe.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests18-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests18.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests8-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests8.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_webkit01-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_webkit01.html
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/zero-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/zero.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/syntax/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/tools/META.yml [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/tools/build.sh
LayoutTests/imported/w3c/web-platform-tests/html/tools/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-click.tentative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-click.tentative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-iframe-no-activate.tenative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-iframe-no-activate.tenative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-iframe.tenative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-iframe.tenative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-setTimeout.tentative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-api-setTimeout.tentative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-hierarchy-parent-manual.sub.tentative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-hierarchy-parent-manual.sub.tentative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-cross-origin-with-click-two-child-frames.sub.tentative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-cross-origin-with-click-two-child-frames.sub.tentative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-cross-origin-with-click.sub.tentative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-cross-origin-with-click.sub.tentative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-with-click.tentative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-with-click.tentative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-without-click.tentative-expected.txt [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/activation-transfer-without-click.tentative.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/basic-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/basic.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/chained-setTimeout.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/chained-setTimeout.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/consumption-crossorigin.sub.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/consumption-crossorigin.sub.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/consumption-sameorigin.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/consumption-sameorigin.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-crossorigin.sub.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-crossorigin.sub.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-sameorigin.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-sameorigin.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/propagation-crossorigin.sub.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/propagation-crossorigin.sub.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/propagation-sameorigin.tentative-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/propagation-sameorigin.tentative.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/activation-hierarchy-child.sub.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/activation-hierarchy-grandchild.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-four.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-message-event-api.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-one.html
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-three.html [deleted file]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/child-two.html
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/consumption-crossorigin-child.sub.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/consumption-sameorigin-child.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/propagation-crossorigin-child.sub.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/propagation-sameorigin-child.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/utils.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/resources/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/html/user-activation/w3c-import.log
LayoutTests/platform/glib/TestExpectations
LayoutTests/platform/ios-wk2/TestExpectations
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/interaction/focus/focus-input-type-switch-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/rendering/widgets/baseline-alignment-and-overflow.tentative-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/flex-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/select-wrap-no-spill.optional-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/user-activation/basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/user-activation/chained-setTimeout.tentative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/TestExpectations
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top-expected.txt
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio-lazy.tentative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/rendering/widgets/baseline-alignment-and-overflow.tentative-expected.txt [new file with mode: 0644]
LayoutTests/platform/win/TestExpectations
LayoutTests/tests-options.json

index 4b31729..7273a93 100644 (file)
@@ -1,3 +1,13 @@
+2020-07-08  Chris Dumez  <cdumez@apple.com>
+
+        Resync all remaining web-platform-tests/html tests from upstream
+        https://bugs.webkit.org/show_bug.cgi?id=214057
+
+        Reviewed by Sam Weinig.
+
+        * TestExpectations:
+        * tests-options.json:
+
 2020-07-08  Sam Weinig  <weinig@apple.com>
 
         Remove LayoutTests/fast/forms/datetime now that <input type="datetime"> code has been removed
index e2674c7..551240c 100644 (file)
@@ -363,6 +363,8 @@ imported/w3c/web-platform-tests/html/browsers/history/the-history-interface/hist
 imported/w3c/web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_3.html [ Skip ]
 imported/w3c/web-platform-tests/html/browsers/offline/appcache/appcache-iframe.https.html [ Skip ]
 imported/w3c/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html [ Skip ]
+imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html [ Skip ]
+imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/dedicated-worker.https.html [ Skip ]
 imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html [ Skip ]
 imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html [ Skip ]
 imported/w3c/web-platform-tests/html/interaction/focus/focus-01.html [ Skip ]
@@ -394,6 +396,12 @@ imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/mo
 imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/referrer-origin.sub.html [ Skip ]
 imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/referrer-same-origin.sub.html [ Skip ]
 imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/referrer-unsafe-url.sub.html [ Skip ]
+imported/w3c/web-platform-tests/html/user-activation/consumption-crossorigin.sub.tentative.html [ Skip ]
+imported/w3c/web-platform-tests/html/user-activation/consumption-sameorigin.tentative.html [ Skip ]
+imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-crossorigin.sub.tentative.html [ Skip ]
+imported/w3c/web-platform-tests/html/user-activation/navigation-state-reset-sameorigin.tentative.html [ Skip ]
+imported/w3c/web-platform-tests/html/user-activation/propagation-crossorigin.sub.tentative.html [ Skip ]
+imported/w3c/web-platform-tests/html/user-activation/propagation-sameorigin.tentative.html [ Skip ]
 imported/w3c/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any.html [ Skip ]
 imported/w3c/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-exceptions.any.worker.html [ Skip ]
 imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/allow-crossorigin.html [ Skip ]
@@ -413,6 +421,7 @@ imported/w3c/web-platform-tests/html/semantics/document-metadata/the-style-eleme
 imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm.html [ Skip ]
 imported/w3c/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_access_details.sub.html [ Skip ]
 imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-disallow-scripts-via-unsandboxed-popup.tentative.html [ Skip ]
+imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity.html [ Skip ]
 imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-multiple-error-events.html [ Skip ]
 imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-multiple-load-events.html [ Skip ]
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_navigate_ancestor-1.sub.html [ Skip ]
@@ -464,6 +473,19 @@ imported/w3c/web-platform-tests/html/rendering/the-details-element/details-befor
 imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/anonymous-button-content-box.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/inline-level.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/propagate-text-decoration.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-painting-order.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas-update-with-border-object-fit.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/cross-domain-iframe.sub.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-1-print.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-after-2-print.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-1-print.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/the-details-element/details-page-break-before-2-print.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/the-details-element/summary-text-decoration.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-add-label.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label-to-empty-string.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-empty-label.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/option-rm-label.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/adopt-from-image-document.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-slow-aspect-ratio.html [ ImageOnlyFailure ]
@@ -489,6 +511,7 @@ imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-elemen
 
 # Newly imported WPT tests that are flaky.
 imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.html [ Failure Pass ]
+imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html [ Failure Pass ]
 imported/w3c/web-platform-tests/html/webappapis/update-rendering/child-document-raf-order.html [ Failure Pass ]
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-to-eager.tentative.html [ Failure Pass ]
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-to-eager.html [ Failure Pass ]
index 8bf3eab..4f66e76 100644 (file)
@@ -1,3 +1,15 @@
+2020-07-08  Chris Dumez  <cdumez@apple.com>
+
+        Resync all remaining web-platform-tests/html tests from upstream
+        https://bugs.webkit.org/show_bug.cgi?id=214057
+
+        Reviewed by Sam Weinig.
+
+        Resync all remaining web-platform-tests/html tests from upstream cef93b58e7cf31f1d47ccb.
+
+        * resources/resource-files.json:
+        * web-platform-tests/html/*: Updated.
+
 2020-07-07  Lauro Moura  <lmoura@igalia.com>
 
         Rebaseline windowclient-navigate.https after service-workers resync
index 633e26a..5e82ed9 100644 (file)
         "web-platform-tests/html/browsers/windows/targeting-multiple-cross-origin-manual.sub.html",
         "web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html",
         "web-platform-tests/html/canvas/element/line-styles/lineto_ref.html",
+        "web-platform-tests/html/canvas/element/manual/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html",
+        "web-platform-tests/html/canvas/element/manual/line-styles/lineto_ref.html",
+        "web-platform-tests/html/canvas/element/manual/transformations/transform_ref.html",
         "web-platform-tests/html/canvas/element/manual/unclosed-canvas-1-expected.htm",
         "web-platform-tests/html/canvas/element/manual/unclosed-canvas-2-expected.htm",
         "web-platform-tests/html/canvas/element/manual/unclosed-canvas-3-expected.htm",
         "web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html",
         "web-platform-tests/html/interaction/focus/document-level-focus-apis/support/test.html",
         "web-platform-tests/html/interaction/focus/processing-model/support/preventScroll-helper.html",
+        "web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-adopt-to-inactive-document-crash.html",
         "web-platform-tests/html/rendering/non-replaced-elements/flow-content-0/support/dialog-framed.html",
         "web-platform-tests/html/rendering/non-replaced-elements/lists/TODO-lists.html",
         "web-platform-tests/html/rendering/non-replaced-elements/tables/colgroup_valign_bottom.xhtml",
         "web-platform-tests/html/rendering/non-replaced-elements/tables/colgroup_valign_top.xhtml",
         "web-platform-tests/html/rendering/non-replaced-elements/tables/table-border-2-notref.html",
         "web-platform-tests/html/rendering/non-replaced-elements/tables/table-layout-notref.html",
+        "web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-crash.html",
         "web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-div-display-contents.html",
         "web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-shadow-dom.html",
         "web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-dynamic-update.html",
         "web-platform-tests/html/rendering/non-replaced-elements/the-page/support/body-marginwidth-marginheight.html",
         "web-platform-tests/html/rendering/non-replaced-elements/the-page/support/body-topmargin-leftmargin.html",
         "web-platform-tests/html/rendering/non-replaced-elements/the-page/test-body.xhtml",
+        "web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-content-crash.html",
         "web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas_scale_ref.html",
         "web-platform-tests/html/rendering/replaced-elements/embedded-content-rendering-rules/canvas_without_context_ref.html",
+        "web-platform-tests/html/rendering/the-details-element/empty-crash.html",
         "web-platform-tests/html/rendering/the-details-element/single-summary.html",
         "web-platform-tests/html/semantics/document-metadata/the-base-element/example.html",
         "web-platform-tests/html/semantics/document-metadata/the-base-element/example2.html",
         "web-platform-tests/html/semantics/forms/resetting-a-form/reset-form-event-realm-support.html",
         "web-platform-tests/html/semantics/forms/resetting-a-form/support/reset-form-event-realm.html",
         "web-platform-tests/html/semantics/forms/the-button-element/button-activate-frame.html",
+        "web-platform-tests/html/semantics/forms/the-form-element/form-action-in-inactive-document-crash.html",
         "web-platform-tests/html/semantics/forms/the-input-element/hidden-charset-case-sensitive-child.html",
         "web-platform-tests/html/semantics/forms/the-label-element/iframe-label-attributes.html",
         "web-platform-tests/html/semantics/forms/the-textarea-element/wrap-enumerated-ascii-case-insensitive-child.html",
index 5342184..a85911a 100644 (file)
@@ -8,12 +8,10 @@ multipage-version specification. For example, The URL of
 
 For historical reasons, parts of HTML have their own directories:
 
-* [/2dcontext](/2dcontext)
 * [/custom-elements](/custom-elements)
 * [/eventsource](/eventsource)
 * [/imagebitmap-renderingcontext](/imagebitmap-renderingcontext)
 * [/innerText](/innerText)
-* [/offscreen-canvas](/offscreen-canvas)
 * [/shadow-dom](/shadow-dom)
 * [/webmessaging](/webmessaging)
 * [/websockets](/websockets)
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/META.yml b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/META.yml
new file mode 100644 (file)
index 0000000..0f79f25
--- /dev/null
@@ -0,0 +1,6 @@
+spec: https://html.spec.whatwg.org/multipage/canvas.html#2dcontext
+suggested_reviewers:
+  - AmeliaBR
+  - annevk
+  - kenrussell
+  - fserb
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001-expected.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001-expected.htm
deleted file mode 100644 (file)
index 70196fb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test:  globalCompositeOperation "destination-over"</title>
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-    </head>
-    <body>
-        <p>Description: If the globalCompositeOperation is set to "destination-over", display the destination image wherever the destination image is opaque.</p>
-        <div><img alt='black rectangle' src="/images/black-rectangle.png"></div>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001.htm
deleted file mode 100644 (file)
index 8d6208e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test:  globalCompositeOperation "destination-over"</title>
-        <link rel="match" href="canvas_compositing_globalcompositeoperation_001-ref.htm">
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-        <link rel="help" href="http://www.w3.org/TR/2dcontext/#dom-context-2d-globalcompositeoperation" />
-        <meta name="assert" content="If the globalCompositeOperation is set to 'destination-over', display the destination image wherever the destination image is opaque." />
-        <script type="text/javascript">
-            function runTest()
-            {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-
-                // Source image.
-                ctx.fillStyle = "rgba(0, 0, 0, 1.0)";
-                ctx.fillRect(0, 0, 100, 50);
-
-                // Assign the globalCompositeOperation.
-                ctx.globalCompositeOperation = "destination-over";
-
-                // Destination image.
-                ctx.fillStyle = "rgba(255, 0, 0, 1.0)";
-                ctx.fillRect(0, 0, 100, 50);
-            }
-        </script>
-    </head>
-    <body onload="runTest()">
-        <p>Description: If the globalCompositeOperation is set to "destination-over", display the destination image wherever the destination image is opaque.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
index 11ca53a..483798c 100644 (file)
@@ -171,5 +171,3 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-in.png
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/2d.composite.uncovered.pattern.source-out.png
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001-expected.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/compositing/canvas_compositing_globalcompositeoperation_001.htm
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas-expected.txt
deleted file mode 100644 (file)
index 83f0285..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 0,0 should be blue. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 0,49 should be blue. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 49,0 should be blue. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 49,49 should be blue. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 5,5 should be black. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 5,44 should be black. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 44,5 should be black. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 44,44 should be black. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 50,0 should be red. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 0,50 should be red. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 50,50 should be red. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 99,99 should be red. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 25,25 should be blue. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 25,74 should be blue. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 74,25 should be blue. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 74,74 should be blue. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 30,30 should be black. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 30,69 should be black. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 69,30 should be black. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 69,69 should be black. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 24,24 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 24,75 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 75,24 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 75,75 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 50,50 should be blue. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 50,99 should be blue. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 99,50 should be blue. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 99,99 should be blue. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 55,55 should be black. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 55,94 should be black. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 94,55 should be black. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 94,94 should be black. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 0,0 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 49,49 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 49,99 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 99,49 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 50,50 should be blue. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 50,69 should be blue. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 69,50 should be blue. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 69,69 should be blue. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 52,52 should be black. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 52,67 should be black. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 67,52 should be black. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 67,67 should be black. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 49,49 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 49,70 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 70,49 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel 70,70 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 50,50 should be blue. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 50,69 should be blue. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 99,50 should be blue. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 99,69 should be blue. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 55,52 should be black. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 55,67 should be black. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 94,52 should be black. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 94,67 should be black. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 49,49 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 49,69 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 99,49 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel 99,70 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 0,0 should be blue. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 4,4 should be blue. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 0,24 should be blue. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 24,0 should be blue. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 5,5 should be black. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 5,24 should be black. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 24,5 should be black. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 24,24 should be black. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 25,25 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 25,99 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 99,25 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel 99,99 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 25,25 should be blue. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 25,49 should be blue. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 49,25 should be blue. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 29,29 should be blue. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 30,30 should be black. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 30,49 should be black. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 49,30 should be black. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 49,49 should be black. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 24,24 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 24,50 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 50,24 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel 50,50 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- Pixel outside canvas should be transparent black.
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 0,20 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 20,0 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 20,20 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 24,24 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 0,0 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 0,19 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 19,0 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 19,19 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-PASS Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 0,25 should be red. 
-PASS Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 25,0 should be red. 
-PASS Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 25,25 should be red. 
-PASS Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 99,99 should be red. 
-PASS Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 50,50 should be blue. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 50,99 should be blue. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 99,50 should be blue. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 99,99 should be blue. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 55,55 should be black. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 55,94 should be black. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 94,55 should be black. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 94,94 should be black. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 0,0 should be red. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 49,49 should be red. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 0,99 should be red. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel 99,0 should be red. 
-PASS Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 0,0 should be blue. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 0,99 should be blue. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 99,0 should be blue. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 19,19 should be blue. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 20,20 should be black. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 20,99 should be black. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 99,20 should be black. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 99,99 should be black. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel outside canvas should be transparent black.
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 0,0 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 1,1 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 23,23 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 24,24 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 3,3 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 3,21 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 21,3 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 21,21 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-PASS Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 0,25 should be red. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 25,0 should be red. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 25,25 should be red. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel 99,99 should be red. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- Pixel outside canvas should be transparent black.
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 70,70 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 70,99 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,70 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 82,82 should be blue. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 255, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 84,84 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 84,99 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,84 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,99 should be black. assert_array_equals: expected property 0 to be 0 but got 255 (expected array [0, 0, 0, 255] got object "255,0,0,255")
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 0,69 should be red. 
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 69,0 should be red. 
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 69,69 should be red. 
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel outside canvas should be transparent black.
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas.html
deleted file mode 100644 (file)
index 36bd085..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<canvas id="dest" height="100" width="100"></canvas>
-
-<script>
-var sourceCanvasWidth = sourceCanvasHeight = 50;
-var destCanvasWidth = destCanvasHeight = 100;
-var blueRect = {x: 0, y: 0, w: 50, h: 50};
-var blackRect = {x: 5, y: 5, w: 40, h: 40};
-var redPixel = [255, 0, 0, 255];
-var bluePixel = [0, 0, 255, 255];
-var blackPixel = [0, 0, 0, 255];
-var transparentBlackPixel = [0, 0, 0, 0];
-
-var destCanvas = document.getElementById('dest');
-var destCtx = destCanvas.getContext('2d');
-destCtx.imageSmoothingEnabled = false;
-
-function checkPixel(location, expected) {
-    var actual = destCtx.getImageData(location[0], location[1], 1, 1).data;
-    assert_array_equals(actual, expected);
-}
-
-function PreparePixelTests(blueCheck, blackCheck, redCheck, testDescription) {
-    var pixelTests = [];
-    for (var i = 0; i < blueCheck.length; i++) {
-        var message = testDescription + 'Pixel ' + blueCheck[i][0] + ',' + blueCheck[i][1] + ' should be blue.';
-        pixelTests.push([message, blueCheck[i], bluePixel]);
-    }
-    for (var i = 0; i < blackCheck.length; i++) {
-        var message = testDescription + 'Pixel ' + blackCheck[i][0] + ',' + blackCheck[i][1] + ' should be black.';
-        pixelTests.push([message, blackCheck[i], blackPixel]);
-    }
-    for (var i = 0; i < redCheck.length; i++) {
-        var message = testDescription + 'Pixel ' + redCheck[i][0] + ',' + redCheck[i][1] + ' should be red.';
-        pixelTests.push([message, redCheck[i], redPixel]);
-    }
-    pixelTests.push([testDescription + 'Pixel outside canvas should be transparent black.\n', [100, 100], transparentBlackPixel]);
-    return pixelTests;
-}
-
-function drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription) {
-    destCtx.fillStyle = 'red';
-    destCtx.fillRect(0, 0,  destCanvasWidth, destCanvasHeight);
-
-    var sourceCanvas = document.createElement('canvas');
-    sourceCanvas.width = sourceCanvasWidth;
-    sourceCanvas.height = sourceCanvasHeight;
-    var sourceCtx = sourceCanvas.getContext('2d');
-    sourceCtx.fillStyle = 'blue';
-    sourceCtx.fillRect(blueRect.x, blueRect.y, blueRect.w, blueRect.h);
-    sourceCtx.fillStyle = 'black';
-    sourceCtx.fillRect(blackRect.x, blackRect.y, blackRect.w, blackRect.h);
-    if (typeof sourceRect.x !== 'undefined')
-        destCtx.drawImage(sourceCanvas, sourceRect.x, sourceRect.y, sourceRect.w, sourceRect.h,
-                          destRect.x, destRect.y, destRect.w, destRect.h);
-    else if (typeof destRect.w !== 'undefined')
-        destCtx.drawImage(sourceCanvas, destRect.x, destRect.y, destRect.w, destRect.h);
-    else
-        destCtx.drawImage(sourceCanvas, destRect.x, destRect.y);
-    var pixelTests = PreparePixelTests(blueCheck, blackCheck, redCheck, testDescription);
-    generate_tests(checkPixel, pixelTests);
-}
-
-var testDescription;
-var sourceRect = {}, destRect = {};
-var blueCheck, blackCheck, redCheck;
-
-// 2 arguments, the dest origin is 0,0
-// The source canvas will be copied to the 0,0 position of the destination canvas
-testDescription = 'Test scenario 1: dx = 0, dy = 0 --- ';
-destRect = {x: 0, y: 0};
-blueCheck = [[0,0], [0,49], [49,0], [49,49]];
-blackCheck = [[5,5], [5,44], [44,5], [44,44]];
-redCheck = [[50,0], [0,50], [50,50], [99,99]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// 2 arguments, the dest origin is not 0,0
-// The source canvas will copied to the 25, 25 position of the destination canvas
-testDescription = 'Test scenario 2: dx = 25, dy = 25 --- ';
-destRect = {x: 25, y: 25};
-blueCheck = [[25,25], [25,74], [74,25], [74,74]];
-blackCheck = [[30,30], [30,69], [69,30], [69,69]];
-redCheck = [[24,24], [24,75], [75,24], [75,75]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// 4 arguments, the source origin is not 0,0, the dest size is provided
-// The source canvas will copied to the 50, 50 position of the destination canvas and
-// on an area of 50x50 pixels
-testDescription = 'Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- ';
-destRect = {x: 50, y: 50, w: 50, h: 50};
-blueCheck = [[50,50], [50,99], [99,50], [99,99]];
-blackCheck = [[55,55], [55,94], [94,55], [94,94]];
-redCheck = [[0,0], [49,49], [49,99], [99,49]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// 4 arguments, the dest origin is not 0,0 and the dest size is provided but
-// does not match the size of the source. The image will be distorted
-// The source canvas will copied to the 50,50 position of the destination canvas
-// and it will be shrunk to a and area of 20x20
-testDescription = 'Test scenario 4: dx = 50, dy = 50, dw = 20, dh = 20 --- ';
-destRect = {x: 50, y: 50, w: 20, h: 20};
-blueCheck = [[50,50], [50,69], [69,50], [69,69]];
-blackCheck = [[52,52], [52,67], [67,52], [67,67]];
-redCheck = [[49,49], [49,70], [70,49], [70,70]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// The source canvas will copied to the 50,50 position of the destination canvas
-// over an area of 50x25 pixels
-// The copied image will be distorted along the x axis
-testDescription = 'Test scenario 5: dx = 50, dy = 50, dw = 50, dh = 20 --- ';
-destRect = {x: 50, y: 50, w: 50, h: 20};
-blueCheck = [[50,50], [50,69], [99,50], [99,69]];
-blackCheck = [[55,52], [55,67], [94,52], [94,67]];
-redCheck = [[49,49], [49, 69], [99,49], [99,70]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// 8 arguments, both destination and source origins are 0, 0
-// An area of 25x25 pixels of the source image will be copied to
-// an area of 25x25 pixels of the destination canvas
-// destCtx.drawImage(sourceCanvas, 0, 0, 25, 25, 0, 0, 25, 25);
-testDescription = 'Test scenario 6: sx = 0, sy = 0, sw = 25, sh = 25, dx = 0, dy = 0, dw = 25, dh = 25 --- ';
-sourceRect = {x: 0, y: 0, w: 25, h: 25};
-destRect = {x: 0, y: 0, w: 25, h: 25};
-blueCheck = [[0,0], [4,4], [0,24], [24,0]];
-blackCheck = [[5,5], [5,24], [24,5], [24,24]];
-redCheck = [[25,25], [25, 99], [99,25], [99,99]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// 8 arguments the destination origin is not 0,0
-// An area of 25x25 pixels of the source image will be copied to
-// an area of 25x25 pixels of the destination canvas in the position 25,25
-testDescription = 'Test scenario 7: sx = 0, sy = 0, sw = 25, sh = 25, dx = 25, dy = 25, dw = 25, dh = 25 --- ';
-sourceRect = {x: 0, y: 0, w: 25, h: 25};
-destRect = {x: 25, y: 25, w: 25, h: 25};
-blueCheck = [[25,25], [25,49], [49,25], [29,29]];
-blackCheck = [[30,30], [30,49], [49,30], [49,49]];
-redCheck = [[24,24], [24, 50], [50,24], [50,50]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// The source rectangle overflows the source image
-// The source area is clipped to fit the source image
-// and the destination are is clipped in the same proportion
-testDescription = 'Test scenario 8: sx = 25, sy = 25, sw = 50, sh = 50, dx = 0, dy = 0, dw = 50, dh = 50 --- ';
-sourceRect = {x: 25, y: 25, w: 50, h: 50};
-destRect = {x: 0, y: 0, w: 50, h: 50};
-blueCheck = [[0,20], [20,0], [20,20], [24,24]];
-blackCheck = [[0,0], [0,19], [19,0], [19,19]];
-redCheck = [[0,25], [25, 0], [25,25], [99,99]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// The destination rectangle has negative width and height. When the source
-// rectangle is outside the source image, the source rectangle must be clipped
-// to the source image and the destination rectangle must be clipped in the same
-// proportion.
-testDescription = 'Test scenario 9: sx = 0, sy = 0, sw = 50, sh = 50, dx = 100, dy = 100, dw = -50, dh = -50 --- ';
-sourceRect = {x: 0, y: 0, w: 50, h: 50};
-destRect = {x: 100, y: 100, w: -50, h: -50};
-blueCheck = [[50,50], [50,99], [99,50], [99,99]];
-blackCheck = [[55,55], [55,94], [94,55], [94,94]];
-redCheck = [[0,0], [49,49], [0,99], [99,0]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// The destination rectangle is larger than the destination canvas
-// When the destination rectangle is outside the destination image (the scratch bitmap),
-// the pixels that land outside the scratch bitmap are discarded,
-// as if the destination was an infinite canvas whose rendering was
-// clipped to the dimensions of the scratch bitmap.
-testDescription = 'Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- ';
-sourceRect = {x: 0, y: 0, w: 50, h: 50};
-destRect = {x: 0, y: 0, w: 200, h: 200};
-blueCheck = [[0,0], [0,99], [99,0], [19,19]];
-blackCheck = [[20,20], [20,99], [99,20], [99,99]];
-redCheck = [];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// The source rectangle is larger than the source canvas
-// The source area is clipped to fit the source image
-// and the destination are is clipped in the same proportion
-testDescription = 'Test scenario 11: sx = 0, sy = 0, sw = 100, sh = 100, dx = 0, dy = 0, dw = 50, dh = 50 --- ';
-sourceRect = {x: 0, y: 0, w: 100, h: 100};
-destRect = {x: 0, y: 0, w: 50, h: 50};
-blueCheck = [[0,0], [1,1], [23,23], [24,24]];
-blackCheck = [[3,3], [3,21], [21,3], [21,21]];
-redCheck = [[0,25], [25, 0], [25,25], [99,99]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-// Negative coordinates of the source rectangle.
-// The source area is clipped to fit the source image and the destination area
-// is clipped in the same proportion. In this specific test:
-// - source is clipped by 20 from top and left.
-// - destination will get proportionally clipped by 50 from top and left as we
-// are scaling the source image 2.5 times.
-// - the rect will be drawn from 70,70 to 100,100.
-testDescription = 'Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- ';
-sourceRect = {x: -20, y: -20, w: 50, h: 50};
-destRect = {x: 20, y: 20, w: 125, h: 125};
-blueCheck = [[70,70], [70,99], [99,70], [82,82]];
-blackCheck = [[84,84], [84,99], [99,84], [99,99]];
-redCheck = [[0,69], [69, 0], [69,69]];
-drawCanvasOnCanvasUsingDrawImage(sourceRect, destRect, blueCheck, blackCheck, redCheck, testDescription);
-
-</script>
\ No newline at end of file
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self-expected.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self-expected.html
deleted file mode 100644 (file)
index 9f297ca..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<canvas id="dest" height="100" width="100"></canvas>
-<script>
-var canvasWidth = canvasHeight = 100;
-var destCanvas = document.getElementById('dest');
-var destCtx = destCanvas.getContext('2d');
-destCtx.fillStyle = 'red';
-destCtx.fillRect(0, 0,  canvasWidth, canvasHeight);
-destCtx.fillStyle = 'green';
-destCtx.fillRect(0, 0, canvasWidth / 2, canvasHeight / 2);
-destCtx.fillRect(canvasWidth / 2, canvasHeight / 2, canvasWidth / 4, canvasHeight / 4);
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self.html
deleted file mode 100644 (file)
index 83cf535..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<link rel="match" href="drawimage_canvas_self_ref.html">
-<canvas id="dest" height="100" width="100"></canvas>
-<script>
-var canvasWidth = canvasHeight = 100;
-var destWidth = canvasWidth / 4;
-var destHeight = canvasHeight / 4;
-var destCanvas = document.getElementById('dest');
-var destCtx = destCanvas.getContext('2d');
-
-destCtx.fillStyle = 'red';
-destCtx.fillRect(0, 0,  canvasWidth, canvasHeight);
-destCtx.fillStyle = 'green';
-destCtx.fillRect(0, 0, canvasWidth / 2, canvasHeight / 2);
-destCtx.drawImage(destCanvas,
-                  0, 0, destWidth, destHeight,
-                  canvasWidth / 2, canvasHeight / 2, destWidth, destHeight);
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html
deleted file mode 100644 (file)
index 9f297ca..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<canvas id="dest" height="100" width="100"></canvas>
-<script>
-var canvasWidth = canvasHeight = 100;
-var destCanvas = document.getElementById('dest');
-var destCtx = destCanvas.getContext('2d');
-destCtx.fillStyle = 'red';
-destCtx.fillRect(0, 0,  canvasWidth, canvasHeight);
-destCtx.fillStyle = 'green';
-destCtx.fillRect(0, 0, canvasWidth / 2, canvasHeight / 2);
-destCtx.fillRect(canvasWidth / 2, canvasHeight / 2, canvasWidth / 4, canvasHeight / 4);
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub-expected.txt
deleted file mode 100644 (file)
index b73ffdc..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Blocked access to external URL http://www.localhost:8800/images/green.png?pipe=header(Access-Control-Allow-Origin,*)
-Blocked access to external URL http://www.localhost:8800/images/green.png?pipe=header(Access-Control-Allow-Origin,*)
-Blocked access to external URL http://www.localhost:8800/images/green.png?pipe=header(Access-Control-Allow-Origin,*)
-Blocked access to external URL http://www.localhost:8800/images/green.png
-
-PASS Can get pixels of canvas with same origin image drawn 
-FAIL Can get pixels of canvas with CORS enabled cross origin image drawn assert_unreached: Reached unreachable code
-FAIL Can't get pixels of canvas with CORS enabled cross origin image drawn from non-CORS element assert_unreached: Reached unreachable code
-FAIL Can't get pixels of canvas with non-CORS enabled cross origin image drawn assert_unreached: Reached unreachable code
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub.html
deleted file mode 100644 (file)
index 3d57d9f..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-  function draw_and_read_image(img, should_throw) {
-      let c = document.createElement('canvas');
-      document.body.appendChild(c);
-      let ctx = c.getContext('2d');
-      ctx.drawImage(img, 0, 0);
-
-      function get_image_data() {
-          ctx.getImageData(0, 0, 4, 4);
-      }
-
-      if (should_throw) {
-          assert_throws_dom('SecurityError', get_image_data);
-      } else {
-          get_image_data();
-      }
-
-      document.body.removeChild(c);
-  }
-
-  async_test(t => {
-      let img = new Image();
-      img.src = "/images/green.png";
-      img.crossOrigin = "anonymous";
-      img.onload = t.step_func_done(() => {
-          draw_and_read_image(img, false);
-      });
-      img.onerror = t.unreached_func();
-  }, "Can get pixels of canvas with same origin image drawn");
-
-  async_test(t => {
-      let img = new Image();
-      img.src = "http://{{hosts[][www]}}:{{ports[http][0]}}/images/green.png?pipe=header(Access-Control-Allow-Origin,*)";
-      img.crossOrigin = "anonymous";
-      img.onload = t.step_func_done(() => {
-          draw_and_read_image(img, false);
-      });
-      img.onerror = t.unreached_func();
-  }, "Can get pixels of canvas with CORS enabled cross origin image drawn");
-
-  async_test(t => {
-      let img = new Image();
-      img.src = "http://{{hosts[][www]}}:{{ports[http][0]}}/images/green.png?pipe=header(Access-Control-Allow-Origin,*)";
-      img.onload = t.step_func_done(() => {
-          draw_and_read_image(img, true);
-      });
-      img.onerror = t.unreached_func();
-  }, "Can't get pixels of canvas with CORS enabled cross origin image drawn from non-CORS element");
-
-  async_test(t => {
-      let img = new Image();
-      img.src = "http://{{hosts[][www]}}:{{ports[http][0]}}/images/green.png";
-
-      img.onload = t.step_func_done(() => {
-          draw_and_read_image(img, true);
-      });
-      img.onerror = t.unreached_func();
-  }, "Can't get pixels of canvas with non-CORS enabled cross origin image drawn");
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image-expected.txt
deleted file mode 100644 (file)
index c6357fa..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-
-PASS Draw 100x100 image to 100x100 canvas at 0,0. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 0,0 should be light purple. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 0,99 should be light purple. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 99,0 should be light purple. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel 99,99 should be light purple. 
-PASS Test scenario 1: dx = 0, dy = 0 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 25,25 should be light purple. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 25,99 should be light purple. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 99,25 should be light purple. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 99,99 should be light purple. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 0,0 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 24,24 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 0,25 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 25,0 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 0,99 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel 99,0 should be red. 
-PASS Test scenario 2: dx = 25, dy = 25 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 50,50 should be light purple. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 99,99 should be light purple. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 50,99 should be gray. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 99,50 should be gray. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 0,0 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 49,49 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 0,50 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 50,0 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 0,99 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel 99,0 should be red. 
-PASS Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 50,50 should be light purple. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 65,65 should be light purple. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 50,65 should be gray. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 65,50 should be gray. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 0,0 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 49,49 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 49,66 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 66,49 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 66,66 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel 99,99 should be red. 
-PASS Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 50,50 should be light purple. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 99,81 should be light purple. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 50,81 should be gray. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 99,50 should be gray. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 0,0 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 49,49 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 49,82 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 99,49 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 99,82 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel 99,99 should be red. 
-PASS Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 0,0 should be light purple. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 0,31 should be light purple. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 31,0 should be light purple. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 31,31 should be light purple. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 0,32 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 32,0 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 32,32 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 99,99 should be red. 
-PASS Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 32,32 should be light purple. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 32,63 should be light purple. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 63,32 should be light purple. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 63,63 should be light purple. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 0,0 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 31,31 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 31,64 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 64,31 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 64,64 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel 99,99 should be red. 
-PASS Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 0,0 should be light purple. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 0,31 should be light purple. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 31,0 should be light purple. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 31,31 should be light purple. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 0,32 should be red. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 32,0 should be red. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 32,32 should be red. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel 99,99 should be red. 
-PASS Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 0,0 should be light purple. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 0,31 should be light purple. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 31,0 should be light purple. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 31,31 should be light purple. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 0,32 should be red. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 32,0 should be red. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 32,32 should be red. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel 99,99 should be red. 
-PASS Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 10: sx = 0, sy = 0, sw = 512, sh = 512, dx = 0, dy = 0, dw = 256, dh = 256 --- Pixel 0,0 should be light purple. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 512, sh = 512, dx = 0, dy = 0, dw = 256, dh = 256 --- Pixel 0,99 should be light purple. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 512, sh = 512, dx = 0, dy = 0, dw = 256, dh = 256 --- Pixel 99,0 should be light purple. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 512, sh = 512, dx = 0, dy = 0, dw = 256, dh = 256 --- Pixel 99,99 should be light purple. 
-PASS Test scenario 10: sx = 0, sy = 0, sw = 512, sh = 512, dx = 0, dy = 0, dw = 256, dh = 256 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 11: sx = 0, sy = 0, sw = 2048, sh = 2048, dx = 0, dy = 0, dw = 800, dh = 800 --- Pixel 0,0 should be light purple. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 2048, sh = 2048, dx = 0, dy = 0, dw = 800, dh = 800 --- Pixel 0,99 should be light purple. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 2048, sh = 2048, dx = 0, dy = 0, dw = 800, dh = 800 --- Pixel 99,0 should be light purple. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 2048, sh = 2048, dx = 0, dy = 0, dw = 800, dh = 800 --- Pixel 99,99 should be light purple. 
-PASS Test scenario 11: sx = 0, sy = 0, sw = 2048, sh = 2048, dx = 0, dy = 0, dw = 800, dh = 800 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 70,70 should be light purple. 
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 70,99 should be light purple. assert_array_equals: expected property 0 to be 253 but got 255 (expected array [253, 140, 245, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,70 should be light purple. assert_array_equals: expected property 0 to be 253 but got 255 (expected array [253, 140, 245, 255] got object "255,0,0,255")
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,99 should be light purple. assert_array_equals: expected property 0 to be 253 but got 255 (expected array [253, 140, 245, 255] got object "255,0,0,255")
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 0,0 should be red. 
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 0,99 should be red. 
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,0 should be red. 
-FAIL Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 69,69 should be red. assert_array_equals: expected property 0 to be 255 but got 253 (expected array [255, 0, 0, 255] got object "253,140,245,255")
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 69,99 should be red. 
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,69 should be red. 
-PASS Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel outside canvas should be transparent black.
-PASS Test scenario 13: draw an image element that does not have a source --- Pixel 0,0 should be red. 
-PASS Test scenario 13: draw an image element that does not have a source --- Pixel 0,99 should be red. 
-PASS Test scenario 13: draw an image element that does not have a source --- Pixel 99,0 should be red. 
-PASS Test scenario 13: draw an image element that does not have a source --- Pixel 99,69 should be red. 
-PASS Test scenario 13: draw an image element that does not have a source --- Pixel outside canvas should be transparent black.
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 0,0 should be light purple. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 15,31 should be light purple. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 17,33 should be light purple. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 31,63 should be light purple. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 16,0 should be gray. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 31,31 should be gray. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 0,33 should be gray. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 15,63 should be gray. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 0,64 should be red. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 32,0 should be red. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 32,64 should be red. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel 99,99 should be red. 
-PASS Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- Pixel outside canvas should be transparent black.
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image.html
deleted file mode 100644 (file)
index a94cfdc..0000000
+++ /dev/null
@@ -1,268 +0,0 @@
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<canvas id="dest" height="100" width="100"></canvas>
-
-<script>
-var sourceWidth = sourceHeight = 100;
-var destCanvasWidth = destCanvasHeight = 100;
-var redPixel = [255, 0, 0, 255];
-var lightPixel = [253, 140, 245, 255];
-var grayPixel = [41, 122, 115, 255];
-var transparentBlackPixel = [0, 0, 0, 0];
-
-var destCanvas = document.getElementById('dest');
-var sourceImg = document.createElement('img');
-sourceImg.src = '../2x2.png';
-sourceImg.width = sourceWidth;
-sourceImg.height = sourceHeight;
-var destCtx = destCanvas.getContext('2d');
-destCtx.imageSmoothingEnabled = false;
-
-function checkPixel(location, expected) {
-    var actual = destCtx.getImageData(location[0], location[1], 1, 1).data;
-    assert_array_equals(actual, expected);
-}
-
-function PreparePixelTests(lightPixelCheck, grayPixelCheck, redCheck, testDescription) {
-    var pixelTests = [];
-    for (var i = 0; i < lightPixelCheck.length; i++) {
-        var message = testDescription + 'Pixel ' + lightPixelCheck[i][0] + ',' + lightPixelCheck[i][1] + ' should be light purple.';
-        pixelTests.push([message, lightPixelCheck[i], lightPixel]);
-    }
-    for (var i = 0; i < grayPixelCheck.length; i++) {
-        var message = testDescription + 'Pixel ' + grayPixelCheck[i][0] + ',' + grayPixelCheck[i][1] + ' should be gray.';
-        pixelTests.push([message, grayPixelCheck[i], grayPixel]);
-    }
-    for (var i = 0; i < redCheck.length; i++) {
-        var message = testDescription + 'Pixel ' + redCheck[i][0] + ',' + redCheck[i][1] + ' should be red.';
-        pixelTests.push([message, redCheck[i], redPixel]);
-    }
-    pixelTests.push([testDescription + 'Pixel outside canvas should be transparent black.\n', [100, 100], transparentBlackPixel]);
-    return pixelTests;
-}
-
-function drawCustomImageOnCanvas(sourceImage, sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription) {
-    destCtx.fillStyle = 'red';
-    destCtx.fillRect(0, 0,  destCanvasWidth, destCanvasHeight);
-    if (typeof sourceRect.x !== 'undefined')
-        destCtx.drawImage(sourceImage, sourceRect.x, sourceRect.y, sourceRect.w, sourceRect.h,
-                          destRect.x, destRect.y, destRect.w, destRect.h);
-    else if (typeof destRect.w !== 'undefined')
-        destCtx.drawImage(sourceImage, destRect.x, destRect.y, destRect.w, destRect.h);
-    else
-        destCtx.drawImage(sourceImage, destRect.x, destRect.y);
-    var pixelTests = PreparePixelTests(lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-    generate_tests(checkPixel, pixelTests);
-}
-
-function drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription) {
-    drawCustomImageOnCanvas(sourceImg, sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-var testDescription;
-var sourceRect = {}, destRect = {};
-var lightPixelCheck, grayPixelCheck, redCheck;
-
-// 2 arguments, the dest origin is 0,0
-// The source image will copied to the 0,0 position of the destination canvas
-function runDrawImageTest_dX0_dY0() {
-    testDescription = 'Test scenario 1: dx = 0, dy = 0 --- ';
-    destRect = {x: 0, y: 0};
-    lightPixelCheck = [[0,0], [0,99], [99,0], [99,99]];
-    grayPixelCheck = [];
-    redCheck = [];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// 2 arguments, the dest origin is not 0,0
-// The source canvas will copied to the 25,25 position of the destination canvas
-function runDrawImageTest_dX25_dY25() {
-    testDescription = 'Test scenario 2: dx = 25, dy = 25 --- ';
-    destRect = {x: 25, y: 25};
-    lightPixelCheck = [[25,25], [25,99], [99,25], [99,99]];
-    grayPixelCheck = [];
-    redCheck = [[0,0], [24,24], [0,25], [25,0], [0,99], [99,0]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// 4 arguments, the source origin is not 0,0, the dest size is provided
-// The source canvas will copied to the 50, 50 position of the destination canvas and
-// on an area of 50x50 pixels
-function runDrawImageTest_dX50_dY50_dW50_dH50() {
-    testDescription = 'Test scenario 3: dx = 50, dy = 50, dw = 50, dh = 50 --- ';
-    destRect = {x: 50, y: 50, w: 50, h: 50};
-    lightPixelCheck = [[50,50], [99,99]];
-    grayPixelCheck = [[50,99], [99,50]];
-    redCheck = [[0,0], [49,49], [0,50], [50,0], [0,99], [99,0]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// 4 arguments, the dest origin is not 0,0 and the dest size is provided but
-// does not match the size of the source. The image will be distorted
-// The source canvas will copied to the 50,50 position of the destination canvas
-// and it will be shrunk to a and area of 16x16
-function runDrawImageTest_dX50_dY50_dW16_dH16() {
-    testDescription = 'Test scenario 4: dx = 50, dy = 50, dw = 16, dh = 16 --- ';
-    destRect = {x: 50, y: 50, w: 16, h: 16};
-    lightPixelCheck = [[50,50], [65,65]];
-    grayPixelCheck = [[50,65], [65,50]];
-    redCheck = [[0,0], [49,49], [49,66], [66,49], [66,66], [99,99]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// The source canvas will copied to the 50,50 position of the destination canvas
-// over an area of 64x32 pixels
-// The copied image will be distorted along the x axis
-function runDrawImageTest_dX50_dY50_dW64_dH32() {
-    testDescription = 'Test scenario 5: dx = 50, dy = 50, dw = 64, dh = 32 --- ';
-    destRect = {x: 50, y: 50, w: 64, h: 32};
-    lightPixelCheck = [[50,50], [99,81]];
-    grayPixelCheck = [[50,81], [99,50]];
-    redCheck = [[0,0], [49,49], [49,82], [99,49], [99,82], [99,99]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// 8 arguments, both destination and source origins are 0, 0
-// An area of 32x32 pixels of the source image will be copied to
-// an area of 32x32 pixels of the destination canvas
-function runDrawImageTest_sX0_sY0_sW32_sH32_dX0_dY0_dW32_dH32() {
-    testDescription = 'Test scenario 6: sx = 0, sy = 0, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- ';
-    sourceRect = {x: 0, y: 0, w: 32, h: 32};
-    destRect = {x: 0, y: 0, w: 32, h: 32};
-    lightPixelCheck = [[0,0], [0,31], [31,0], [31,31]];
-    grayPixelCheck = [];
-    redCheck = [[0,32], [32,0], [32,32], [99,99]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// 8 arguments the destination origin is not 0,0
-// An area of 32x32 pixels of the source image will be copied to
-// an area of 32x32 pixels of the destination canvas in the position 32,32
-function runDrawImageTest_sX0_sY0_sW32_sH32_dX32_dY32_dW32_dH32() {
-    testDescription = 'Test scenario 7: sx = 0, sy = 0, sw = 32, sh = 32, dx = 32, dy = 32, dw = 32, dh = 32 --- ';
-    sourceRect = {x: 0, y: 0, w: 32, h: 32};
-    destRect = {x: 32, y: 32, w: 32, h: 32};
-    lightPixelCheck = [[32,32], [32,63], [63,32], [63,63]];
-    grayPixelCheck = [];
-    redCheck = [[0,0], [31,31], [31,64], [64,31], [64,64], [99,99]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// The source rectangle overflows the source image
-// The source area is clipped to fit the source image
-// and the destination are is clipped in the same proportion
-function runDrawImageTest_sX32_sY32_sW32_sH32_dX0_dY0_dW32_dH32() {
-    testDescription = 'Test scenario 8: sx = 32, sy = 32, sw = 32, sh = 32, dx = 0, dy = 0, dw = 32, dh = 32 --- ';
-    sourceRect = {x: 32, y: 32, w: 32, h: 32};
-    destRect = {x: 0, y: 0, w: 32, h: 32};
-    lightPixelCheck = [[0,0], [0,31], [31,0], [31,31]];
-    grayPixelCheck = [];
-    redCheck = [[0,32], [32,0], [32,32], [99,99]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// The destination rectangle has negative width and height. When the source
-// rectangle is outside the source image, the source rectangle must be clipped
-// to the source image and the destination rectangle must be clipped in the same
-// proportion.
-function runDrawImageTest_sX0_sY0_sW32_sH32_dX32_dY32_dWm32_dHm32() {
-    testDescription = 'Test scenario 9: sx = 32, sy = 32, sw = 32, sh = 32, dx = 32, dy = 32, dw = -32, dh = -32 --- ';
-    sourceRect = {x: 32, y: 32, w: 32, h: 32};
-    destRect = {x: 0, y: 0, w: 32, h: 32};
-    lightPixelCheck = [[0,0], [0,31], [31,0], [31,31]];
-    grayPixelCheck = [];
-    redCheck = [[0,32], [32,0], [32,32], [99,99]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// The destination rectangle is larger than the destination canvas.
-// When the destination rectangle is outside the destination image (the scratch bitmap),
-// the pixels that land outside the scratch bitmap are discarded,
-// as if the destination was an infinite canvas
-// whose rendering was clipped to the dimensions of the scratch bitmap.
-function runDrawImageTest_sX0_sY0_sW512_sH512_dX0_dY0_dW256_dH256() {
-    testDescription = 'Test scenario 10: sx = 0, sy = 0, sw = 512, sh = 512, dx = 0, dy = 0, dw = 256, dh = 256 --- ';
-    sourceRect = {x: 0, y: 0, w: 512, h: 512};
-    destRect = {x: 0, y: 0, w: 256, h: 256};
-    lightPixelCheck = [[0,0], [0,99], [99,0], [99,99]];
-    grayPixelCheck = [];
-    redCheck = [];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// The source rectangle is larger than the source canvas
-// The source area is clipped to fit the source image
-// and the destination area is clipped in the same proportion
-function runDrawImageTest_sX0_sY0_sW2048_sH2048_dX0_dY0_dW800_dH800() {
-    testDescription = 'Test scenario 11: sx = 0, sy = 0, sw = 2048, sh = 2048, dx = 0, dy = 0, dw = 800, dh = 800 --- ';
-    sourceRect = {x: 0, y: 0, w: 2048, h: 2048};
-    destRect = {x: 0, y: 0, w: 800, h: 800};
-    lightPixelCheck = [[0,0], [0,99], [99,0], [99,99]];
-    grayPixelCheck = [];
-    redCheck = [];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// Negative coordinates of the source rectangle
-// The source area is clipped to fit the source image
-// and the destination area is clipped in the same proportion
-function runDrawImageTest_sXm20_sYm20_sW50_sH50_dX20_dY20_dW125_dH125() {
-    testDescription = 'Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- ';
-    sourceRect = {x: -20, y: -20, w: 50, h: 50};
-    destRect = {x: 20, y: 20, w: 125, h: 125};
-    lightPixelCheck = [[70,70], [70,99], [99,70], [99,99]];
-    grayPixelCheck = [];
-    redCheck = [[0,0], [0,99], [99,0], [69,69], [69, 99], [99,69]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// The source Image doesn't have a src url defined.
-// No exception is thrown and nothing is drawn.
-function runDrawImageTestImageWithuotSource() {
-    testDescription = 'Test scenario 13: draw an image element that does not have a source --- ';
-    var sourceImage = document.createElement('img');
-    sourceRect = {x: 0, y: 0, w: 50, h: 50};
-    destRect = {x: 0, y: 0, w: 100, h: 100};
-    lightPixelCheck = [];
-    grayPixelCheck = [];
-    redCheck = [[0,0], [0,99], [99,0], [99,69]];
-    drawCustomImageOnCanvas(sourceImage, sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-// Clipping the source and down scaling to the destination
-function runDrawImageTest_sX64_sY64_sW384_sH384_dX0_dY0_dW32_dH64() {
-    testDescription = 'Test scenario 14: sx = 64, sy = 64, sw = 384, sh = 384, dx = 0, dy = 0, dw = 32, dh = 64 --- ';
-    sourceRect = {x: 64, y: 64, w: 384, h: 384};
-    destRect = {x: 0, y: 0, w: 32, h: 64};
-    lightPixelCheck = [[0,0], [15,31], [17,33], [31,63]];
-    grayPixelCheck = [[16,0], [31,31], [0, 33], [15,63]];
-    redCheck = [[0,64], [32,0], [32,64], [99,99]];
-    drawImageOnCanvas(sourceRect, destRect, lightPixelCheck, grayPixelCheck, redCheck, testDescription);
-}
-
-
-function runDrawImageTests() {
-    runDrawImageTest_dX0_dY0();
-    runDrawImageTest_dX25_dY25();
-    runDrawImageTest_dX50_dY50_dW50_dH50();
-    runDrawImageTest_dX50_dY50_dW16_dH16();
-    runDrawImageTest_dX50_dY50_dW64_dH32();
-    runDrawImageTest_sX0_sY0_sW32_sH32_dX0_dY0_dW32_dH32();
-    runDrawImageTest_sX0_sY0_sW32_sH32_dX32_dY32_dW32_dH32();
-    runDrawImageTest_sX32_sY32_sW32_sH32_dX0_dY0_dW32_dH32();
-    runDrawImageTest_sX0_sY0_sW32_sH32_dX32_dY32_dWm32_dHm32();
-    runDrawImageTest_sX0_sY0_sW512_sH512_dX0_dY0_dW256_dH256();
-    runDrawImageTest_sX0_sY0_sW2048_sH2048_dX0_dY0_dW800_dH800();
-    runDrawImageTest_sXm20_sYm20_sW50_sH50_dX20_dY20_dW125_dH125();
-    runDrawImageTestImageWithuotSource();
-    runDrawImageTest_sX64_sY64_sW384_sH384_dX0_dY0_dW32_dH64();
-}
-
-async_test(t => {
-        window.onload = function() {
-            t.step(runDrawImageTests);
-            t.done();
-        }
-}, 'Draw 100x100 image to 100x100 canvas at 0,0.');
-
-</script>
\ No newline at end of file
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1-expected.txt
deleted file mode 100644 (file)
index 610590a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-FAIL Load a 100x100 image to a SVG image and draw it to a 100x100 canvas. Type error
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1.html
deleted file mode 100644 (file)
index 6c50b2e..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>Load a 100x100 image to a SVG image and draw it to a 100x100 canvas.</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/html/canvas/resources/canvas-tests.js"></script>
-<div id="log"></div>
-<canvas id="dest" height="100" width="100"></canvas>
-<script>
-async_test(t => {
-  var sourceImg = document.createElementNS('http://www.w3.org/2000/svg', 'image');
-  sourceImg.setAttributeNS('http://www.w3.org/1999/xlink', 'href', '../2x2.png');
-  sourceImg.width = 100;
-  sourceImg.height = 100;
-
-  window.onload = t.step_func_done(() => {
-    var destCanvas = document.getElementById('dest');
-    var destCtx = destCanvas.getContext('2d');
-    destCtx.fillStyle = "#FF0000";
-    destCtx.fillRect(0, 0,  destCanvas.width, destCanvas.height);
-    destCtx.imageSmoothingEnabled = false;
-    // 2 arguments, the dest origin is 0,0
-    // The source canvas will copied to the 0,0 position of the destination canvas
-    destCtx.drawImage(sourceImg, 0, 0);
-    _assertPixel(destCanvas, 0, 0, 253, 140, 245, 255);
-    _assertPixel(destCanvas, 0, 99, 253, 140, 245, 255);
-    _assertPixel(destCanvas, 99, 0, 253, 140, 245, 255);
-    _assertPixel(destCanvas, 99, 99, 253, 140, 245, 255);
-  });
-});
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint-expected.txt
deleted file mode 100644 (file)
index 52c413c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-PASS Canvas should not be tainted after drawing SVG including <foreignObject> 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint.html
deleted file mode 100644 (file)
index f29b2bf..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>Draw an SVG image with a foreignObject to a canvas</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-function loadImage(url) {
-  return new Promise(resolve => {
-    const image = new window.Image();
-    image.onload = () => {
-      resolve(image);
-    };
-    image.src = url;
-  });
-}
-
-promise_test(async (t) => {
-  // Load a data URL for an SVG image with a foreign object.
-  const url = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><foreignObject></foreignObject></svg>';
-  const image = await loadImage(url);
-
-  // Draw the image to a canvas.
-  const canvas = document.createElement('canvas');
-  const context = canvas.getContext('2d');
-  canvas.width = image.width;
-  canvas.height = image.height;
-  context.drawImage(image, 0, 0);
-
-  // The canvas should not be tainted, so the following shouldn't throw.
-  assert_true(canvas.toDataURL().length > 0);
-}, 'Canvas should not be tainted after drawing SVG including <foreignObject>');
-</script>
index 5adbb88..0255c64 100644 (file)
@@ -50,11 +50,3 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerocanvas.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.zerosource.image.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_canvas_self_ref.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_crossorigin.sub.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_html_image.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_1.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint.html
index e323852..44cff25 100644 (file)
@@ -43,6 +43,15 @@ document.fonts.ready.then(() => {
         _assert(ctx.measureText('A').actualBoundingBoxAscent >= 35, "ctx.measureText('A').actualBoundingBoxAscent >= 35");
         _assert(Math.abs(ctx.measureText('A').actualBoundingBoxDescent) <= 1, "Math.abs(ctx.measureText('A').actualBoundingBoxDescent) <= 1");
 
+        _assert(ctx.measureText('D').actualBoundingBoxLeft >= 48, "ctx.measureText('D').actualBoundingBoxLeft >= 48");
+        _assert(ctx.measureText('D').actualBoundingBoxLeft <= 52, "ctx.measureText('D').actualBoundingBoxLeft <= 52");
+        _assert(ctx.measureText('D').actualBoundingBoxRight >= 75, "ctx.measureText('D').actualBoundingBoxRight >= 75");
+        _assert(ctx.measureText('D').actualBoundingBoxRight <= 80, "ctx.measureText('D').actualBoundingBoxRight <= 80");
+        _assert(ctx.measureText('D').actualBoundingBoxAscent >= 35, "ctx.measureText('D').actualBoundingBoxAscent >= 35");
+        _assert(ctx.measureText('D').actualBoundingBoxAscent <= 40, "ctx.measureText('D').actualBoundingBoxAscent <= 40");
+        _assert(ctx.measureText('D').actualBoundingBoxDescent >= 12, "ctx.measureText('D').actualBoundingBoxDescent >= 12");
+        _assert(ctx.measureText('D').actualBoundingBoxDescent <= 15, "ctx.measureText('D').actualBoundingBoxDescent <= 15");
+
         _assert(Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft) <= 1, "Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft) <= 1");
         _assert(ctx.measureText('ABCD').actualBoundingBoxRight >= 200, "ctx.measureText('ABCD').actualBoundingBoxRight >= 200");
         _assert(ctx.measureText('ABCD').actualBoundingBoxAscent >= 85, "ctx.measureText('ABCD').actualBoundingBoxAscent >= 85");
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered-expected.txt
deleted file mode 100644 (file)
index d20e54c..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-2d.fillStyle.parse.current.basic
-currentColor is computed from the canvas element
-Actual output:
-Expected output:
-
-
-PASS currentColor is computed from the canvas element even when element is not rendered 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html
deleted file mode 100644 (file)
index 8799443..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.fillStyle.parse.current.notrendered</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/html/canvas/resources/canvas-tests.js"></script>
-<link rel="stylesheet" href="/html/canvas/resources/canvas-tests.css">
-<body class="show_output">
-
-<h1>2d.fillStyle.parse.current.basic</h1>
-<p class="desc">currentColor is computed from the canvas element</p>
-
-
-<p class="output">Actual output:</p>
-<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
-<p class="output expectedtext">Expected output:<p><img src="/images/green-100x50.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("currentColor is computed from the canvas element even when element is not rendered");
-_addTest(function(canvas, ctx) {
-
-canvas.setAttribute('style', 'color: #0f0;');
-canvas.style.display = 'none';
-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");
-
-
-});
-</script>
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity-expected.txt
new file mode 100644 (file)
index 0000000..8eb8a39
--- /dev/null
@@ -0,0 +1,7 @@
+2d.pattern.transform.identity
+Actual output:
+Expected output:
+
+
+PASS Canvas test: 2d.pattern.transform.identity 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity.html
new file mode 100644 (file)
index 0000000..56a44df
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
+<title>Canvas test: 2d.pattern.transform.identity</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/html/canvas/resources/canvas-tests.js"></script>
+<link rel="stylesheet" href="/html/canvas/resources/canvas-tests.css">
+<body class="show_output">
+
+<h1>2d.pattern.transform.identity</h1>
+<p class="desc"></p>
+
+
+<p class="output">Actual output:</p>
+<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
+<p class="output expectedtext">Expected output:<p><img src="/images/green-100x50.png" class="output expected" id="expected" alt="">
+<ul id="d"></ul>
+<script>
+var t = async_test("");
+_addTest(function(canvas, ctx) {
+
+var canvas2 = document.createElement('canvas');
+canvas2.width = 100;
+canvas2.height = 50;
+var pattern = ctx.createPattern(canvas2, 'no-repeat');
+pattern.setTransform(new DOMMatrix());
+
+ctx.fillStyle = '#0f0';
+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");
+
+
+});
+</script>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity-expected.txt
new file mode 100644 (file)
index 0000000..ed071b3
--- /dev/null
@@ -0,0 +1,5 @@
+#PID UNRESPONSIVE - WebKitTestRunner (pid 80906)
+FAIL: Timed out waiting for notifyDone to be called
+
+#EOF
+#EOF
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity.html
new file mode 100644 (file)
index 0000000..d298d70
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
+<title>Canvas test: 2d.pattern.transform.infinity</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/html/canvas/resources/canvas-tests.js"></script>
+<link rel="stylesheet" href="/html/canvas/resources/canvas-tests.css">
+<body class="show_output">
+
+<h1>2d.pattern.transform.infinity</h1>
+<p class="desc"></p>
+
+
+<p class="output">Actual output:</p>
+<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
+<p class="output expectedtext">Expected output:<p><img src="/images/green-100x50.png" class="output expected" id="expected" alt="">
+<ul id="d"></ul>
+<script>
+var t = async_test("");
+_addTest(function(canvas, ctx) {
+
+var canvas2 = document.createElement('canvas');
+canvas2.width = 100;
+canvas2.height = 50;
+var pattern = ctx.createPattern(canvas2, 'no-repeat');
+pattern.setTransform({a: Infinity});
+
+ctx.fillStyle = '#0f0';
+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");
+
+
+});
+</script>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid-expected.txt
new file mode 100644 (file)
index 0000000..2253822
--- /dev/null
@@ -0,0 +1,5 @@
+2d.pattern.transform.invalid
+Actual output:
+
+PASS Canvas test: 2d.pattern.transform.invalid 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid.html
new file mode 100644 (file)
index 0000000..ebd2801
--- /dev/null
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
+<title>Canvas test: 2d.pattern.transform.invalid</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/html/canvas/resources/canvas-tests.js"></script>
+<link rel="stylesheet" href="/html/canvas/resources/canvas-tests.css">
+<body class="show_output">
+
+<h1>2d.pattern.transform.invalid</h1>
+<p class="desc"></p>
+
+
+<p class="output">Actual output:</p>
+<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
+
+<ul id="d"></ul>
+<script>
+var t = async_test("");
+_addTest(function(canvas, ctx) {
+
+var canvas2 = document.createElement('canvas');
+canvas2.width = 100;
+canvas2.height = 50;
+var pattern = ctx.createPattern(canvas2, 'no-repeat');
+assert_throws_js(TypeError, function() { pattern.setTransform({a: 1, m11: 2}); });
+
+
+});
+</script>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001-expected.txt
deleted file mode 100644 (file)
index fdc2969..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Description: If the two points in a linear gradient have identical x,y coordinates, the canvas must paint nothing.
-
-Test passes if there is one left-to-right, green-to-blue linear gradient seen on the page and no red is seen on the page.
-
-
-PASS linear gradient from point to self draws nothing 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001.htm
deleted file mode 100644 (file)
index 5b77c98..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test:  createlinearGradient() with two points same</title>
-        <script src="/resources/testharness.js"></script>
-        <script src="/resources/testharnessreport.js"></script>
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-        <link rel="help" href="http://www.w3.org/TR/2dcontext/#dom-context-2d-createlineargradient" />
-        <meta name="assert" content="If the two points in a linear gradient have identical x,y coordinates, the canvas must paint nothing." />
-        <script type="text/javascript">
-            async_test(function(t) {
-              window.addEventListener("load", t.step_func_done(function runTest() {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-                var width = canvas.width;
-                var height = canvas.height;
-
-                // Start by drawing a left to right, green-to-blue linear gradient.
-                var lingrad = ctx.createLinearGradient(0, 50, 100, 50);
-                lingrad.addColorStop(0, "rgba(0, 255, 0, 1.0)");
-                lingrad.addColorStop(1, "rgba(0, 0, 255, 1.0)");
-                ctx.fillStyle = lingrad;
-                ctx.fillRect(0, 0, 100, 50);
-
-                // Get the current state of the canvas
-                var initial = ctx.getImageData(0, 0, width, height);
-
-                // Nothing must be drawn if the two points in the linear gradient are the same.
-                lingrad = ctx.createLinearGradient(100, 100, 100, 100);
-                lingrad.addColorStop(0, "rgba(255, 0, 0, 1.0)");
-                lingrad.addColorStop(1, "rgba(255, 0, 0, 1.0)");
-                ctx.fillStyle = lingrad;
-                ctx.fillRect(0, 0, 300, 150);
-
-                // Check that nothing is drawn.
-                var after = ctx.getImageData(0, 0, width, height);
-
-                // Asserts
-                assert_equals(initial.width, after.width, "widths are equal");
-                assert_equals(initial.height, after.height, "heights are equal");
-                assert_array_equals(initial.data, after.data, "data are equal");
-
-                for (var i = 0; i < after.data.length; i += 4) {
-                  var r = after.data[i];
-                  var g = after.data[i+1];
-                  var b = after.data[i+2];
-                  var a = after.data[i+3];
-                  assert_false(r == 0xFF && g == 0 && b == 0 && a == 0xFF, "no red");
-                }
-              }));
-            }, "linear gradient from point to self draws nothing");
-        </script>
-    </head>
-    <body>
-        <p>Description: If the two points in a linear gradient have identical x,y coordinates, the canvas must paint nothing.</p>
-        <p>Test passes if there is one left-to-right, green-to-blue linear gradient seen on the page and no red is seen on the page.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
index 7d7a836..832ce71 100644 (file)
@@ -82,7 +82,6 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-6.png
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.basic.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.changed.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.notrendered.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.removed.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.current.removed.png
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.fillStyle.parse.hex3.html
@@ -333,5 +332,7 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.svgimage.nonexistent.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.svgimage.zeroheight.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.svgimage.zerowidth.html
+/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.identity.html
+/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.infinity.html
+/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.transform.invalid.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.strokeStyle.default.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/canvas_colorsandstyles_createlineargradient_001.htm
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001-expected.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001-expected.htm
deleted file mode 100644 (file)
index f85af9a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test: "square" lineCap</title>
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-    </head>
-    <body>
-        <p>Description: The square value of lineCap means that a rectangle with the length of the line width and the width of half the line width, placed flat against the edge perpendicular to the direction of the line, must be added at the end of each line.</p>
-        <div><img src='/images/black-rectangle.png' alt='black rect' /></div>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001.htm
deleted file mode 100644 (file)
index 583dbc9..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test: "square" lineCap</title>
-        <link rel="match" href="canvas_linestyles_linecap_001-ref.htm">
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-        <link rel="help" href="http://www.w3.org/TR/2dcontext/#dom-context-2d-linecap" />
-        <meta name="assert" content="The square value of lineCap means that a rectangle with the length of the line width and the width of half the line width, placed flat against the edge perpendicular to the direction of the line, must be added at the end of each line." />
-        <script type="text/javascript">
-            function runTest()
-            {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-
-                // Draw the first red rectangle.
-                ctx.fillStyle ="rgba(255, 0, 0, 1.0)";
-                ctx.fillRect(75, 0, 25, 50);
-
-                // Draw second red rectangle.
-                ctx.fillRect(0, 0, 25, 50);
-
-                // Draw a line with square lineCap.
-                ctx.strokeStyle = "rgba(0, 0, 0, 1.0)";
-                ctx.lineWidth = 50;
-                ctx.lineCap = "square";
-                ctx.beginPath();
-                ctx.moveTo(25, 25);
-                ctx.lineTo(75, 25);
-                ctx.stroke();
-            }
-        </script>
-    </head>
-    <body onload="runTest()">
-        <p>Description: The square value of lineCap means that a rectangle with the length of the line width and the width of half the line width, placed flat against the edge perpendicular to the direction of the line, must be added at the end of each line.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a-expected.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a-expected.html
deleted file mode 100644 (file)
index 3dc78ff..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<style>
-  html, body {
-    margin: 0;
-    padding: 0;
-  }
-  div {
-    background: #90EE90;
-    width: 110px;
-    height: 110px;
-    margin: 20px;
-  }
-</style>
-<div></div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a.html
deleted file mode 100644 (file)
index 7e692f9..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<link rel=match href=lineto_ref.html>
-<style>
-  html, body {
-    margin: 0;
-    padding: 0;
-  }
-</style>
-<canvas id="c" width="150" height="150" >
-Your browser does not support the HTML5 canvas tag.</canvas>
-
-<script>
-var c = document.getElementById("c");
-var ctx = c.getContext("2d");
-
-ctx.beginPath();
-ctx.moveTo(20, 20);
-ctx.lineTo(20, 130);
-ctx.lineTo(130, 130);
-ctx.lineTo(130, 20);
-ctx.closePath();
-
-ctx.fillStyle = '#90EE90';
-ctx.fill();
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_ref.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_ref.html
deleted file mode 100644 (file)
index 3dc78ff..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<style>
-  html, body {
-    margin: 0;
-    padding: 0;
-  }
-  div {
-    background: #90EE90;
-    width: 110px;
-    height: 110px;
-    margin: 20px;
-  }
-</style>
-<div></div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash-expected.txt
deleted file mode 100644 (file)
index 5cd1ba7..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-PASS Invalid arguments to setLineDash() 
-PASS setLineDash 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash.html
deleted file mode 100644 (file)
index 6b8d131..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>setLineDash</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/html/canvas/resources/canvas-tests.js"></script>
-<canvas id="canvas"></canvas>
-<script>
-test(function() {
-  var canvas = document.getElementById('canvas');
-  var ctx = canvas.getContext('2d');
-
-  var initial = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
-
-  ctx.setLineDash(initial);
-  assert_array_equals(ctx.getLineDash(), initial, "line dash sanity");
-
-  ctx.setLineDash([Infinity]);
-  assert_array_equals(ctx.getLineDash(), initial, "Inf doesn't reset line dash");
-
-  ctx.setLineDash([NaN]);
-  assert_array_equals(ctx.getLineDash(), initial, "NaN doesn't reset line dash");
-
-  ctx.setLineDash([-1]);
-  assert_array_equals(ctx.getLineDash(), initial, "Negative doesn't reset line dash");
-}, "Invalid arguments to setLineDash()");
-
-test(function() {
-  var canvas = document.getElementById('canvas');
-  var ctx = canvas.getContext('2d');
-  assert_equals(ctx.lineDashOffset, 0);
-
-  ctx.setLineDash([15, 10]);
-  ctx.lineDashOffset = 5;
-  ctx.strokeRect(10,10,100,100);
-
-  var lineDash = ctx.getLineDash();
-  assert_array_equals(lineDash, [15, 10]);
-  assert_equals(ctx.lineDashOffset, 5);
-
-  ctx.setLineDash([5, 10, 15]);
-  ctx.strokeRect(20, 20, 120, 120);
-  lineDash = ctx.getLineDash();
-  assert_array_equals(lineDash, [5, 10, 15, 5, 10, 15]);
-
-  ctx.setLineDash(["1", 2]);
-  lineDash = ctx.getLineDash();
-  assert_array_equals(lineDash, [1, 2]);
-
-  ctx.clearRect(0, 0, 700, 700);
-  assert_equals(ctx.lineDashOffset, 5);
-
-  ctx.setLineDash([20, 10]);
-  ctx.lineDashOffset = 0;
-  // Make the test immune to plaform anti-aliasing discrepancies.
-  ctx.lineWidth = 4;
-  ctx.strokeStyle = '#00FF00';
-  ctx.strokeRect(10.5, 10.5, 30, 30);
-
-  _assertPixel(canvas, 25, 10, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 35, 10, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 40, 25, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 40, 35, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 25, 40, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 15, 40, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 10, 25, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 10, 15, 0, 0, 0, 0, 0);
-
-  // Verify that lineDashOffset works as expected.
-  ctx.lineDashOffset = 20;
-  ctx.strokeRect(50.5, 10.5, 30, 30);
-  _assertPixel(canvas, 55, 10, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 65, 10, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 80, 15, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 80, 25, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 75, 40, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 65, 40, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 50, 35, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 50, 25, 0, 255, 0, 255, 0);
-
-  // Verify negative lineDashOffset.
-  ctx.lineDashOffset = -10;
-  ctx.strokeRect(90.5, 10.5, 30, 30);
-  _assertPixel(canvas, 95, 10, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 105, 10, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 120, 15, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 120, 25, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 115, 40, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 105, 40, 0, 255, 0, 255, 0);
-  _assertPixel(canvas, 90, 35, 0, 0, 0, 0, 0);
-  _assertPixel(canvas, 90, 25, 0, 255, 0, 255, 0);
-
-  // Ensure that all zeros or negative pattern does not cause error state in
-  // context.
-  ctx.setLineDash([0, 0]);
-  ctx.strokeRect(130.5, 10.5, 10, 10);
-  ctx.setLineDash([-1]);
-  ctx.strokeRect(130.5, 10.5, 10, 10);
-  _assertPixel(canvas, 135, 15, 0, 0, 0, 0, 0);
-  ctx.fillStyle = '#00FF00';
-  ctx.fillRect(130, 10, 10, 10);
-  _assertPixel(canvas, 135, 15, 0, 255, 0, 255, 0);
-});
-</script>
index 9a7099a..0301980 100644 (file)
@@ -46,9 +46,3 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/2d.line.width.scaledefault.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/2d.line.width.transformed.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/2d.line.width.valid.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001-expected.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/canvas_linestyles_linecap_001.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_a.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/lineto_ref.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/line-styles/setLineDash.html
index e405069..e0d3681 100644 (file)
@@ -14,6 +14,7 @@ Property values requiring vendor prefixes:
 None
 ------------------------------------------------------------------------
 List of files:
+/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/README.md
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/unclosed-canvas-1-expected.htm
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/unclosed-canvas-1-expected.htm
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/manual/unclosed-canvas-1.htm
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001-expected.txt
deleted file mode 100644 (file)
index 64a3b9b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Description: Shadows must be drawn for linear gradients.
-
-Test passes if there is one gradient filled rectangle and one black rectangle, and no red seen on the page.
-
-
-PASS linear gradient fillRect draws shadow (black rectange) 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001.htm
deleted file mode 100644 (file)
index 1763950..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test: Shadows for linear gradients</title>
-        <script src="/resources/testharness.js"></script>
-        <script src="/resources/testharnessreport.js"></script>
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-        <link rel="help" href="http://www.w3.org/TR/2dcontext/#shadows" />
-        <meta name="assert" content="Shadows must be drawn for linear gradients." />
-        <script type="text/javascript">
-            async_test(function(t) {
-              window.addEventListener("load", t.step_func_done(function runTest() {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-
-                // Draw a red rectangle.
-                ctx.fillStyle = "rgba(255, 0, 0, 1.0)";
-                ctx.fillRect(150, 0, 100, 50);
-
-                // Set shadow styles to draw a black shadow to overlap the red rectangle.
-                ctx.shadowOffsetX = 150;
-                ctx.shadowColor = "rgba(0, 0, 0, 1.0)";
-
-                // Draw a left to right, green-to-blue linear gradient.
-                var lingrad = ctx.createLinearGradient(0, 50, 100, 50);
-                lingrad.addColorStop(0, "rgba(0, 255, 0, 1.0)");
-                lingrad.addColorStop(1, "rgba(0, 0, 255, 1.0)");
-                ctx.fillStyle = lingrad;
-                ctx.fillRect(0, 0, 100, 50);
-
-                // Check the red is gone
-                var data = ctx.getImageData(150, 0, 100, 50);
-                for (var i = 0; i < data.data.length; i += 4) {
-                  var r = data.data[i];
-                  var g = data.data[i+1];
-                  var b = data.data[i+2];
-                  var a = data.data[i+3];
-                  assert_equals(r, 0, "r channel");
-                  assert_equals(g, 0, "g channel");
-                  assert_equals(b, 0, "b channel");
-                  assert_equals(a, 0xFF, "a channel");
-                }
-
-                for (var j = 0; j < data.data.length; j += 4) {
-                  var r2 = data.data[j];
-                  var g2 = data.data[j+1];
-                  var b2 = data.data[j+2];
-                  var a2 = data.data[j+3];
-                  assert_false(r2 == 0xFF && g2 == 0 && b2 == 0 && a2 == 0xFF, "no red");
-                }
-              }));
-            }, "linear gradient fillRect draws shadow (black rectange)");
-        </script>
-    </head>
-    <body>
-        <p>Description: Shadows must be drawn for linear gradients.</p>
-        <p>Test passes if there is one gradient filled rectangle and one black rectangle, and no red seen on the page.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002-expected.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002-expected.htm
deleted file mode 100644 (file)
index 0658be8..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <title>HTML5 Canvas Test:  Shadows for images</title>
-    <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-    <link rel="help" href="http://www.w3.org/TR/2dcontext/#shadows" />
-    <meta name="assert" content="Shadows must be drawn for images." />
-    <script type="text/javascript">
-      function runTest() {
-        var canvas = document.getElementById("canvas1");
-        var ctx = canvas.getContext("2d");
-
-        // Draw a black rectangle image on the canvas.
-        var img = document.getElementById("imgBlackRect");
-        ctx.drawImage(img, 0, 0);
-        ctx.drawImage(img, 150, 0);
-      }
-    </script>
-
-  </head>
-  <body onload="runTest()">
-    <p>Description:  Shadows must be drawn for images.</p>
-    <p>Test passes if two black rectangles are shown and there is no red visible on the page.</p>
-    <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    <img id="imgBlackRect" style="display:none;" width="100" height="50" src="/images/black-rectangle.png">
-  </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002.htm
deleted file mode 100644 (file)
index 908fffe..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <title>HTML5 Canvas Test:  Shadows for images</title>
-    <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-    <link rel="help" href="http://www.w3.org/TR/2dcontext/#shadows" />
-    <link rel="match" href="canvas_shadows_002-ref.htm" />
-    <meta name="assert" content="Shadows must be drawn for images." />
-    <script type="text/javascript">
-      function runTest() {
-        var canvas = document.getElementById("canvas1");
-        var ctx = canvas.getContext("2d");
-
-        // Draw a red rectangle.
-        ctx.fillStyle = "rgba(255, 0, 0, 1.0)";
-        ctx.fillRect(150, 0, 100, 50);
-
-        // Set shadow styles to draw a black shadow to overlap the red rectangle.
-        ctx.shadowOffsetX = 150;
-        ctx.shadowColor = "rgba(0, 0, 0, 1.0)";
-
-        // Draw a black rectangle image on the canvas.
-        var img = document.getElementById("imgBlackRect");
-        ctx.drawImage(img, 0, 0);
-      }
-    </script>
-  </head>
-  <body onload="runTest()">
-    <p>Description:  Shadows must be drawn for images.</p>
-    <p>Test passes if two black rectangles are shown and there is no red visible on the page.</p>
-    <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    <img id="imgBlackRect" style="display:none" width="100" height="50" src="/images/black-rectangle.png">
-  </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1-expected.txt
deleted file mode 100644 (file)
index 0b381f8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Test of canvas shadowBlur Gaussian blur pixel values
-
-
-PASS shadowBlur Gaussian pixel values for no blur 
-PASS shadowBlur Gaussian pixel values for small blur 
-PASS shadowBlur Gaussian pixel values for large blur 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1.html
deleted file mode 100644 (file)
index eec27bf..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-<!DOCTYPE HTML>
-<title>Test of canvas shadowBlur Gaussian blur pixel values</title>
-<meta charset=UTF-8>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<body>
-<h1>Test of canvas shadowBlur Gaussian blur pixel values</h1>
-<script>
-
-/**
- * See https://en.wikipedia.org/wiki/Error_function#Approximation_with_elementary_functions
- */
-function erf(x) {
-  if (x < 0) {
-    return -erf(-x);
-  }
-  var p = 0.3275911, a1 = 0.254829592, a2 = -0.284496736, a3 = 1.421413741, a4 = -1.453152027, a5 = 1.061405429;
-  var t = 1 / (1 + p * x);
-  return 1 - Math.exp(-x * x) * t * (a1 + t * (a2 + t * (a3 + t * (a4 + t * a5))));
-}
-
-/**
- * See https://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_function
- * and https://en.wikipedia.org/wiki/Normal_distribution#Numerical_approximations_for_the_normal_CDF
- */
-function standard_normal_distribution_cumulative(x) {
-  return 0.5 * (1 + erf(x / Math.SQRT2));
-}
-
-/**
- * Verify a single pixel; helper for run_blur_test.
- *   params - same as run_blur_test
- *   row & col - relative to the corner of the rectangle being blurred
- *   actual - actual color found there on the canvas
- */
-function test_pixel(params, row, col, shadowOffset, actual) {
-  var expected_gaussian;
-  if (params.expected_sigma > 0) {
-    // Compute positions within a standard normal distribution (i.e.,
-    // where mean (μ) is and standard deviation (σ) is 1) in both
-    // dimensions.
-    // Add 0.5 because we want the middle of the pixel rather than the edge.
-    var pos_x = (col - shadowOffset + 0.5) / params.expected_sigma;
-    var pos_y = (row - shadowOffset + 0.5) / params.expected_sigma;
-
-    // Find the expected color value based on a Gaussian blur function.
-    // Since we're blurring the corner of a "very large" rectangle, we
-    // can, instead of sampling all of the pixels, use the cumulative
-    // form of the normal (Gaussian) distribution and pass it the
-    // position of the color transition (the edges of the rectangle),
-    // since we know everything above and to the left of that position
-    // is one color, and everything that is either below or to the right
-    // of that position is another color.
-    //
-    // NOTE: This assumes color-interpolation happens in sRGB rather
-    // than linearRGB.  The canvas spec doesn't appear to be clear on
-    // this point.  If it were linearRGB, we'd need to apply the
-    // correction after doing this calculation.  (No correction to the
-    // input is needed since the input is all 0 or 1.)
-    expected_gaussian = standard_normal_distribution_cumulative(-pos_x) *
-                        standard_normal_distribution_cumulative(-pos_y);
-  } else {
-    if (col >= shadowOffset || row >= shadowOffset) {
-      expected_gaussian = 0;
-    } else {
-      expected_gaussian = 1;
-    }
-  }
-  // TODO: maybe also compute expected value by triple box blur?
-
-  /*
-   * https://html.spec.whatwg.org/multipage/canvas.html#when-shadows-are-drawn
-   * describes how to draw shadows in canvas.  It says, among other things:
-   *
-   *   Perform a 2D Gaussian Blur on B, using σ as the standard deviation.
-   *
-   * without giving *any* allowance for error.
-   *
-   * However, other specifications that require Gaussian blurs allow some
-   * error; https://www.w3.org/TR/css-backgrounds-3/#shadow-blur allows up to
-   * 5%, and https://drafts.fxtf.org/filter-effects/#feGaussianBlurElement
-   * allows use of a triple box blur which is within 3%.
-   *
-   * Since expecting zero error is unreasonable, this test tests for the least
-   * restrictive of these bounds, the 5% error.
-   *
-   * Note that this allows 5% error in the color component, but there's no
-   * tolerance for error in the position; see comment below about sizes.
-   */
-
-  // Allow any rounding direction.
-  var min_b = Math.max(  0, Math.floor((expected_gaussian - 0.05) * 255));
-  var max_b = Math.min(255, Math.ceil ((expected_gaussian + 0.05) * 255));
-  var min_r = 255 - max_b;
-  var max_r = 255 - min_b;
-
-  var pos = "at row " + row + " col " + col + " ";
-
-  assert_true(min_r <= actual.r && actual.r <= max_r,
-              pos + "red component " + actual.r + " should be between " +
-              min_r + " and " + max_r + " (inclusive).");
-  assert_true(min_b <= actual.b && actual.b <= max_b,
-              pos + "blue component " + actual.b + " should be between " +
-              min_b + " and " + max_b + " (inclusive).");
-  assert_equals(actual.g, 0, pos + "green component should be 0");
-  assert_equals(actual.a, 255, pos + "alpha component should be 255");
-}
-
-/**
- * Run a test of a single shadowBlur drawing operation.  Expects a
- * parameters object containing:
- *   name - name of test
- *   canvas_width - width of canvas to create
- *   canvas_height - height of canvas to create
- *   shadowBlur - shadowBlur to use for the test drawing operation
- *   expected_sigma - the standard deviation of the gaussian function
- *     that shadowBlur is expected to produce
- *   pixel_skip - how many pixels to skip when sampling results.  Should
- *     be relatively prime with canvas_width.
- */
-function run_blur_test(params) {
-  test(function() {
-    var canvas = document.createElement("canvas");
-    canvas.setAttribute("width", params.canvas_width);
-    canvas.setAttribute("height", params.canvas_height);
-    document.body.appendChild(canvas);
-    var cx = canvas.getContext("2d");
-
-    cx.fillStyle = "red";
-    cx.fillRect(0, 0, params.canvas_width, params.canvas_height);
-
-    // Fill a huge rect just to the top and left of the canvas, with its shadow
-    // blur centered at the middle of the canvas.
-    let edge = Math.floor(params.canvas_width / 2); // position of vertical
-    let big = Math.max(Math.ceil(params.expected_sigma * 1000),
-                       params.canvas_width,
-                       params.canvas_height);
-    cx.shadowBlur = params.shadowBlur;
-    cx.fillStyle = "green";
-    cx.shadowColor = "blue";
-    cx.shadowOffsetX = edge;
-    cx.shadowOffsetY = edge;
-    cx.fillRect(-big, -big, big, big);
-
-    var imageData =
-      cx.getImageData(0, 0, params.canvas_width, params.canvas_height);
-    for (var i = 0, i_max = params.canvas_width * params.canvas_height;
-         i < i_max;
-         i += params.pixel_skip) {
-      var row = Math.floor(i / params.canvas_width);
-      var col = i - row * params.canvas_width;
-
-      var actual = { r: imageData.data[i * 4],
-                     g: imageData.data[i * 4 + 1],
-                     b: imageData.data[i * 4 + 2],
-                     a: imageData.data[i * 4 + 3] };
-
-      test_pixel(params, row, col, edge, actual);
-    }
-  }, "shadowBlur Gaussian pixel values for " + params.name);
-}
-
-run_blur_test({
-  name: "no blur",
-  canvas_width: 4,
-  canvas_height: 4,
-  shadowBlur: 0,
-  expected_sigma: 0,
-  pixel_skip: 1
-});
-run_blur_test({
-  name: "small blur",
-  canvas_width: 20,
-  canvas_height: 20,
-  // Try to test something smaller than 8 due to historic change in
-  // https://www.w3.org/Bugs/Public/show_bug.cgi?id=10647 , but not too
-  // small, to avoid the error from rounding to individual pixels worth
-  // of box blur.
-  shadowBlur: 6,
-  expected_sigma: 3,
-  pixel_skip: 3
-});
-run_blur_test({
-  name: "large blur",
-  canvas_width: 100,
-  canvas_height: 100,
-  shadowBlur: 30,
-  expected_sigma: 15,
-  pixel_skip: 13
-});
-</script>
index f22e1c1..10c34de 100644 (file)
@@ -81,7 +81,3 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/2d.shadow.stroke.join.3.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/2d.shadow.transform.1.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/2d.shadow.transform.2.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_001.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002-expected.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/canvas_shadows_002.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/shadows/shadowBlur_gaussian_tolerance.1.html
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001-expected.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001-expected.htm
deleted file mode 100644 (file)
index 1a19757..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test:  Ignore property-independent style sheet syntax "inherit" in Text (reference)</title>
-        <script type="text/javascript">
-            function runTest()
-            {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-
-                ctx.font = "40px Ahem";
-                ctx.fillText("Filler", 5, 50);
-                ctx.fillText("Filler", 5, 100);
-            }
-        </script>
-    </head>
-    <body onload="runTest()">
-        <p>Description:  Ignore "inherit" property-independent style sheet syntax without assigning a new font value.</p>
-        <p>Test passes if there are two identical black boxes below.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001.htm
deleted file mode 100644 (file)
index 923ce71..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test:  Ignore property-independent style sheet syntax "inherit" in Text</title>
-        <link rel="match" href="canvas_text_font_001-ref.htm" />
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-        <link rel="help" href="http://www.w3.org/TR/2dcontext/#dom-context-2d-font" />
-        <meta name="assert" content=":  Ignore 'inherit' property-independent style sheet syntax without assigning a new font value." />
-        <script type="text/javascript">
-            function runTest()
-            {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-
-                // Assign a valid font.
-                ctx.font = "40px Ahem";
-
-                // Assign property-independent style sheet syntax 'inherit' as font (this must be ignored).
-                ctx.font = "20px inherit";
-                ctx.fillText("Filler", 5, 50);
-
-                // Assign a valid font which was used earlier.
-                ctx.font = "40px Ahem";
-                ctx.fillText("Filler", 5, 100);
-            }
-        </script>
-    </head>
-    <body onload="runTest()">
-        <p>Description:  Ignore "inherit" property-independent style sheet syntax without assigning a new font value.</p>
-        <p>Test passes if there are two identical black boxes below.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
index f9f6243..130797a 100644 (file)
@@ -40,5 +40,3 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/2d.text.font.parse.tiny.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/2d.text.font.relative_size.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/2d.text.measure.width.space.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001-expected.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/text-styles/canvas_text_font_001.htm
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled-expected.txt
deleted file mode 100644 (file)
index c8e2abb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-
-PASS Test that restore() undoes any modifications to imageSmoothingEnabled. 
-PASS Test that save() doesn't modify the values of imageSmoothingEnabled. 
-PASS Test that restoring actually changes smoothing and not just the attribute value. 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled.html
deleted file mode 100644 (file)
index e99be83..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>CanvasRenderingContext2D imageSmoothingEnabled save/restore test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<link rel="help" href="https://html.spec.whatwg.org/multipage/scripting.html#image-smoothing">
-<script>
-function createTestImage() {
-  var image = document.createElement('canvas');
-  var imgctx = image.getContext('2d');
-  imgctx.fillStyle = "#F00";
-  imgctx.fillRect(0, 0, 2, 2);
-  imgctx.fillStyle = "#0F0";
-  imgctx.fillRect(0, 0, 1, 1);
-  return image;
-}
-
-test(function() {
-  var ctx = document.createElement('canvas').getContext('2d');
-  ctx.save();
-  ctx.imageSmoothingEnabled = false;
-  ctx.restore();
-  assert_equals(ctx.imageSmoothingEnabled, true);
-}, "Test that restore() undoes any modifications to imageSmoothingEnabled.");
-
-test(function() {
-  var ctx = document.createElement('canvas').getContext('2d');
-  ctx.imageSmoothingEnabled = false;
-  var old = ctx.imageSmoothingEnabled;
-  ctx.save();
-  assert_equals(ctx.imageSmoothingEnabled, old);
-  ctx.restore();
-}, "Test that save() doesn't modify the values of imageSmoothingEnabled.");
-
-test(function() {
-  var ctx = document.createElement('canvas').getContext('2d');
-  ctx.imageSmoothingEnabled = false;
-  ctx.save();
-  ctx.imageSmoothingEnabled = true;
-  ctx.restore();
-  var image = createTestImage();
-  ctx.scale(10, 10);
-  ctx.drawImage(image, 0, 0);
-  var pixels = ctx.getImageData(0, 0, 1, 1).data;
-  assert_array_equals(pixels, [0, 255, 0, 255]);
-}, "Test that restoring actually changes smoothing and not just the attribute value.");
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001-expected.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001-expected.htm
deleted file mode 100644 (file)
index aee610d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test: restore() pops top entry in drawing state stack</title>
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-    </head>
-    <body>
-        <p>Description: restore() pops the top entry in the drawing state stack.</p>
-        <div><img src='/images/threecolors.png' alt='3 colors'></div>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001.htm
deleted file mode 100644 (file)
index 6d5a3cb..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test: restore() pops top entry in drawing state stack</title>
-        <link rel="match" href="canvas_state_restore_001-ref.htm">
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-        <link rel="help" href="http://www.w3.org/TR/2dcontext/#the-canvas-state" />
-        <meta name="assert" content="restore() pops the top entry in the drawing state stack." />
-        <script type="text/javascript">
-            function runTest()
-            {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-                ctx.fillStyle = "rgba(255, 0, 0, 1.0)";
-                ctx.fillRect(0, 0, 99, 50);
-
-                // Save colors to the stack as separate drawing states.
-                ctx.fillStyle = "rgba(255, 255, 0, 1.0)";
-                ctx.save();
-                ctx.fillStyle = "rgba(0, 0, 255, 1.0)";
-                ctx.save();
-                ctx.fillStyle = "rgba(0, 255, 0, 1.0)";
-                ctx.save();
-
-                // Modify the current fillStyle.
-                ctx.fillStyle = "rgba(255, 0, 0, 1.0)";
-
-                // Restore the drawing states previously saved and draw with them.
-                ctx.restore();
-                ctx.fillRect(66, 0, 33, 50);
-                ctx.restore();
-                ctx.fillRect(33, 0, 33, 50);
-                ctx.restore();
-                ctx.fillRect(0, 0, 33, 50);
-            }
-        </script>
-    </head>
-    <body onload="runTest()">
-        <p>Description: restore() pops the top entry in the drawing state stack.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
index 587d9b0..793835e 100644 (file)
@@ -20,7 +20,6 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.font.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.globalAlpha.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.globalCompositeOperation.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.imageSmoothingEnabled.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.lineCap.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.lineJoin.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.lineWidth.html
@@ -37,5 +36,3 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.textBaseline.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.transformation.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/2d.state.saverestore.underflow.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001-expected.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/the-canvas-state/canvas_state_restore_001.htm
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform-expected.txt
deleted file mode 100644 (file)
index 75dcf06..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-PASS This test ensures that getTransform works correctly. 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform.html
deleted file mode 100644 (file)
index 664efd5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<body>
-<script>
-// Ensure that context2d.getTransform works
-const epsilon = 1e-5;
-const canvas = document.createElement('canvas');
-const ctx = canvas.getContext('2d');
-
-test(function(t) {
-  assert_array_equals(ctx.getTransform().toFloat32Array(),
-    [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
-    "Assert that an untransformed matrix is identity");
-
-  ctx.scale(2, 3);
-  transform = ctx.getTransform();
-  assert_array_equals(ctx.getTransform().toFloat32Array(),
-    [2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
-    "Assert that context2d scaling works");
-
-  ctx.rotate(Math.PI/2);
-  transform = ctx.getTransform();
-  assert_array_approx_equals(ctx.getTransform().toFloat32Array(),
-    [0, 3, 0, 0, -2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], epsilon,
-    "Assert that context2d rotate works");
-
-  ctx.translate(1, -1);
-  transform = ctx.getTransform();
-  assert_array_approx_equals(ctx.getTransform().toFloat32Array(),
-    [0, 3, 0, 0, -2, 0, 0, 0, 0, 0, 1, 0, 2, 3, 0, 1], epsilon,
-    "Assert context2d translate works.");
-
-  ctx.resetTransform();
-  assert_array_equals(ctx.getTransform().toFloat32Array(),
-    [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
-    "Assert that a reset matrix is identity");
-}, 'This test ensures that getTransform works correctly.');
-</script>
-</body>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001-expected.html
deleted file mode 100644 (file)
index caeea04..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<style>
-  html, body, div {
-    margin: 0;
-    padding: 0;
-  }
-  div {
-    width: 75px;
-    height: 75px;
-    float: left;
-  }
-</style>
-
-<div style="background-color:red"></div>
-<div style="clear:left"></div>
-<div style="background-color:blue"></div>
-
-</body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001.html
deleted file mode 100644 (file)
index c12acbf..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<link rel="match" href="canvas_transformations_reset_001-ref.html">
-<style>
-  html, body {
-    margin: 0;
-    padding: 0;
-  }
-</style>
-<canvas id="c" width="150" height="150"></canvas>
-<script>
-var c = document.getElementById("c");
-var ctx = c.getContext("2d");
-
-ctx.translate(75, 75);
-ctx.fillStyle = 'blue';
-ctx.fillRect(0, 0, 75, 75);
-
-ctx.resetTransform();
-ctx.fillStyle = 'red';
-ctx.fillRect(0, 0, 75, 75);
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001-expected.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001-expected.htm
deleted file mode 100644 (file)
index 1201bcc..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<!doctype HTML>
-<html>
-    <head>
-        <title>HTML5 Canvas Test: scale() transformation</title>
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-    </head>
-    <body>
-        <p>Description: The scale(x, y) method must add the scaling transformation described by the arguments to the transformation matrix.</p>
-        <div><img alt='black rectangle' src="/images/black-rectangle.png"></div>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001.htm b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001.htm
deleted file mode 100644 (file)
index 73f7135..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<!doctype HTML>
-
-<html>
-    <head>
-        <title>HTML5 Canvas Test: scale() transformation</title>
-        <link rel="match" href="canvas_transformations_scale_001-ref.htm">
-        <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
-        <link rel="help" href="http://www.w3.org/TR/2dcontext/#dom-context-2d-scale" />
-        <meta name="assert" content="The scale(x, y) method must add the scaling transformation described by the arguments to the transformation matrix." />
-        <script type="text/javascript">
-            function runTest()
-            {
-                var canvas = document.getElementById("canvas1");
-                var ctx = canvas.getContext("2d");
-
-                // Draw a red rectangle.
-                ctx.fillStyle = "rgba(255, 0, 0, 1.0)";
-                ctx.fillRect(0, 0, 100, 50);
-
-                // Draw a black rectangle with scaling.
-                ctx.fillStyle = "rgba(0, 0, 0, 1.0)";
-                ctx.scale(2, 2);
-                ctx.fillRect(0, 0, 50, 25);
-            }
-        </script>
-    </head>
-    <body onload="runTest()">
-        <p>Description: The scale(x, y) method must add the scaling transformation described by the arguments to the transformation matrix.</p>
-        <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
-    </body>
-</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a-expected.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a-expected.html
deleted file mode 100644 (file)
index 2a166c3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<style>
-html, body {
-    margin: 0;
-}
-section {
-    position: absolute;
-    background: rgb(255, 0, 0);
-    width: 30px;
-    height: 30px;
-    top: 30px;
-    left: 30px;
-}
-</style>
-<section></section>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a.html
deleted file mode 100644 (file)
index 8c1f59e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<link rel=match href=transform_ref.html>
-<style>
-html, body {
-    margin: 0;
-}
-</style>
-<canvas id=c width=400 height=300></canvas>
-<script>
-var canvas = document.getElementById('c');
-var ctx = canvas.getContext('2d');
-ctx.scale(3, 3);
-ctx.fillStyle = 'rgb(255, 0, 0)';
-ctx.beginPath();
-ctx.moveTo(10, 10);
-ctx.bezierCurveTo(10, 10, 20, 10, 20, 10);
-ctx.bezierCurveTo(20, 10, 20, 20, 20, 20);
-ctx.bezierCurveTo(20, 20, 10, 20, 10, 20);
-ctx.closePath();
-ctx.fill();
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_ref.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_ref.html
deleted file mode 100644 (file)
index 2a166c3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<style>
-html, body {
-    margin: 0;
-}
-section {
-    position: absolute;
-    background: rgb(255, 0, 0);
-    width: 30px;
-    height: 30px;
-    top: 30px;
-    left: 30px;
-}
-</style>
-<section></section>
index 1d8b806..d35936b 100644 (file)
@@ -14,7 +14,6 @@ Property values requiring vendor prefixes:
 None
 ------------------------------------------------------------------------
 List of files:
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.getTransform.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.order.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.rotate.direction.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.rotate.nonfinite.html
@@ -37,10 +36,3 @@ List of files:
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.transform.skewed.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.translate.basic.html
 /LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/2d.transformation.translate.nonfinite.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_reset_001.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001-expected.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/canvas_transformations_scale_001.htm
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_a.html
-/LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/transformations/transform_ref.html
index 997b316..d454e12 100644 (file)
@@ -36,6 +36,15 @@ fonts.ready.then(function() {
     _assert(ctx.measureText('A').actualBoundingBoxAscent >= 35, "ctx.measureText('A').actualBoundingBoxAscent >= 35");
     _assertSame(Math.abs(ctx.measureText('A').actualBoundingBoxDescent), 0, "Math.abs(ctx.measureText('A').actualBoundingBoxDescent)", "0");
 
+    _assert(ctx.measureText('D').actualBoundingBoxLeft >= 48, "ctx.measureText('D').actualBoundingBoxLeft >= 48");
+    _assert(ctx.measureText('D').actualBoundingBoxLeft <= 52, "ctx.measureText('D').actualBoundingBoxLeft <= 52");
+    _assert(ctx.measureText('D').actualBoundingBoxRight >= 75, "ctx.measureText('D').actualBoundingBoxRight >= 75");
+    _assert(ctx.measureText('D').actualBoundingBoxRight <= 80, "ctx.measureText('D').actualBoundingBoxRight <= 80");
+    _assert(ctx.measureText('D').actualBoundingBoxAscent >= 35, "ctx.measureText('D').actualBoundingBoxAscent >= 35");
+    _assert(ctx.measureText('D').actualBoundingBoxAscent <= 40, "ctx.measureText('D').actualBoundingBoxAscent <= 40");
+    _assert(ctx.measureText('D').actualBoundingBoxDescent >= 12, "ctx.measureText('D').actualBoundingBoxDescent >= 12");
+    _assert(ctx.measureText('D').actualBoundingBoxDescent <= 15, "ctx.measureText('D').actualBoundingBoxDescent <= 15");
+
     _assertSame(Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft), 0, "Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft)", "0");
     _assert(ctx.measureText('ABCD').actualBoundingBoxRight >= 200, "ctx.measureText('ABCD').actualBoundingBoxRight >= 200");
     _assert(ctx.measureText('ABCD').actualBoundingBoxAscent >= 85, "ctx.measureText('ABCD').actualBoundingBoxAscent >= 85");
index 6d2eed7..497c8f9 100644 (file)
@@ -32,6 +32,15 @@ fonts.ready.then(function() {
     _assert(ctx.measureText('A').actualBoundingBoxAscent >= 35, "ctx.measureText('A').actualBoundingBoxAscent >= 35");
     _assertSame(Math.abs(ctx.measureText('A').actualBoundingBoxDescent), 0, "Math.abs(ctx.measureText('A').actualBoundingBoxDescent)", "0");
 
+    _assert(ctx.measureText('D').actualBoundingBoxLeft >= 48, "ctx.measureText('D').actualBoundingBoxLeft >= 48");
+    _assert(ctx.measureText('D').actualBoundingBoxLeft <= 52, "ctx.measureText('D').actualBoundingBoxLeft <= 52");
+    _assert(ctx.measureText('D').actualBoundingBoxRight >= 75, "ctx.measureText('D').actualBoundingBoxRight >= 75");
+    _assert(ctx.measureText('D').actualBoundingBoxRight <= 80, "ctx.measureText('D').actualBoundingBoxRight <= 80");
+    _assert(ctx.measureText('D').actualBoundingBoxAscent >= 35, "ctx.measureText('D').actualBoundingBoxAscent >= 35");
+    _assert(ctx.measureText('D').actualBoundingBoxAscent <= 40, "ctx.measureText('D').actualBoundingBoxAscent <= 40");
+    _assert(ctx.measureText('D').actualBoundingBoxDescent >= 12, "ctx.measureText('D').actualBoundingBoxDescent >= 12");
+    _assert(ctx.measureText('D').actualBoundingBoxDescent <= 15, "ctx.measureText('D').actualBoundingBoxDescent <= 15");
+
     _assertSame(Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft), 0, "Math.abs(ctx.measureText('ABCD').actualBoundingBoxLeft)", "0");
     _assert(ctx.measureText('ABCD').actualBoundingBoxRight >= 200, "ctx.measureText('ABCD').actualBoundingBoxRight >= 200");
     _assert(ctx.measureText('ABCD').actualBoundingBoxAscent >= 85, "ctx.measureText('ABCD').actualBoundingBoxAscent >= 85");
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.html
deleted file mode 100644 (file)
index 35cba36..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/html/canvas/resources/canvas-tests.js"></script>
-<link rel="help" href="https://html.spec.whatwg.org/#offscreencontext2d-commit">
-<script>
-
-function verifyPlaceholder(placeholder, expectedR, expectedG, expectedB, expectedA, expectedClrStr)
-{
-    var canvas = document.createElement('canvas');
-    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);
-}
-
-test(function() {
-    var placeholder = document.createElement('canvas');
-    placeholder.width = placeholder.height = 10;
-    var offscreenCanvas = placeholder.transferControlToOffscreen();
-    var ctx = offscreenCanvas.getContext('2d');
-    ctx.fillStyle = "#0f0";
-    ctx.fillRect(0, 0, 10, 10);
-    // commit() propagation is taken care of by an async task, which means the
-    // place holder contents should still be transparent black at this moment.
-    verifyPlaceholder(placeholder, 0,0,0,0, "0,0,0,0");
-    // Set timeout acts as a sync barrier to allow commit to propagate
-    setTimeout(function() {
-        verifyPlaceholder(placeholder, 0,255,0,255, "0,255,0,255");
-    }, 0);
-}, "Test that calling OffscreenCanvas's commit pushes its contents to its placeholder.");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(10, 10);
-    var ctx = offscreenCanvas.getContext('2d');
-    ctx.fillStyle = "#0f0";
-    ctx.fillRect(0, 0, 10, 10);
-    ctx.commit();
-}, "Test that calling commit on an OffscreenCanvas that is not transferred from a HTMLCanvasElement is a noop.");
-
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.w-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.w-expected.txt
deleted file mode 100644 (file)
index 434332c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-FAIL Test that calling OffscreenCanvas's commit pushes its contents to its placeholder. placeholder.transferControlToOffscreen is not a function. (In 'placeholder.transferControlToOffscreen()', 'placeholder.transferControlToOffscreen' is undefined)
-PASS Test that calling commit on an OffscreenCanvas that is not transferred from a HTMLCanvasElement throws an exception in a worker. 
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.w.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.commit.w.html
deleted file mode 100644 (file)
index 6d4bad1..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE html>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/html/canvas/resources/canvas-tests.js"></script>
-<link rel="help" href="https://html.spec.whatwg.org/#offscreencontext2d-commit">
-
-<script id="myWorker" type="text/worker">
-
-function testCommitPushesContents(offscreenCanvas) {
-  try {
-    var ctx = offscreenCanvas.getContext('2d');
-    ctx.fillStyle = "#0f0";
-    ctx.fillRect(0, 0, 10, 10);
-    ctx.commit();
-    return true;
-  } catch(e) {
-    return false;
-  }
-}
-
-function testCommitException() {
-    var offscreenCanvas = new OffscreenCanvas(10, 10);
-    var ctx = offscreenCanvas.getContext('2d');
-    ctx.fillStyle = "#0f0";
-    ctx.fillRect(0, 0, 10, 10);
-    return true;
-}
-
-self.onmessage = function(e) {
-    switch (e.data.msg) {
-        case 'test1':
-            self.postMessage(testCommitPushesContents(e.data.data));
-            break;
-        case 'test2':
-            self.postMessage(testCommitException());
-            break;
-    }
-};
-
-</script>
-
-<script>
-
-function verifyPlaceholder(placeholder) {
-    var canvas = document.createElement('canvas');
-    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");
-}
-
-function makeWorker(test) {
-    var blob = new Blob([document.getElementById("myWorker").textContent]);
-    var worker = new Worker(URL.createObjectURL(blob));
-    worker.onerror = test.unreached_func("error");
-    return worker;
-}
-
-async_test(function(t) {
-    var placeholder = document.createElement('canvas');
-    placeholder.width = placeholder.height = 10;
-    var offscreenCanvas = placeholder.transferControlToOffscreen();
-    var worker = makeWorker(t);
-    worker.addEventListener('message', t.step_func_done(function(msg) {
-      assert_true(msg.data);
-      verifyPlaceholder(placeholder);
-    }));
-    worker.postMessage({msg: 'test1', data: offscreenCanvas}, [offscreenCanvas]);
-}, "Test that calling OffscreenCanvas's commit pushes its contents to its placeholder.");
-
-async_test(function(t) {
-    var worker = makeWorker(t);
-    worker.addEventListener('message', t.step_func_done(function(msg) {
-        assert_true(msg.data);
-    }));
-    worker.postMessage({msg: 'test2'});
-}, "Test that calling commit on an OffscreenCanvas that is not transferred from a HTMLCanvasElement throws an exception in a worker.");
-
-</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.html
deleted file mode 100644 (file)
index 0665f74..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/html/canvas/resources/canvas-tests.js"></script>
-<link rel="help" href="https://html.spec.whatwg.org/#dom-offscreencanvas">
-<script>
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(100, 50);
-    assert_equals(offscreenCanvas.width, 100);
-    assert_equals(offscreenCanvas.height, 50);
-
-    offscreenCanvas.width = 50;
-    offscreenCanvas.height = 100;
-    assert_equals(offscreenCanvas.width, 50);
-    assert_equals(offscreenCanvas.height, 100);
-}, "Test that calling OffscreenCanvas's constructor generates correct width and height.");
-
-test(function() {
-    var offscreenCanvas1 = new OffscreenCanvas(1, 1);
-
-    offscreenCanvas1.width = null;
-    offscreenCanvas1.height = null;
-    assert_equals(offscreenCanvas1.width, 0);
-    assert_equals(offscreenCanvas1.height, 0);
-
-    assert_throws_js(TypeError, function() { new OffscreenCanvas(-1, -1); });
-
-    var offscreenCanvas2 = new OffscreenCanvas(null, null);
-    assert_equals(offscreenCanvas2.width, 0);
-    assert_equals(offscreenCanvas2.height, 0);
-
-    assert_throws_js(TypeError, function() { offscreenCanvas2.width = -1; });
-    assert_throws_js(TypeError, function() { offscreenCanvas2.height = -1; });
-
-    var obj = {Name: "John Doe", Age: 30};
-    assert_throws_js(TypeError, function() { offscreenCanvas2.width = obj; });
-    assert_throws_js(TypeError, function() { offscreenCanvas2.height = obj; });
-    assert_throws_js(TypeError, function() { new OffscreenCanvas(obj, obj); });
-}, "Test that OffscreenCanvas constructor handles invalid arguments correctly");
-
-</script>
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.worker.js b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.constructor.worker.js
deleted file mode 100644 (file)
index 72cfb72..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// spec link: https://html.spec.whatwg.org/#dom-offscreencanvas
-
-importScripts("/resources/testharness.js");
-importScripts("/html/canvas/resources/canvas-tests.js");
-
-var t1 = async_test("Test that calling OffscreenCanvas's constructor generates correct width and height.");
-t1.step(function() {
-    var offscreenCanvas = new OffscreenCanvas(100, 50);
-    assert_equals(offscreenCanvas.width, 100);
-    assert_equals(offscreenCanvas.height, 50);
-
-    offscreenCanvas.width = 50;
-    offscreenCanvas.height = 100;
-    assert_equals(offscreenCanvas.width, 50);
-    assert_equals(offscreenCanvas.height, 100);
-    t1.done();
-});
-
-var t2 = async_test("Test that OffscreenCanvas constructor handles invalid arguments correctly in a worker");
-t2.step(function() {
-    var offscreenCanvas1 = new OffscreenCanvas(1, 1);
-
-    offscreenCanvas1.width = null;
-    offscreenCanvas1.height = null;
-    assert_equals(offscreenCanvas1.width, 0);
-    assert_equals(offscreenCanvas1.height, 0);
-
-    assert_throws_js(TypeError, function() { new OffscreenCanvas(-1, -1); });
-
-    var offscreenCanvas2 = new OffscreenCanvas(null, null);
-    assert_equals(offscreenCanvas2.width, 0);
-    assert_equals(offscreenCanvas2.height, 0);
-
-    assert_throws_js(TypeError, function() { offscreenCanvas2.width = -1; });
-    assert_throws_js(TypeError, function() { offscreenCanvas2.height = -1; });
-
-    var obj = {Name: "John Doe", Age: 30};
-    assert_throws_js(TypeError, function() { offscreenCanvas2.width = obj; });
-    assert_throws_js(TypeError, function() { offscreenCanvas2.height = obj; });
-    assert_throws_js(TypeError, function() { new OffscreenCanvas(obj, obj); });
-    t2.done();
-});
-
-done();
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.html b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.html
deleted file mode 100644 (file)
index 537b582..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/html/canvas/resources/canvas-tests.js"></script>
-<link rel="help" href="https://html.spec.whatwg.org/#dom-offscreencanvas-getcontext">
-<script>
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(1, 1);
-    assert_throws_js(TypeError, function() { offscreenCanvas.getContext('3d'); });
-}, "Test that getContext with un-supported string throws a TypeError.");
-
-test(function() {
-    var offscreenCanvas1 = new OffscreenCanvas(1, 1);
-    var ctx1 = offscreenCanvas1.getContext('2d');
-    assert_true(ctx1 instanceof OffscreenCanvasRenderingContext2D);
-
-    var offscreenCanvas2 = new OffscreenCanvas(1, 1);
-    var ctx2 = offscreenCanvas2.getContext('webgl');
-    assert_true(ctx2 instanceof WebGLRenderingContext);
-
-    var offscreenCanvas3 = new OffscreenCanvas(1, 1);
-    var ctx3 = offscreenCanvas3.getContext('webgl2');
-    assert_true(ctx3 instanceof WebGL2RenderingContext);
-}, "Test that getContext with supported string returns correct results");
-
-test(function() {
-    var offscreenCanvas1 = new OffscreenCanvas(1, 1);
-    var ctx1 = offscreenCanvas1.getContext('2d');
-    var ctx2 = offscreenCanvas1.getContext('webgl');
-    assert_equals(ctx2, null);
-
-    var offscreenCanvas2 = new OffscreenCanvas(1, 1);
-    var ctx3 = offscreenCanvas2.getContext('webgl');
-    var ctx4 = offscreenCanvas2.getContext('2d');
-    assert_equals(ctx4, null);
-}, "Test that getContext twice with different context type returns null the second time");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(1, 2);
-    var ctx = offscreenCanvas.getContext('2d');
-    var dstCanvas = ctx.canvas;
-    assert_equals(dstCanvas.width, 1);
-    assert_equals(dstCanvas.height, 2);
-}, "Test that 2dcontext.canvas should return the original OffscreenCanvas");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(1, 2);
-    var ctx = offscreenCanvas.getContext('webgl');
-    var dstCanvas = ctx.canvas;
-    assert_equals(dstCanvas.width, 1);
-    assert_equals(dstCanvas.height, 2);
-}, "Test that webglcontext.canvas should return the original OffscreenCanvas");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(10, 10);
-    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);
-}, "Test that OffscreenCanvasRenderingContext2D with alpha disabled makes the OffscreenCanvas opaque");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(10, 10);
-    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);
-}, "Test that OffscreenCanvasRenderingContext2D with alpha enabled preserves the alpha");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(10, 10);
-    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);
-}, "Test that 'alpha' context creation attribute is true by default");
-
-</script>
-
diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.worker.js b/LayoutTests/imported/w3c/web-platform-tests/html/canvas/offscreen/the-offscreen-canvas/offscreencanvas.getcontext.worker.js
deleted file mode 100644 (file)
index ad5e124..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// spec link: https://html.spec.whatwg.org/#dom-offscreencanvas-getcontext
-
-importScripts("/resources/testharness.js");
-importScripts("/html/canvas/resources/canvas-tests.js");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(1, 1);
-    assert_throws_js(TypeError, function() { offscreenCanvas.getContext('3d'); });
-}, "Test that getContext with un-supported string throws a TypeError.");
-
-test(function() {
-    var offscreenCanvas1 = new OffscreenCanvas(1, 1);
-    var ctx1 = offscreenCanvas1.getContext('2d');
-    assert_true(ctx1 instanceof OffscreenCanvasRenderingContext2D);
-
-    var offscreenCanvas2 = new OffscreenCanvas(1, 1);
-    var ctx2 = offscreenCanvas2.getContext('webgl');
-    assert_true(ctx2 instanceof WebGLRenderingContext);
-
-    var offscreenCanvas3 = new OffscreenCanvas(1, 1);
-    var ctx3 = offscreenCanvas3.getContext('webgl2');
-    assert_true(ctx3 instanceof WebGL2RenderingContext);
-}, "Test that getContext with supported string returns correct results");
-
-test(function() {
-    var offscreenCanvas1 = new OffscreenCanvas(1, 1);
-    var ctx1 = offscreenCanvas1.getContext('2d');
-    var ctx2 = offscreenCanvas1.getContext('webgl');
-    assert_equals(ctx2, null);
-
-    var offscreenCanvas2 = new OffscreenCanvas(1, 1);
-    var ctx3 = offscreenCanvas2.getContext('webgl');
-    var ctx4 = offscreenCanvas2.getContext('2d');
-    assert_equals(ctx4, null);
-}, "Test that getContext twice with different context type returns null the second time");
-
-test(function() {
-    var offscreenCanvas = new OffscreenCanvas(1, 2);