diff --git a/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-drawImage.html.ini b/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-drawImage.html.ini index 2a478cda6b3..8db1ab505b6 100644 --- a/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-drawImage.html.ini +++ b/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-drawImage.html.ini @@ -75,3 +75,108 @@ [createImageBitmap from a vector SVGImageElement with negative sw/sh, and drawImage on the created ImageBitmap] expected: FAIL + [createImageBitmap from an HTMLCanvasElement scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLCanvasElement scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLCanvasElement resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an HTMLVideoElement from a data URL with negative sw/sh, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a bitmap HTMLImageElement scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a bitmap HTMLImageElement scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a bitmap HTMLImageElement resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a vector HTMLImageElement scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a vector HTMLImageElement scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a vector HTMLImageElement resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a bitmap SVGImageElement scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a bitmap SVGImageElement scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a bitmap SVGImageElement resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a vector SVGImageElement scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a vector SVGImageElement scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a vector SVGImageElement resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an OffscreenCanvas scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an OffscreenCanvas scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an ImageData scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an ImageData scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an ImageData resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an ImageBitmap scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an ImageBitmap scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from an ImageBitmap resized, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a Blob scaled down, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a Blob scaled up, and drawImage on the created ImageBitmap] + expected: FAIL + + [createImageBitmap from a Blob resized, and drawImage on the created ImageBitmap] + expected: FAIL + diff --git a/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-invalid-args.html.ini b/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-invalid-args.html.ini index 2595ee23ece..f46fa170146 100644 --- a/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-invalid-args.html.ini +++ b/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-invalid-args.html.ini @@ -194,16 +194,16 @@ expected: FAIL [createImageBitmap with a a vector HTMLImageElement source and sw set to 0] - expected: TIMEOUT + expected: FAIL [createImageBitmap with a a vector HTMLImageElement source and sh set to 0] - expected: NOTRUN + expected: FAIL [createImageBitmap with a a vector HTMLImageElement source and oversized (unallocatable) crop region] - expected: NOTRUN + expected: FAIL [createImageBitmap with a a bitmap SVGImageElement source and sw set to 0] - expected: NOTRUN + expected: TIMEOUT [createImageBitmap with a a bitmap SVGImageElement source and sh set to 0] expected: NOTRUN @@ -238,3 +238,12 @@ [createImageBitmap with an available but zero width image source.] expected: NOTRUN + [createImageBitmap with a an HTMLVideoElement from a data URL source and sw set to 0] + expected: FAIL + + [createImageBitmap with a an HTMLVideoElement from a data URL source and sh set to 0] + expected: FAIL + + [createImageBitmap with a an HTMLVideoElement from a data URL source and oversized (unallocatable) crop region] + expected: FAIL + diff --git a/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-origin.sub.html.ini b/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-origin.sub.html.ini index a3d31b14f8e..3daeb953062 100644 --- a/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-origin.sub.html.ini +++ b/tests/wpt/metadata/2dcontext/imagebitmap/createImageBitmap-origin.sub.html.ini @@ -14,3 +14,6 @@ [unclean ImageBitmap] expected: FAIL + [redirected to cross-origin HTMLVideoElement] + expected: FAIL + diff --git a/tests/wpt/metadata/FileAPI/reading-data-section/filereader_readAsBinaryString.html.ini b/tests/wpt/metadata/FileAPI/reading-data-section/filereader_readAsBinaryString.html.ini new file mode 100644 index 00000000000..9647064f4d0 --- /dev/null +++ b/tests/wpt/metadata/FileAPI/reading-data-section/filereader_readAsBinaryString.html.ini @@ -0,0 +1,4 @@ +[filereader_readAsBinaryString.html] + [FileAPI Test: filereader_readAsBinaryString] + expected: FAIL + diff --git a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini new file mode 100644 index 00000000000..e363bfabdfc --- /dev/null +++ b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -0,0 +1,8 @@ +[url-in-tags-revoke.window.html] + expected: TIMEOUT + [Fetching a blob URL immediately before revoking it works in an iframe.] + expected: FAIL + + [Fetching a blob URL immediately before revoking it works in + + diff --git a/tests/wpt/web-platform-tests/FileAPI/url/url-in-tags-revoke.window.js b/tests/wpt/web-platform-tests/FileAPI/url/url-in-tags-revoke.window.js new file mode 100644 index 00000000000..e610e0bff28 --- /dev/null +++ b/tests/wpt/web-platform-tests/FileAPI/url/url-in-tags-revoke.window.js @@ -0,0 +1,33 @@ +async_test(t => { + const run_result = 'test_frame_OK'; + const blob_contents = '\n\n' + + ''; + const blob = new Blob([blob_contents], {type: 'text/html'}); + const url = URL.createObjectURL(blob); + + const frame = document.createElement('iframe'); + frame.setAttribute('src', url); + frame.setAttribute('style', 'display:none;'); + document.body.appendChild(frame); + URL.revokeObjectURL(url); + + frame.onload = t.step_func_done(() => { + assert_equals(frame.contentWindow.test_result, run_result); + }); +}, 'Fetching a blob URL immediately before revoking it works in an iframe.'); + +async_test(t => { + const run_result = 'test_script_OK'; + const blob_contents = 'window.script_test_result = "' + run_result + '";'; + const blob = new Blob([blob_contents]); + const url = URL.createObjectURL(blob); + + const e = document.createElement('script'); + e.setAttribute('src', url); + e.onload = t.step_func_done(() => { + assert_equals(window.script_test_result, run_result); + }); + + document.body.appendChild(e); + URL.revokeObjectURL(url); +}, 'Fetching a blob URL immediately before revoking it works in + + + + +
+ + +
+ + + diff --git a/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-allowed-target-frame.sub.html b/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-allowed-target-frame.sub.html new file mode 100644 index 00000000000..81921d395e3 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-allowed-target-frame.sub.html @@ -0,0 +1,34 @@ + + + + form-action-src-allowed-target-frame + + + + + + +
+ + +
+ + + + diff --git a/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-redirect-allowed-target-blank.sub.html b/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-redirect-allowed-target-blank.sub.html new file mode 100644 index 00000000000..41c68b68f9e --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-redirect-allowed-target-blank.sub.html @@ -0,0 +1,34 @@ + + + + form-action-src-redirect-allowed-target-blank + + + + + + +
+ +
+ + + diff --git a/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-redirect-allowed-target-frame.sub.html b/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-redirect-allowed-target-frame.sub.html new file mode 100644 index 00000000000..6afd4459b0f --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/form-action/form-action-src-redirect-allowed-target-frame.sub.html @@ -0,0 +1,34 @@ + + + + form-action-src-redirect-allowed-target-frame + + + + + + +
+ +
+ + + + diff --git a/tests/wpt/web-platform-tests/content-security-policy/form-action/support/post-message-to-opener.sub.html b/tests/wpt/web-platform-tests/content-security-policy/form-action/support/post-message-to-opener.sub.html new file mode 100644 index 00000000000..0348139057d --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/form-action/support/post-message-to-opener.sub.html @@ -0,0 +1,3 @@ + diff --git a/tests/wpt/web-platform-tests/content-security-policy/form-action/support/post-message-to-parent.sub.html b/tests/wpt/web-platform-tests/content-security-policy/form-action/support/post-message-to-parent.sub.html new file mode 100644 index 00000000000..63e464be21a --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/form-action/support/post-message-to-parent.sub.html @@ -0,0 +1,3 @@ + diff --git a/tests/wpt/web-platform-tests/content-security-policy/reporting/report-multiple-violations-02.html b/tests/wpt/web-platform-tests/content-security-policy/reporting/report-multiple-violations-02.html index f604e75cb89..d9f7da33388 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/reporting/report-multiple-violations-02.html +++ b/tests/wpt/web-platform-tests/content-security-policy/reporting/report-multiple-violations-02.html @@ -12,7 +12,7 @@ diff --git a/tests/wpt/web-platform-tests/content-security-policy/support/dedicated-worker-helper.js b/tests/wpt/web-platform-tests/content-security-policy/support/dedicated-worker-helper.js new file mode 100644 index 00000000000..c1ed208e931 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/support/dedicated-worker-helper.js @@ -0,0 +1,2 @@ +var url = new URL("../support/ping.js", document.baseURI).toString(); +assert_worker_is_loaded(url, document.getElementById("foo").getAttribute("data-desc-fallback")); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/support/service-worker-helper.js b/tests/wpt/web-platform-tests/content-security-policy/support/service-worker-helper.js new file mode 100644 index 00000000000..4e8f8b5f5d2 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/support/service-worker-helper.js @@ -0,0 +1,2 @@ +var url = new URL("../support/ping.js", document.baseURI).toString(); +assert_service_worker_is_loaded(url, document.getElementById("foo").getAttribute("data-desc-fallback")); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/support/shared-worker-helper.js b/tests/wpt/web-platform-tests/content-security-policy/support/shared-worker-helper.js new file mode 100644 index 00000000000..d0637ec4717 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/support/shared-worker-helper.js @@ -0,0 +1,2 @@ +var url = new URL("../support/ping.js", document.baseURI).toString(); +assert_shared_worker_is_loaded(url, document.getElementById("foo").getAttribute("data-desc-fallback")); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-child-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-child-fallback.sub.html new file mode 100644 index 00000000000..9c37dfb6301 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-child-fallback.sub.html @@ -0,0 +1,9 @@ + + +Web platform test for dedicated worker allowed by child-src self + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-default-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-default-fallback.sub.html new file mode 100644 index 00000000000..5bded3f59a0 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-default-fallback.sub.html @@ -0,0 +1,8 @@ + + +Web platform test for dedicated worker allowed by default-src self + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-script-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-script-fallback.sub.html new file mode 100644 index 00000000000..ca922076762 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-script-fallback.sub.html @@ -0,0 +1,8 @@ + + +Web platform test for dedicated worker allowed by script-src self + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-self-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-self-fallback.sub.html new file mode 100644 index 00000000000..06e79db0062 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/dedicated-worker-src-self-fallback.sub.html @@ -0,0 +1,9 @@ + + +Web platform test for dedicated worker allowed by worker-src self + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-child-fallback.https.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-child-fallback.https.sub.html new file mode 100644 index 00000000000..0053b1098aa --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-child-fallback.https.sub.html @@ -0,0 +1,9 @@ + + +Web platform test for service worker allowed by child-src self + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-default-fallback.https.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-default-fallback.https.sub.html new file mode 100644 index 00000000000..f9df743909f --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-default-fallback.https.sub.html @@ -0,0 +1,8 @@ + + +Web platform test for service worker allowed by default-src self + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-script-fallback.https.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-script-fallback.https.sub.html new file mode 100644 index 00000000000..ce03f24f176 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-script-fallback.https.sub.html @@ -0,0 +1,8 @@ + + +Web platform test for service worker allowed by script-src self + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-self-fallback.https.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-self-fallback.https.sub.html new file mode 100644 index 00000000000..58bc8cdb7a7 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/service-worker-src-self-fallback.https.sub.html @@ -0,0 +1,9 @@ + + +Web platform test for service worker allowed by worker-src self + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-child-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-child-fallback.sub.html new file mode 100644 index 00000000000..53510852ef0 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-child-fallback.sub.html @@ -0,0 +1,9 @@ + + +Web platform test for shared worker allowed by child-src self + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-default-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-default-fallback.sub.html new file mode 100644 index 00000000000..4a07db76aae --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-default-fallback.sub.html @@ -0,0 +1,8 @@ + + +Web platform test for shared worker allowed by default-src self + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-script-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-script-fallback.sub.html new file mode 100644 index 00000000000..0a854da3ad2 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-script-fallback.sub.html @@ -0,0 +1,8 @@ + + +Web platform test for shared worker allowed by script-src self + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-self-fallback.sub.html b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-self-fallback.sub.html new file mode 100644 index 00000000000..353a3a0d51b --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/worker-src/shared-worker-src-self-fallback.sub.html @@ -0,0 +1,9 @@ + + +Web platform test for shared worker allowed by worker-src self + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/css-fonts/font-feature-settings-serialization-001.html b/tests/wpt/web-platform-tests/css/css-fonts/font-feature-settings-serialization-001.html index 025afa2e963..bccc3cf202f 100644 --- a/tests/wpt/web-platform-tests/css/css-fonts/font-feature-settings-serialization-001.html +++ b/tests/wpt/web-platform-tests/css/css-fonts/font-feature-settings-serialization-001.html @@ -20,7 +20,7 @@ const div = document.querySelector("#test"); const div1 = document.querySelector("#test1"); test(function() { - assert_equals(getComputedStyle(div).fontFeatureSettings, '"vert" 1'); - assert_equals(getComputedStyle(div1).fontFeatureSettings, '"vert" 1'); - }, "font-feature-settings should have its feature tag serialized with double quotes"); + assert_equals(getComputedStyle(div).fontFeatureSettings, '"vert"'); + assert_equals(getComputedStyle(div1).fontFeatureSettings, '"vert"'); + }, "font-feature-settings should be serialized with double quotes, and the default value of 1 should be omitted"); diff --git a/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-001.html b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-001.html new file mode 100644 index 00000000000..975360f4c14 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-001.html @@ -0,0 +1,75 @@ + + +CSS Grid Layout Test: Self-Alignment along column axis of stcky positioned items + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-002.html b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-002.html new file mode 100644 index 00000000000..357cbe13e25 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-002.html @@ -0,0 +1,75 @@ + + +CSS Grid Layout Test: Self-Alignment along column axis of stcky positioned items + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-001.html b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-001.html new file mode 100644 index 00000000000..31d06b80621 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-001.html @@ -0,0 +1,75 @@ + + +CSS Grid Layout Test: Self-Alignment along row axis of stcky positioned items + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-002.html b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-002.html new file mode 100644 index 00000000000..cf14691161a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-002.html @@ -0,0 +1,75 @@ + + +CSS Grid Layout Test: Self-Alignment along row axis of stcky positioned items + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/tests/wpt/web-platform-tests/css/css-grid/grid-items/anonymous-grid-item-001.html b/tests/wpt/web-platform-tests/css/css-grid/grid-items/anonymous-grid-item-001.html new file mode 100644 index 00000000000..db88ce54b38 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-grid/grid-items/anonymous-grid-item-001.html @@ -0,0 +1,8 @@ + + +CSS Grid Test: Anonymous grid items - non-contiguous text runs - position:absolute + + + +

The words "Two" and "lines" should not be on the same line.

+
Two lines
diff --git a/tests/wpt/web-platform-tests/css/css-scroll-snap/snap-at-user-scroll-end-manual.html b/tests/wpt/web-platform-tests/css/css-scroll-snap/snap-at-user-scroll-end-manual.html new file mode 100644 index 00000000000..d1e4be5a20a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-scroll-snap/snap-at-user-scroll-end-manual.html @@ -0,0 +1,86 @@ + + +Tests that window should snap at user scroll end. + + + + +
+
+

CSSScrollSnap

+

Tests that the window can snap at user scroll end.

+
    +
  1. + Scroll the page vertically and horizontally. + Keep scrolling until background has turned yellow.
  2. +
  3. Press the button "Done"
  4. +
+ +
+
+ + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/css-shapes/parsing/shape-outside-invalid-position.html b/tests/wpt/web-platform-tests/css/css-shapes/parsing/shape-outside-invalid-position.html new file mode 100644 index 00000000000..4815402949a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/parsing/shape-outside-invalid-position.html @@ -0,0 +1,28 @@ + + + + +CSS Shapes Module Level 1: parsing shape-outside with invalid position values + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/parsing/shape-outside-valid-position.html b/tests/wpt/web-platform-tests/css/css-shapes/parsing/shape-outside-valid-position.html new file mode 100644 index 00000000000..ca01b352b63 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/parsing/shape-outside-valid-position.html @@ -0,0 +1,36 @@ + + + + +CSS Shapes Module Level 1: parsing shape-outside with valid position values + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-1-ref.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-1-ref.html new file mode 100644 index 00000000000..8a568d25d92 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-1-ref.html @@ -0,0 +1,90 @@ + + + + + Individual transform: compare individual transform with transform functions + + + + + + + +
+
+
+
+
+
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-1.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-1.html new file mode 100644 index 00000000000..4f83e2eac47 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-1.html @@ -0,0 +1,100 @@ + + + + + Individual transform: compare individual transform with transform functions + + + + + + + + +
+
+
+
+
+
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2-ref.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2-ref.html new file mode 100644 index 00000000000..ee956aa301f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2-ref.html @@ -0,0 +1,30 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2a.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2a.html new file mode 100644 index 00000000000..3f6c97386ba --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2a.html @@ -0,0 +1,32 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2b.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2b.html new file mode 100644 index 00000000000..94dac2f10ff --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2b.html @@ -0,0 +1,32 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2c.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2c.html new file mode 100644 index 00000000000..f84ae228065 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2c.html @@ -0,0 +1,32 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2d.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2d.html new file mode 100644 index 00000000000..5b5694f544e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2d.html @@ -0,0 +1,31 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2e.html b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2e.html new file mode 100644 index 00000000000..0350137bede --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2e.html @@ -0,0 +1,31 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child-ref.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child-ref.html new file mode 100644 index 00000000000..7e1ac99ba89 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child-ref.html @@ -0,0 +1,38 @@ + + +CSS Test (Transforms): Transformed tr with percent height abspos child reference. + + + +
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child.html new file mode 100644 index 00000000000..91f2a5f0588 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child.html @@ -0,0 +1,48 @@ + + +CSS Test (Transforms): Transformed tr with percent height abspos child. + + + + + + +
+ + + + + + + + +
+
diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/interfaces.html b/tests/wpt/web-platform-tests/css/css-typed-om/interfaces.html new file mode 100644 index 00000000000..e5a3638b8e6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/interfaces.html @@ -0,0 +1,28 @@ + + +CSS Typed OM IDL + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssMathValue.tentative.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssMathValue.tentative.html index 814812e6a8d..fd9fce861ef 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssMathValue.tentative.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssMathValue.tentative.html @@ -1,8 +1,6 @@ IDL-constructed CSSMathValue serialization tests - @@ -11,70 +9,105 @@ 'use strict'; const gTestCases = [ - { - description: 'CSSMathSum with 1 argument', - value: new CSSMathSum(CSS.px(1)), - cssText: 'calc(1px)', - }, - { - description: 'CSSMathSum with 2 arguments', - value: new CSSMathSum(CSS.px(1), CSS.px(2)), - cssText: 'calc(1px + 2px)', - }, - { - description: 'CSSMathSum with more than 2 arguments', - value: new CSSMathSum(CSS.px(1), CSS.px(2), CSS.px(3)), - cssText: 'calc((1px + 2px) + 3px)', - }, - { - description: 'CSSMathProduct with 1 argument', - value: new CSSMathProduct(CSS.px(1)), - cssText: 'calc(1px)', - }, - { - description: 'CSSMathProduct with 2 arguments', - value: new CSSMathProduct(CSS.px(1), 2), - cssText: 'calc(1px * 2)', - }, - { - description: 'CSSMathProduct with more than 2 arguments', - value: new CSSMathProduct(CSS.px(1), 2, 3), - cssText: 'calc((1px * 2) * 3)', - }, - { - description: 'CSSMathProduct of two different base types', - value: new CSSMathProduct(CSS.px(1), CSS.s(1)), - cssText: 'calc(1px * 1s)', - }, { description: 'CSSMathMax with one argument', - value: new CSSMathMax(CSS.px(2)), - cssText: 'max(1px)', + value: new CSSMathMax(1), + cssText: 'max(1)', }, { description: 'CSSMathMax with more than one argument', - value: new CSSMathMax(CSS.px(2), CSS.px(1)), - cssText: 'max(1px, 1s)', + value: new CSSMathMax(1, 2, 3), + cssText: 'max(1, 2, 3)', + }, + { + description: 'CSSMathMax containing nested CSSMathValues', + value: new CSSMathMax(new CSSMathSum(1, 2), 3), + cssText: 'max(1 + 2, 3)', }, { description: 'CSSMathMin with one argument', - value: new CSSMathMin(CSS.px(1)), - cssText: 'min(1px)', + value: new CSSMathMin(1), + cssText: 'min(1)', }, { description: 'CSSMathMin with more than one argument', - value: new CSSMathMin(CSS.px(1), CSS.px(2)), - cssText: 'min(1px, 2px)', + value: new CSSMathMin(1, 2, 3), + cssText: 'min(1, 2, 3)', + }, + { + description: 'CSSMathMin containing nested CSSMathValues', + value: new CSSMathMin(new CSSMathSum(1, 2), 3), + cssText: 'min(1 + 2, 3)', + }, + { + description: 'CSSMathSum with one argument', + value: new CSSMathSum(1), + cssText: 'calc(1)', + }, + { + description: 'CSSMathSum with more than one argument', + value: new CSSMathSum(1, 2, 3), + cssText: 'calc(1 + 2 + 3)', + }, + { + description: 'CSSMathSum with a CSSMathNegate as first value', + value: new CSSMathSum(new CSSMathNegate(1), 2, 3), + cssText: 'calc((-1) + 2 + 3)', + }, + { + description: 'CSSMathSum containing a CSSMathNegate after first value', + value: new CSSMathSum(1, new CSSMathNegate(2), 3), + cssText: 'calc(1 - 2 + 3)', + }, + { + description: 'CSSMathSum nested inside a CSSMathValue', + value: new CSSMathSum(new CSSMathSum(1, 2), 3), + cssText: 'calc((1 + 2) + 3)', }, { description: 'CSSMathNegate', - value: new CSSMathNegate(CSS.px(1)), - cssText: 'calc(- 1px)', + value: new CSSMathNegate(1), + cssText: 'calc(-1)', + }, + { + description: 'CSSMathNegate nested inside a CSSMathValue', + value: new CSSMathProduct(new CSSMathNegate(1)), + cssText: 'calc((-1))', + }, + { + description: 'CSSMathProduct with one argument', + value: new CSSMathProduct(1), + cssText: 'calc(1)', + }, + { + description: 'CSSMathProduct with more than one argument', + value: new CSSMathProduct(1, 2, 3), + cssText: 'calc(1 * 2 * 3)', + }, + { + description: 'CSSMathProduct with a CSSMathInvert as first value', + value: new CSSMathProduct(new CSSMathInvert(1), 2, 3), + cssText: 'calc((1 / 1) * 2 * 3)', + }, + { + description: 'CSSMathProduct containing a CSSMathInvert after first value', + value: new CSSMathProduct(1, new CSSMathInvert(2), 3), + cssText: 'calc(1 / 2 * 3)', + }, + { + description: 'CSSMathProduct nested inside a CSSMathValue', + value: new CSSMathProduct(new CSSMathProduct(1, 2), 3), + cssText: 'calc((1 * 2) * 3)', }, { description: 'CSSMathInvert', - value: new CSSMathInvert(CSS.px(1)), - cssText: 'calc(1 / 1px)', + value: new CSSMathInvert(1), + cssText: 'calc(1 / 1)', + }, + { + description: 'CSSMathInvert nested inside a CSSMathValue', + value: new CSSMathSum(new CSSMathInvert(1)), + cssText: 'calc((1 / 1))', }, ]; diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssUnitValue.tentative.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssUnitValue.tentative.html index 652e0e61350..fc798ddbbfa 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssUnitValue.tentative.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssUnitValue.tentative.html @@ -34,22 +34,10 @@ test(() => { assert_equals(result.toString(), '3.14px'); }, 'CSSKeywordValue from DOMString modified by "value" setter serializes correctly'); -test(() => { - let result = CSSStyleValue.parse('width', '1px'); - result.unit = 's'; - assert_equals(result.toString(), '1s'); -}, 'CSSKeywordValue from DOMString modified by "unit" setter serializes correctly'); - test(t => { let result = createInlineStyleMap(t, 'width: 1px').get('width'); result.value = 3.14; assert_equals(result.toString(), '3.14px'); }, 'CSSKeywordValue from CSSOM modified by "value" setter serializes correctly'); -test(t => { - let result = createInlineStyleMap(t, 'width: 1px').get('width'); - result.unit = 's'; - assert_equals(result.toString(), '1s'); -}, 'CSSKeywordValue from CSSOM modified by "unit" setter serializes correctly'); - diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssPositionValue-interface.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssPositionValue-interface.html deleted file mode 100644 index 0ea8632ce48..00000000000 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssPositionValue-interface.html +++ /dev/null @@ -1,26 +0,0 @@ - - -CSSPositionValue IDL - - - - - - - diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-interface.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-interface.html deleted file mode 100644 index b20d0549b39..00000000000 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-interface.html +++ /dev/null @@ -1,30 +0,0 @@ - - -CSSUnparsedValue IDL - - - - - - - diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-interface.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue-interface.html similarity index 61% rename from tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-interface.html rename to tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue-interface.html index 444e08093ed..ed86054026f 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-interface.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue-interface.html @@ -1,24 +1,22 @@ -CSSKeywordValue IDL - +CSSURLImageValue IDL + diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue-invalid.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue-invalid.html new file mode 100644 index 00000000000..8d6370a223a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue-invalid.html @@ -0,0 +1,17 @@ + + +CSSURLImageValue Error Handling + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue.html new file mode 100644 index 00000000000..5025859d1bb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue.html @@ -0,0 +1,81 @@ + + +CSSURLImageValue + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue.tentative.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue.tentative.html deleted file mode 100644 index 0f0625b4231..00000000000 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssUrlImageValue.tentative.html +++ /dev/null @@ -1,73 +0,0 @@ - - -CSSURLImageValue tests - - - - - - diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-interface.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-interface.html deleted file mode 100644 index 15db3276fb4..00000000000 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-interface.html +++ /dev/null @@ -1,26 +0,0 @@ - - -CSSVariableReferenceValue IDL - - - - - - - diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html index 4ba27517976..d58bb075ce2 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html @@ -144,4 +144,10 @@ test(() => { new CSSMathProduct(CSS.number(2), CSS.number(0.5), new CSSMathInvert(CSS.px(2)), CSS.number(2), new CSSMathInvert(new CSSMathSum(2)))); }, 'Calling CSSNumericValue.div inverts all argument values'); +test(() => { + assert_throws(new RangeError(), () => CSS.number(2).div(CSS.number(0))); + assert_throws(new RangeError(), () => CSS.number(3).div(CSS.px(10) ,CSS.number(0))); + assert_throws(new RangeError(), () => CSS.number(2).div(CSS.number(0), CSS.number(0))); +}, 'Can not divide with CSSUnitValue which has zero value and number type'); + diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.tentative.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.tentative.html index 9e7401293e3..24769b3774e 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.tentative.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.tentative.html @@ -19,26 +19,12 @@ for (const {unit, desc} of gInvalidTestUnits) { }, 'Constructing CSSUnitValue with ' + desc + ' as the unit throws a TypeError'); } -for (const {unit, desc} of gInvalidTestUnits) { - test(() => { - let result = new CSSUnitValue(0, 'px'); - assert_throws(new TypeError(), () => result.unit = unit); - assert_equals(result.unit, 'px'); - }, 'Updating CSSUnitValue.unit with ' + desc + ' throws a TypeError'); -} - for (const unit of gValidUnits) { test(() => { const result = new CSSUnitValue(-3.14, unit); assert_equals(result.value, -3.14); assert_equals(result.unit, unit.toLowerCase()); }, 'CSSUnitValue can be constructed with ' + unit); - - test(() => { - let result = new CSSUnitValue(-3.14, 'px'); - result.unit = unit - assert_equals(result.unit, unit.toLowerCase()); - }, 'CSSUnitValue.unit can be updated to ' + unit); } diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/interface.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/interface.html deleted file mode 100644 index 6e0301093b1..00000000000 --- a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/interface.html +++ /dev/null @@ -1,47 +0,0 @@ - - -StylePropertyMap IDL - - - - - - - diff --git a/tests/wpt/web-platform-tests/css/selectors/invalidation/matches.html b/tests/wpt/web-platform-tests/css/selectors/invalidation/matches.html index 6fd5b1fc6d9..ae5531ac5ca 100644 --- a/tests/wpt/web-platform-tests/css/selectors/invalidation/matches.html +++ b/tests/wpt/web-platform-tests/css/selectors/invalidation/matches.html @@ -1,7 +1,7 @@ - CSS Selectors Invalidation: :any-link + CSS Selectors Invalidation: :matches() @@ -9,15 +9,38 @@ @@ -38,29 +61,73 @@
Blue
+
+
+ Blue +
+ Red +
+
+
+
+ Black +
+
+
+
+ Red +
\ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001-ref.html index 0b87de98813..6d197e490fe 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001-ref.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001.html index 3fa15f1d645..99cfcbb9b4e 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-001.html @@ -54,6 +54,10 @@

+ +
+
+
@@ -76,6 +80,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002-ref.html index 592cf8933c0..741a795f20e 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002-ref.html @@ -51,6 +51,10 @@

+ +
+
+
@@ -73,6 +77,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002.html index 8db71d35221..b82d308af1b 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-002.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001-ref.html index 2fcc585581a..78d621219ab 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001-ref.html @@ -54,6 +54,12 @@

+ +
+
+
@@ -88,6 +94,12 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001.html index ad392ccc213..fdd4f6220be 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-001.html @@ -53,6 +53,12 @@

+ +
+
+
@@ -87,6 +93,12 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002-ref.html index 65badb02a48..a1d4e8163fd 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002-ref.html @@ -52,6 +52,12 @@

+ +
+
+
@@ -86,6 +92,12 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002.html index c1747102918..61c1b97b51f 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-img-002.html @@ -52,6 +52,12 @@

+ +
+
+
@@ -86,6 +92,12 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001-ref.html index a2899e07fea..8e5db1efc59 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001-ref.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001.html index a0a57aee0a8..18e024bf2e8 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-001.html @@ -54,6 +54,10 @@

+ +
+
+
@@ -76,6 +80,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002-ref.html index 06312f500b5..c7176a7c210 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002-ref.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002.html index a309859b5b4..d7e510e1b5e 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-002.html @@ -55,6 +55,10 @@

+ +
+
+
@@ -77,6 +81,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003-ref.html index 9c243ac5f36..b38590c8021 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003-ref.html @@ -51,6 +51,10 @@

+ +
+
+
@@ -73,6 +77,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003.html index 19cf377cad2..2224ff684af 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-003.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004-ref.html index 3cbad644b49..1ebc9e62c97 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004-ref.html @@ -51,6 +51,10 @@

+ +
+
+
@@ -73,6 +77,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004.html index f8170a80d37..a22fdc24fb7 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-rtl-004.html @@ -54,6 +54,10 @@

+ +
+
+
@@ -76,6 +80,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001-ref.html index 0b40e42550b..9fff3eabcc0 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001-ref.html @@ -55,6 +55,10 @@

+ +
+
+
@@ -77,6 +81,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001.html index d3ce4007d91..1bc2a5c3386 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-001.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002-ref.html index 0b40e42550b..9fff3eabcc0 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002-ref.html @@ -55,6 +55,10 @@

+ +
+
+
@@ -77,6 +81,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002.html index 03078a6b448..7b72c6aaeb1 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-002.html @@ -54,6 +54,10 @@

+ +
+
+
@@ -76,6 +80,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003-ref.html index ecc148a3215..15507845661 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003-ref.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003.html index e6a712d00da..582262bd3de 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-003.html @@ -52,6 +52,10 @@

+ +
+
+
@@ -74,6 +78,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004-ref.html index ecc148a3215..15507845661 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004-ref.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004.html index 070829ba8c6..63c893b6c4f 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/align3/grid-abspos-staticpos-justify-self-vertWM-004.html @@ -53,6 +53,10 @@

+ +
+
+
@@ -75,6 +79,10 @@

+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004-ref.xhtml b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004-ref.xhtml index 00db4823e35..245e6f9e3c9 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004-ref.xhtml +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004-ref.xhtml @@ -4,8 +4,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ --> @@ -21,27 +20,11 @@ } div.height50 { height: 50px; } - .marginA { margin: 0 8% 0 4%; } - .marginB { margin: 0 10% 0 14%; } - .paddingA { padding: 0 6% 0 2%; } - .paddingB { padding: 0 8% 0 12%; } + .marginA { margin: 20px 16px 12px 8px; } + .marginB { margin: 16px 20px 24px 28px; } + .paddingA { padding: 16px 12px 8px 4px; } + .paddingB { padding: 12px 16px 20px 24px; } - div.height50 > .marginA { - margin-top: 5px; - margin-bottom: 3px; - } - div.height50 > .marginB { - margin-top: 4px; - margin-bottom: 6px; - } - div.height50 > .paddingA { - padding-top: 4px; - padding-bottom: 2px; - } - div.height50 > .paddingB { - padding-top: 3px; - padding-bottom: 5px; - } div.child1 { flex: none; diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004.xhtml b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004.xhtml index 545e54f71d2..b513253fd19 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004.xhtml +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-mbp-horiz-004.xhtml @@ -3,19 +3,17 @@ Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> - CSS Test: Testing percent-valued padding and margin on flex items - + - +
- +
+CSS Test Reference: breaking of column rule + + + + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/multicol3/broken-column-rule-1.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/multicol3/broken-column-rule-1.html new file mode 100644 index 00000000000..13deaa72cb7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/multicol3/broken-column-rule-1.html @@ -0,0 +1,34 @@ + +CSS Test: breaking of column rule + + + + + + +
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/multicol3/reftest.list b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/multicol3/reftest.list index 52e87560ed4..35102af64b6 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/multicol3/reftest.list +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/multicol3/reftest.list @@ -1,2 +1,3 @@ +== broken-column-rule-1.html broken-column-rule-1-ref.html == moz-multicol3-column-balancing-break-inside-avoid-1.html moz-multicol3-column-balancing-break-inside-avoid-1-ref.html == multicol-height-002.xht reference/multicol-height-002.xht diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-1-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-1-ref.html new file mode 100644 index 00000000000..8a568d25d92 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-1-ref.html @@ -0,0 +1,90 @@ + + + + + Individual transform: compare individual transform with transform functions + + + + + + + +
+
+
+
+
+
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-1.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-1.html new file mode 100644 index 00000000000..4f83e2eac47 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-1.html @@ -0,0 +1,100 @@ + + + + + Individual transform: compare individual transform with transform functions + + + + + + + + +
+
+
+
+
+
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2-ref.html new file mode 100644 index 00000000000..ee956aa301f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2-ref.html @@ -0,0 +1,30 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2a.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2a.html new file mode 100644 index 00000000000..3f6c97386ba --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2a.html @@ -0,0 +1,32 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2b.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2b.html new file mode 100644 index 00000000000..94dac2f10ff --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2b.html @@ -0,0 +1,32 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2c.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2c.html new file mode 100644 index 00000000000..f84ae228065 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2c.html @@ -0,0 +1,32 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2d.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2d.html new file mode 100644 index 00000000000..5b5694f544e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2d.html @@ -0,0 +1,31 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2e.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2e.html new file mode 100644 index 00000000000..0350137bede --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/individual-transform-2e.html @@ -0,0 +1,31 @@ + + + + + Individual transform: combine individual transform properties + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/reftest.list b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/reftest.list index 4bc525b0bd4..ef1d7aa77c6 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/reftest.list +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/transforms/reftest.list @@ -4,3 +4,12 @@ == perspective-containing-block-dynamic-1b.html containing-block-dynamic-1-ref.html == perspective-zero.html reference/green.html == perspective-zero-2.html perspective-zero-2-ref.html + +# stylo-vs-gecko comparison fails since we support individual transform on new +# style system only. +== individual-transform-1.html individual-transform-1-ref.html +== individual-transform-2a.html individual-transform-2-ref.html +== individual-transform-2b.html individual-transform-2-ref.html +== individual-transform-2c.html individual-transform-2-ref.html +== individual-transform-2d.html individual-transform-2-ref.html +== individual-transform-2e.html individual-transform-2-ref.html diff --git a/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html b/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html index 52a68e8e178..97a56595502 100644 --- a/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html +++ b/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html @@ -342,6 +342,18 @@ test(function () { }, 'document.createElement must report an exception thrown by a custom element constructor'); +test(() => { + class MyElement extends HTMLDivElement {} + + // createElement with unknown 'is' should not throw. + // https://github.com/w3c/webcomponents/issues/608 + let div = document.createElement('div', { is: 'my-div' }); + assert_false(div instanceof MyElement); + + customElements.define('my-div', MyElement, { extends: 'div' }); + document.body.appendChild(div); + assert_true(div instanceof MyElement, 'Undefined element is upgraded on connecting to a document'); +}, 'document.createElement with unknown "is" value should create "undefined" state element'); diff --git a/tests/wpt/web-platform-tests/custom-elements/reactions/CSSStyleDeclaration.html b/tests/wpt/web-platform-tests/custom-elements/reactions/CSSStyleDeclaration.html index bf9e00ab528..95274d8c757 100644 --- a/tests/wpt/web-platform-tests/custom-elements/reactions/CSSStyleDeclaration.html +++ b/tests/wpt/web-platform-tests/custom-elements/reactions/CSSStyleDeclaration.html @@ -26,13 +26,17 @@ test_mutating_style_property_priority(function (instance, propertyName, idlName, instance.style.setProperty(propertyName, instance.style[idlName], isImportant ? 'important': ''); }, 'setProperty on CSSStyleDeclaration'); -test_mutating_style_property_value(function (instance, propertyName, idlName, value) { - instance.style.setPropertyValue(propertyName, value); -}, 'setPropertyValue on CSSStyleDeclaration'); +if (CSSStyleDeclaration.prototype.setPropertyValue) { + test_mutating_style_property_value(function (instance, propertyName, idlName, value) { + instance.style.setPropertyValue(propertyName, value); + }, 'setPropertyValue on CSSStyleDeclaration'); +} -test_mutating_style_property_priority(function (instance, propertyName, idlName, isImportant) { - instance.style.setPropertyPriority(propertyName, isImportant ? 'important': ''); -}, 'setPropertyPriority on CSSStyleDeclaration'); +if (CSSStyleDeclaration.prototype.setPropertyPriority) { + test_mutating_style_property_priority(function (instance, propertyName, idlName, isImportant) { + instance.style.setPropertyPriority(propertyName, isImportant ? 'important': ''); + }, 'setPropertyPriority on CSSStyleDeclaration'); +} test_removing_style_property_value(function (instance, propertyName, idlName) { instance.style.removeProperty(propertyName); diff --git a/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLElement.html b/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLElement.html index bce4ef1627c..5fe422cdfc1 100644 --- a/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLElement.html +++ b/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLElement.html @@ -22,8 +22,6 @@ testReflectBooleanAttribute('hidden', 'hidden', 'hidden on HTMLElement'); testReflectAttribute('tabIndex', 'tabindex', '0', '1', 'tabIndex on HTMLElement'); testReflectAttribute('accessKey', 'accesskey', 'a', 'b', 'accessKey on HTMLElement'); testReflectAttributeWithContentValues('draggable', 'draggable', true, 'true', false, 'false', 'draggable on HTMLElement'); -testReflectAttribute('dropzone', 'dropzone', 'copy', 'move', 'dropzone on HTMLElement'); -testReflectAttribute('contextMenu', 'contextmenu', 'menu1', 'menu2', 'contextMenu on HTMLElement'); testReflectAttributeWithContentValues('spellcheck', 'spellcheck', true, 'true', false, 'false', 'spellcheck on HTMLElement'); testNodeDisconnector(function (customElement) { diff --git a/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLInputElement.html b/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLInputElement.html index 8193d2c57f7..dc4b22a22ee 100644 --- a/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLInputElement.html +++ b/tests/wpt/web-platform-tests/custom-elements/reactions/HTMLInputElement.html @@ -11,51 +11,56 @@ diff --git a/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md b/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md index f707995033d..62a2028eb4e 100644 --- a/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md +++ b/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md @@ -1,6 +1,10 @@ To run WPT on Chrome on an android device, some additional set up is required. -First until we find a better way, we need to root the android device and update -the /etc/hosts file to include + +First of all, as usual Android development, we need to have `adb` and be able to +connect to the device. + +Furthermore, until we find a better way, we need to root the android device and +update the /etc/hosts file to include ``` 127.0.0.1 web-platform.test @@ -12,22 +16,6 @@ the /etc/hosts file to include 0.0.0.0 nonexistent-origin.web-platform.test ``` -Next, we need to start adb and reverse forward the web-platform.tests ports - -``` -adb start-server -``` - -Add any ports that you need based on your config. For example: -``` -adb reverse tcp:8000 tcp:8000 -adb reverse tcp:8001 tcp:8001 -adb reverse tcp:8081 tcp:8081 -adb reverse tcp:8444 tcp:8444 -adb reverse tcp:9001 tcp:9001 -adb reverse tcp:9444 tcp:9444 -``` - After this, we may run wpt with the `chrome_android` product ``` diff --git a/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/image-click-form-data.html b/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/image-click-form-data.html new file mode 100644 index 00000000000..87b77e4805d --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/image-click-form-data.html @@ -0,0 +1,28 @@ + + +Check form-data for image submit button with non-empty 'value' attribute + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/resources/image-submit-click.html b/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/resources/image-submit-click.html new file mode 100644 index 00000000000..8461a03d7a5 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/resources/image-submit-click.html @@ -0,0 +1,15 @@ + +
+ +
+ + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html b/tests/wpt/web-platform-tests/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html index 109b10ead44..17cc35c21b0 100644 --- a/tests/wpt/web-platform-tests/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html +++ b/tests/wpt/web-platform-tests/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html @@ -33,7 +33,7 @@ test(function() { // reason is passed. var r = new Error(); assert_equals(new PromiseRejectionEvent('eventType', { promise: p, reason: r }).reason, r); - + assert_equals(new PromiseRejectionEvent('eventType', { promise: p, reason: null }).reason, null); // All initializers are passed. assert_equals(new PromiseRejectionEvent('eventType', { bubbles: true, cancelable: true, promise: p, reason: r }).bubbles, true); diff --git a/tests/wpt/web-platform-tests/interfaces/css-typed-om.idl b/tests/wpt/web-platform-tests/interfaces/css-typed-om.idl new file mode 100644 index 00000000000..64df3c16139 --- /dev/null +++ b/tests/wpt/web-platform-tests/interfaces/css-typed-om.idl @@ -0,0 +1,338 @@ +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +interface CSSStyleValue { + stringifier; + [Exposed=Window] static CSSStyleValue parse(DOMString property, DOMString cssText); + [Exposed=Window] static sequence parseAll(DOMString property, DOMString cssText); +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +interface StylePropertyMapReadOnly { + readonly maplike>; + any get(DOMString property); + /* 'any' means (undefined or CSSStyleValue) here, + see https://github.com/heycam/webidl/issues/60 */ + sequence getAll(DOMString property); + boolean has(DOMString property); + stringifier; +}; + +callback UpdateFunction = CSSStyleValue (CSSStyleValue oldValue); + +[Exposed=Window] +interface StylePropertyMap : StylePropertyMapReadOnly { + maplike>; + void append(DOMString property, (CSSStyleValue or DOMString)... values); + void delete(DOMString property); + void set(DOMString property, (CSSStyleValue or DOMString)... values); + void update(DOMString property, UpdateFunction updateFunction); +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +partial interface Element { + StylePropertyMapReadOnly computedStyleMap(); +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +partial interface CSSStyleRule { + [SameObject] readonly attribute StylePropertyMap styleMap; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +partial interface ElementCSSInlineStyle { + [SameObject] readonly attribute StylePropertyMap attributeStyleMap; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(sequence members)] +interface CSSUnparsedValue : CSSStyleValue { + iterable; + readonly attribute unsigned long length; + getter CSSUnparsedSegment (unsigned long index); + setter CSSUnparsedSegment (unsigned long index, CSSUnparsedSegment val); +}; + +typedef (DOMString or CSSVariableReferenceValue) CSSUnparsedSegment; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(DOMString variable, optional CSSUnparsedValue fallback)] +interface CSSVariableReferenceValue { + attribute DOMString variable; + readonly attribute CSSUnparsedValue? fallback; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(DOMString value)] +interface CSSKeywordValue : CSSStyleValue { + attribute DOMString value; +}; + +typedef (DOMString or CSSKeywordValue) CSSKeywordish; + +typedef (double or CSSNumericValue) CSSNumberish; + +enum CSSNumericBaseType { + "length", + "angle", + "time", + "frequency", + "resolution", + "flex", + "percent", +}; + +dictionary CSSNumericType { + long length; + long angle; + long time; + long frequency; + long resolution; + long flex; + long percent; + CSSNumericBaseType percentHint; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +interface CSSNumericValue : CSSStyleValue { + CSSNumericValue add(CSSNumberish... values); + CSSNumericValue sub(CSSNumberish... values); + CSSNumericValue mul(CSSNumberish... values); + CSSNumericValue div(CSSNumberish... values); + CSSNumericValue min(CSSNumberish... values); + CSSNumericValue max(CSSNumberish... values); + + boolean equals(CSSNumberish... value); + + CSSUnitValue to(DOMString unit); + CSSMathSum toSum(DOMString... units); + CSSNumericType type(); + + [Exposed=Window] static CSSNumericValue parse(DOMString cssText); +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(double value, DOMString unit)] +interface CSSUnitValue : CSSNumericValue { + attribute double value; + readonly attribute DOMString unit; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +interface CSSMathValue : CSSNumericValue { + readonly attribute CSSMathOperator operator; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(CSSNumberish... args)] +interface CSSMathSum : CSSMathValue { + readonly attribute CSSNumericArray values; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(CSSNumberish... args)] +interface CSSMathProduct : CSSMathValue { + readonly attribute CSSNumericArray values; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(CSSNumberish arg)] +interface CSSMathNegate : CSSMathValue { + readonly attribute CSSNumericValue value; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(CSSNumberish arg)] +interface CSSMathInvert : CSSMathValue { + readonly attribute CSSNumericValue value; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(CSSNumberish... args)] +interface CSSMathMin : CSSMathValue { + readonly attribute CSSNumericArray values; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet), + Constructor(CSSNumberish... args)] +interface CSSMathMax : CSSMathValue { + readonly attribute CSSNumericArray values; +}; + +[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] +interface CSSNumericArray { + iterable; + readonly attribute unsigned long length; + getter CSSNumericValue (unsigned long index); +}; + +enum CSSMathOperator { + "sum", + "product", + "negate", + "invert", + "min", + "max", +}; + +// FIXME: Uncomment this when IDLHarness supports CSS namespaces: +// https://github.com/w3c/web-platform-tests/issues/7583 +/* +partial namespace CSS { + CSSUnitValue number(double value); + CSSUnitValue percent(double value); + + // + CSSUnitValue em(double value); + CSSUnitValue ex(double value); + CSSUnitValue ch(double value); + CSSUnitValue ic(double value); + CSSUnitValue rem(double value); + CSSUnitValue lh(double value); + CSSUnitValue rlh(double value); + CSSUnitValue vw(double value); + CSSUnitValue vh(double value); + CSSUnitValue vi(double value); + CSSUnitValue vb(double value); + CSSUnitValue vmin(double value); + CSSUnitValue vmax(double value); + CSSUnitValue cm(double value); + CSSUnitValue mm(double value); + CSSUnitValue Q(double value); + CSSUnitValue in(double value); + CSSUnitValue pt(double value); + CSSUnitValue pc(double value); + CSSUnitValue px(double value); + + // + CSSUnitValue deg(double value); + CSSUnitValue grad(double value); + CSSUnitValue rad(double value); + CSSUnitValue turn(double value); + + //