diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index ac47357a908..ba00fbcc937 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -307623,6 +307623,102 @@ {} ] ], + "css/css-align/gaps/column-gap-animation-001.html": [ + [ + "/css/css-align/gaps/column-gap-animation-001.html", + {} + ] + ], + "css/css-align/gaps/column-gap-animation-002.html": [ + [ + "/css/css-align/gaps/column-gap-animation-002.html", + {} + ] + ], + "css/css-align/gaps/column-gap-animation-003.html": [ + [ + "/css/css-align/gaps/column-gap-animation-003.html", + {} + ] + ], + "css/css-align/gaps/column-gap-parsing-001.html": [ + [ + "/css/css-align/gaps/column-gap-parsing-001.html", + {} + ] + ], + "css/css-align/gaps/gap-animation-001.html": [ + [ + "/css/css-align/gaps/gap-animation-001.html", + {} + ] + ], + "css/css-align/gaps/gap-animation-002.html": [ + [ + "/css/css-align/gaps/gap-animation-002.html", + {} + ] + ], + "css/css-align/gaps/gap-animation-003.html": [ + [ + "/css/css-align/gaps/gap-animation-003.html", + {} + ] + ], + "css/css-align/gaps/gap-animation-004.html": [ + [ + "/css/css-align/gaps/gap-animation-004.html", + {} + ] + ], + "css/css-align/gaps/gap-parsing-001.html": [ + [ + "/css/css-align/gaps/gap-parsing-001.html", + {} + ] + ], + "css/css-align/gaps/grid-column-gap-parsing-001.html": [ + [ + "/css/css-align/gaps/grid-column-gap-parsing-001.html", + {} + ] + ], + "css/css-align/gaps/grid-gap-parsing-001.html": [ + [ + "/css/css-align/gaps/grid-gap-parsing-001.html", + {} + ] + ], + "css/css-align/gaps/grid-row-gap-parsing-001.html": [ + [ + "/css/css-align/gaps/grid-row-gap-parsing-001.html", + {} + ] + ], + "css/css-align/gaps/row-gap-animation-001.html": [ + [ + "/css/css-align/gaps/row-gap-animation-001.html", + {} + ] + ], + "css/css-align/gaps/row-gap-animation-002.html": [ + [ + "/css/css-align/gaps/row-gap-animation-002.html", + {} + ] + ], + "css/css-align/gaps/row-gap-animation-003.html": [ + [ + "/css/css-align/gaps/row-gap-animation-003.html", + {} + ] + ], + "css/css-align/gaps/row-gap-parsing-001.html": [ + [ + "/css/css-align/gaps/row-gap-parsing-001.html", + {} + ] + ], "css/css-align/self-alignment/parse-align-self-001.html": [ [ "/css/css-align/self-alignment/parse-align-self-001.html", @@ -311983,6 +312079,12 @@ {} ] ], + "css/css-transforms/transform-origin-in-shadow.html": [ + [ + "/css/css-transforms/transform-origin-in-shadow.html", + {} + ] + ], "css/css-transforms/transform_translate.html": [ [ "/css/css-transforms/transform_translate.html", @@ -314881,6 +314983,12 @@ {} ] ], + "custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg": [ + [ + "/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg", + {} + ] + ], "custom-elements/parser/parser-uses-registry-of-owner-document.html": [ [ "/custom-elements/parser/parser-uses-registry-of-owner-document.html", @@ -322451,6 +322559,12 @@ {} ] ], + "html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js": [ + [ + "/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.html", + {} + ] + ], "html/browsers/windows/auxiliary-browsing-contexts/opener.html": [ [ "/html/browsers/windows/auxiliary-browsing-contexts/opener.html", @@ -345203,6 +345317,14 @@ } ] ], + "picture-in-picture/leave-picture-in-picture.html": [ + [ + "/picture-in-picture/leave-picture-in-picture.html", + { + "testdriver": true + } + ] + ], "picture-in-picture/not-processing-user-gesture.html": [ [ "/picture-in-picture/not-processing-user-gesture.html", @@ -475228,6 +475350,70 @@ "6fd28a5bf615ce822ed935de90ce5c1a41d39104", "reftest" ], + "css/css-align/gaps/column-gap-animation-001.html": [ + "00023e39b6fafbfb31cabb30ed4ddf77a71b248f", + "testharness" + ], + "css/css-align/gaps/column-gap-animation-002.html": [ + "97e93d1aff94b4e88fe56f981cd61dbd09f07bf9", + "testharness" + ], + "css/css-align/gaps/column-gap-animation-003.html": [ + "110e9460fdc86b6eda713f089b7293c075b49e82", + "testharness" + ], + "css/css-align/gaps/column-gap-parsing-001.html": [ + "d0b1255896cde1a3b3f2539c8533fdf65dd77f94", + "testharness" + ], + "css/css-align/gaps/gap-animation-001.html": [ + "9145456dea1f21bdef2159b6033853a73efc716b", + "testharness" + ], + "css/css-align/gaps/gap-animation-002.html": [ + "de302cf09e0410430064dccc5517c87e2998b32d", + "testharness" + ], + "css/css-align/gaps/gap-animation-003.html": [ + "1c31795623818f5e08e47cc5221831c11299602a", + "testharness" + ], + "css/css-align/gaps/gap-animation-004.html": [ + "e2c2dc0ed64e3c8e70959c64108cbb798ea49827", + "testharness" + ], + "css/css-align/gaps/gap-parsing-001.html": [ + "bd3a5bb6b7e4605e6f1a44f232d34c5e7d6342af", + "testharness" + ], + "css/css-align/gaps/grid-column-gap-parsing-001.html": [ + "13ce1945b50ed1c4d40f837cac8777b6b8a90066", + "testharness" + ], + "css/css-align/gaps/grid-gap-parsing-001.html": [ + "441feb52cc17178d4486f92d10a1c132600788a3", + "testharness" + ], + "css/css-align/gaps/grid-row-gap-parsing-001.html": [ + "7302a4efd2ea5eccf65ec269175e6c15cc1771b4", + "testharness" + ], + "css/css-align/gaps/row-gap-animation-001.html": [ + "c7aa90cd3b586b6fd8f81d190895ecc56643b8c1", + "testharness" + ], + "css/css-align/gaps/row-gap-animation-002.html": [ + "e5c9a9eb63a876798a79a5260486668b4fca53e2", + "testharness" + ], + "css/css-align/gaps/row-gap-animation-003.html": [ + "d1605b849b3a328857772b850af2a7d329ac2cb8", + "testharness" + ], + "css/css-align/gaps/row-gap-parsing-001.html": [ + "46a9930dd28a133d1df2c9209b35716093457d5c", + "testharness" + ], "css/css-align/reference/ttwf-reftest-alignContent-ref.html": [ "d87177e45f584e4a67695529b8dbf2d3c3c52839", "support" @@ -511640,6 +511826,10 @@ "391c925801c9f166285b9aa5ea4bec194af13748", "reftest" ], + "css/css-transforms/transform-origin-in-shadow.html": [ + "3a30f869d047c0677f7e989e919f0345d32fb28a", + "testharness" + ], "css/css-transforms/transform-origin-name-001.html": [ "ca659829faa1079070d79ff0ed9ddeedc02d670c", "reftest" @@ -514525,7 +514715,7 @@ "testharness" ], "css/css-typed-om/stylevalue-serialization/cssTransformValue.tentative.html": [ - "fdc7e5f43de941a0d79b0c4c13ae515038e028d1", + "71591a5fdc7f90841dcc204c70f1a3e611024edc", "testharness" ], "css/css-typed-om/stylevalue-serialization/cssUnitValue.tentative.html": [ @@ -536736,6 +536926,10 @@ "ed5476ab5b9a8d23ab7d84665c5d3224bb53dd18", "testharness" ], + "custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg": [ + "51ecc75f42124e8071a767ef908ecc915cbf0fc1", + "testharness" + ], "custom-elements/parser/parser-uses-registry-of-owner-document.html": [ "a62669ffcc75d54df38b65e33463566238c8644c", "testharness" @@ -537121,7 +537315,7 @@ "support" ], "dom/abort/event.any.js": [ - "25e9c1104acb9b0092d1303190588a3953cf635d", + "d41904ddfc56e5ef3e89d965a4e5fa392e996ef9", "testharness" ], "dom/collections/HTMLCollection-as-proto-length-get-throws.html": [ @@ -537349,7 +537543,7 @@ "testharness" ], "dom/interfaces.html": [ - "7d00e3a778083a91156f4e042c7abd270060a7fc", + "3308c9f3341c12ce99217309eba608e50cca669d", "testharness" ], "dom/lists/DOMTokenList-Iterable.html": [ @@ -546116,6 +546310,10 @@ "a0c935eac75021b6dcef4e170848acbdec5b3e4a", "testharness" ], + "html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js": [ + "013632c1b8c86241d757ecbdf66b2a0a2dcc77cb", + "testharness" + ], "html/browsers/windows/auxiliary-browsing-contexts/opener.html": [ "a8ffd6dfa93df903e592af7f9dd6855dbcbb05ea", "testharness" @@ -572729,7 +572927,7 @@ "testharness" ], "payment-request/interfaces.https.html": [ - "87fb3213b7442ceb3f096d88b6bae3074f96d29c", + "d269e8378f2a84ba96c981536667817e0db9e2d1", "testharness" ], "payment-request/payment-request-abort-method.https.html": [ @@ -572929,13 +573127,17 @@ "testharness" ], "picture-in-picture/enter-picture-in-picture.html": [ - "c0d29867a380b7e780ed14c229fa5598626a75aa", + "1286b5349d7787be49ad00f910e2bd7ec80ed87e", "testharness" ], "picture-in-picture/exit-picture-in-picture.html": [ "b1103b96927872de07fc6eb5f34668a0267da6a2", "testharness" ], + "picture-in-picture/leave-picture-in-picture.html": [ + "178275fc27367da45895150124e1d2a0051f73d5", + "testharness" + ], "picture-in-picture/not-processing-user-gesture.html": [ "0bfb194f9fd96db340177d8ff9e62becb1dd9f5e", "testharness" @@ -584141,7 +584343,7 @@ "support" ], "service-workers/service-worker/resources/local-url-inherit-controller-frame.html": [ - "12822899ad84cef80d4f67cb33475a93ca1d56ed", + "595ab725fd213218d5f6016945cc2ce02b50452c", "support" ], "service-workers/service-worker/resources/local-url-inherit-controller-worker.js": [ @@ -595669,11 +595871,11 @@ "reftest" ], "webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused-ref.html": [ - "5b8a5f597777418b7dba44e6e07d05625c599ce7", + "c5af748ae8fd0d476c20926f2cc7ad2103b22aa4", "support" ], "webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html": [ - "5f9e48b0160ac1916034ac29cce97282ce9b1ecf", + "e1eb138e07d42f488051ab6cb4ead266981c5ed8", "reftest" ], "webvtt/rendering/cues-with-video/processing-model/enable_controls_reposition-ref.html": [ diff --git a/tests/wpt/metadata/css/css-transforms/transform-origin-in-shadow.html.ini b/tests/wpt/metadata/css/css-transforms/transform-origin-in-shadow.html.ini new file mode 100644 index 00000000000..b2be2c2114f --- /dev/null +++ b/tests/wpt/metadata/css/css-transforms/transform-origin-in-shadow.html.ini @@ -0,0 +1,5 @@ +[transform-origin-in-shadow.html] + expected: ERROR + ['transform-origin' on being direct descendant of shadow root] + expected: FAIL + diff --git a/tests/wpt/metadata/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg.ini b/tests/wpt/metadata/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg.ini new file mode 100644 index 00000000000..916fe7b6d09 --- /dev/null +++ b/tests/wpt/metadata/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg.ini @@ -0,0 +1,2 @@ +[parser-uses-create-an-element-for-a-token-svg.svg] + expected: TIMEOUT diff --git a/tests/wpt/metadata/dom/abort/event.any.js.ini b/tests/wpt/metadata/dom/abort/event.any.js.ini index b2330c67e73..350ec2d56a2 100644 --- a/tests/wpt/metadata/dom/abort/event.any.js.ini +++ b/tests/wpt/metadata/dom/abort/event.any.js.ini @@ -3,9 +3,39 @@ [AbortController() basics] expected: FAIL + [AbortController abort() should fire event synchronously] + expected: FAIL + + [controller.signal should always return the same object] + expected: FAIL + + [controller.abort() should do nothing the second time it is called] + expected: FAIL + + [event handler should not be called if added after controller.abort()] + expected: FAIL + + [the abort event should have the right properties] + expected: FAIL + [event.any.worker.html] type: testharness [AbortController() basics] expected: FAIL + [AbortController abort() should fire event synchronously] + expected: FAIL + + [controller.signal should always return the same object] + expected: FAIL + + [controller.abort() should do nothing the second time it is called] + expected: FAIL + + [event handler should not be called if added after controller.abort()] + expected: FAIL + + [the abort event should have the right properties] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js.ini b/tests/wpt/metadata/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js.ini new file mode 100644 index 00000000000..9d293d228ba --- /dev/null +++ b/tests/wpt/metadata/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js.ini @@ -0,0 +1,22 @@ +[opener-setter.window.html] + [Setting window.opener to undefined] + expected: FAIL + + [Setting window.opener to 42] + expected: FAIL + + [Setting window.opener to function () { return "hi" }] + expected: FAIL + + [Setting window.opener to hi] + expected: FAIL + + [Setting window.opener to [object Object\]] + expected: FAIL + + [Setting window.opener to ] + expected: FAIL + + [Setting window.opener to Symbol()] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/image-maps/image-map-processing-model/hash-name-reference.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/image-maps/image-map-processing-model/hash-name-reference.html.ini index 1de3f8d68b2..559c27de134 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/image-maps/image-map-processing-model/hash-name-reference.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/image-maps/image-map-processing-model/hash-name-reference.html.ini @@ -172,3 +172,63 @@ [XHTML img usemap="http://example.org/#garbage-before-hash-id"] expected: FAIL + [HTML (quirks) IMG usemap="no-hash-name"] + expected: FAIL + + [HTML (quirks) IMG usemap="no-hash-id"] + expected: FAIL + + [HTML (quirks) IMG usemap="hash-last#"] + expected: FAIL + + [HTML (quirks) IMG usemap=""] + expected: FAIL + + [HTML (quirks) IMG usemap="#"] + expected: FAIL + + [HTML (quirks) IMG usemap="#percent-escape-name-%41"] + expected: FAIL + + [HTML (quirks) IMG usemap="#percent-escape-id-%41"] + expected: FAIL + + [HTML (quirks) IMG usemap="#no-such-map"] + expected: FAIL + + [HTML (quirks) IMG usemap="#different-CASE-name"] + expected: FAIL + + [HTML (quirks) IMG usemap="#different-CASE-id"] + expected: FAIL + + [XHTML img usemap="no-hash-name"] + expected: FAIL + + [XHTML img usemap="no-hash-id"] + expected: FAIL + + [XHTML img usemap="hash-last#"] + expected: FAIL + + [XHTML img usemap=""] + expected: FAIL + + [XHTML img usemap="#"] + expected: FAIL + + [XHTML img usemap="#percent-escape-name-%41"] + expected: FAIL + + [XHTML img usemap="#percent-escape-id-%41"] + expected: FAIL + + [XHTML img usemap="#no-such-map"] + expected: FAIL + + [XHTML img usemap="#different-CASE-name"] + expected: FAIL + + [XHTML img usemap="#different-CASE-id"] + expected: FAIL + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-001.html new file mode 100644 index 00000000000..03c06249cc0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-001.html @@ -0,0 +1,36 @@ + + +CSS Box Alignment Test: column-gap test animation + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-002.html b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-002.html new file mode 100644 index 00000000000..133b98a31c4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-002.html @@ -0,0 +1,34 @@ + + +CSS Box Alignment Test: column-gap normal test animation + + + + + + + + +
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-003.html b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-003.html new file mode 100644 index 00000000000..ef8f0e52e4b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-animation-003.html @@ -0,0 +1,33 @@ + + +CSS Box Alignment Test: Default column-gap test animation + + + + + + + + +
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-parsing-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-parsing-001.html new file mode 100644 index 00000000000..f0bcea4d98d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/column-gap-parsing-001.html @@ -0,0 +1,144 @@ + + +CSS Box Alignment Test: column-gap parsing + + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-001.html new file mode 100644 index 00000000000..881bb18446e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-001.html @@ -0,0 +1,38 @@ + + +CSS Box Alignment Test: gap test animation + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-002.html b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-002.html new file mode 100644 index 00000000000..44d8c70b3a8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-002.html @@ -0,0 +1,36 @@ + + +CSS Box Alignment Test: gap normal test animation + + + + + + + + +
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-003.html b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-003.html new file mode 100644 index 00000000000..c047946fb7f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-003.html @@ -0,0 +1,35 @@ + + +CSS Box Alignment Test: Default gap test animation + + + + + + + + +
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-004.html b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-004.html new file mode 100644 index 00000000000..8b6fbe440f9 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-animation-004.html @@ -0,0 +1,37 @@ + + +CSS Box Alignment Test: gap test animation + + + + + + + + +
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/gap-parsing-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-parsing-001.html new file mode 100644 index 00000000000..48856128184 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/gap-parsing-001.html @@ -0,0 +1,226 @@ + + +CSS Box Alignment Test: gap shorthand parsing + + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/grid-column-gap-parsing-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/grid-column-gap-parsing-001.html new file mode 100644 index 00000000000..a552463950c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/grid-column-gap-parsing-001.html @@ -0,0 +1,144 @@ + + +CSS Box Alignment Test: column-gap parsing + + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/grid-gap-parsing-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/grid-gap-parsing-001.html new file mode 100644 index 00000000000..614b23a7a4f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/grid-gap-parsing-001.html @@ -0,0 +1,226 @@ + + +CSS Box Alignment Test: gap shorthand parsing + + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/grid-row-gap-parsing-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/grid-row-gap-parsing-001.html new file mode 100644 index 00000000000..9dc8c8da59a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/grid-row-gap-parsing-001.html @@ -0,0 +1,144 @@ + + +CSS Box Alignment Test: row-gap parsing + + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-001.html new file mode 100644 index 00000000000..da4a235deda --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-001.html @@ -0,0 +1,36 @@ + + +CSS Box Alignment Test: row-gap test animation + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-002.html b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-002.html new file mode 100644 index 00000000000..330e1054f14 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-002.html @@ -0,0 +1,34 @@ + + +CSS Box Alignment Test: row-gap normal test animation + + + + + + + + +
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-003.html b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-003.html new file mode 100644 index 00000000000..574e3ff7c85 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-animation-003.html @@ -0,0 +1,33 @@ + + +CSS Box Alignment Test: Default row-gap test animation + + + + + + + + +
+
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-parsing-001.html b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-parsing-001.html new file mode 100644 index 00000000000..6de848c3c2a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/gaps/row-gap-parsing-001.html @@ -0,0 +1,144 @@ + + +CSS Box Alignment Test: row-gap parsing + + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + + + diff --git a/tests/wpt/web-platform-tests/css/css-transforms/transform-origin-in-shadow.html b/tests/wpt/web-platform-tests/css/css-transforms/transform-origin-in-shadow.html new file mode 100644 index 00000000000..ebbc616ff8e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-transforms/transform-origin-in-shadow.html @@ -0,0 +1,34 @@ + +'transform-origin' on <svg> being direct descendant of shadow root + + + + +
+
+
+
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssTransformValue.tentative.html b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssTransformValue.tentative.html index 8662b4fd2af..00d723fc6db 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssTransformValue.tentative.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/stylevalue-serialization/cssTransformValue.tentative.html @@ -44,6 +44,11 @@ const gTestCases = [ cssText: 'skew(90deg, 45deg)', desc: 'CSSSkew' }, + { + value: new CSSSkew(CSS.deg(90), CSS.turn(0)), + cssText: 'skew(90deg)', + desc: 'CSSSkew with Y which is 0 value' + }, { value: new CSSPerspective(CSS.px(1)), cssText: 'perspective(1px)', diff --git a/tests/wpt/web-platform-tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg b/tests/wpt/web-platform-tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg new file mode 100644 index 00000000000..526de0f63fa --- /dev/null +++ b/tests/wpt/web-platform-tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg @@ -0,0 +1,27 @@ + + +XML parser should use "create an element for a token" + + + + + +
+
diff --git a/tests/wpt/web-platform-tests/dom/abort/event.any.js b/tests/wpt/web-platform-tests/dom/abort/event.any.js index 3b25702c2e4..a67e6f400fc 100644 --- a/tests/wpt/web-platform-tests/dom/abort/event.any.js +++ b/tests/wpt/web-platform-tests/dom/abort/event.any.js @@ -17,6 +17,51 @@ test(t => { assert_true(s.aborted); c.abort(); -}, "AbortController() basics"); +}, "AbortController abort() should fire event synchronously"); + +test(t => { + const controller = new AbortController(); + const signal = controller.signal; + assert_equals(controller.signal, signal, + "value of controller.signal should not have changed"); + controller.abort(); + assert_equals(controller.signal, signal, + "value of controller.signal should still not have changed"); +}, "controller.signal should always return the same object"); + +test(t => { + const controller = new AbortController(); + const signal = controller.signal; + let eventCount = 0; + signal.onabort = () => { + ++eventCount; + }; + controller.abort(); + assert_true(signal.aborted); + assert_equals(eventCount, 1, "event handler should have been called once"); + controller.abort(); + assert_true(signal.aborted); + assert_equals(eventCount, 1, + "event handler should not have been called again"); +}, "controller.abort() should do nothing the second time it is called"); + +test(t => { + const controller = new AbortController(); + controller.abort(); + controller.signal.onabort = + t.unreached_func("event handler should not be called"); +}, "event handler should not be called if added after controller.abort()"); + +test(t => { + const controller = new AbortController(); + const signal = controller.signal; + signal.onabort = t.step_func(e => { + assert_equals(e.type, "abort", "event type should be abort"); + assert_equals(e.target, signal, "event target should be signal"); + assert_false(e.bubbles, "event should not bubble"); + assert_true(e.isTrusted, "event should be trusted"); + }); + controller.abort(); +}, "the abort event should have the right properties"); done(); diff --git a/tests/wpt/web-platform-tests/dom/interfaces.html b/tests/wpt/web-platform-tests/dom/interfaces.html index 8e9572d0f09..3cb08f405a5 100644 --- a/tests/wpt/web-platform-tests/dom/interfaces.html +++ b/tests/wpt/web-platform-tests/dom/interfaces.html @@ -18,8 +18,12 @@ element.setAttribute("bar", "baz"); var idlArray = new IdlArray(); -function doTest(idl) { - idlArray.add_idls(idl); +function doTest([html, dom]) { + // HTML is needed for EventHandler. Provide a dummy interface for + // LinkStyle which HTML depends on but we're not testing. + idlArray.add_untested_idls('interface LinkStyle {};'); + idlArray.add_untested_idls(html); + idlArray.add_idls(dom); idlArray.add_objects({ EventTarget: ['new EventTarget()'], Event: ['document.createEvent("Event")', 'new Event("foo")'], @@ -46,8 +50,13 @@ function doTest(idl) { idlArray.test(); } +function fetchText(url) { + return fetch(url).then((response) => response.text()); +} + promise_test(function() { - return fetch("/interfaces/dom.idl").then(response => response.text()) - .then(doTest); + return Promise.all(['/interfaces/html.idl', + '/interfaces/dom.idl'].map(fetchText)) + .then(doTest); }, "Test driver"); diff --git a/tests/wpt/web-platform-tests/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js b/tests/wpt/web-platform-tests/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js new file mode 100644 index 00000000000..6d540ce97c9 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/windows/auxiliary-browsing-contexts/opener-setter.window.js @@ -0,0 +1,38 @@ +[ + undefined, + 42, + function() { return "hi" }, + "hi", + {}, + [], + Symbol() +].forEach(val => { + test(t => { + const frame = document.body.appendChild(document.createElement("iframe")), + win = frame.contentWindow; + t.add_cleanup(() => frame.remove()); + + assert_own_property(win, "opener"); + assert_equals(win.opener, null); + const beforeDesc = Object.getOwnPropertyDescriptor(win, "opener"), + openerGet = beforeDesc.get, + openerSet = beforeDesc.set; + assert_own_property(beforeDesc, "get"); + assert_own_property(beforeDesc, "set"); + assert_true(beforeDesc.enumerable); + assert_true(beforeDesc.configurable); + + win.opener = val; + assert_equals(win.opener, val); + assert_equals(openerGet(), null); + + const desc = Object.getOwnPropertyDescriptor(win, "opener"); + assert_equals(desc.value, val); + assert_true(desc.writable); + assert_true(desc.enumerable); + assert_true(desc.configurable); + + openerSet("x"); + assert_equals(win.opener, "x"); + }, "Setting window.opener to " + String(val)); // String() needed for symbols +}); diff --git a/tests/wpt/web-platform-tests/payment-request/interfaces.https.html b/tests/wpt/web-platform-tests/payment-request/interfaces.https.html index bfbcad48afe..a7ec323f0cd 100644 --- a/tests/wpt/web-platform-tests/payment-request/interfaces.https.html +++ b/tests/wpt/web-platform-tests/payment-request/interfaces.https.html @@ -7,12 +7,13 @@ + + + + + + diff --git a/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html b/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html index d70e2141377..b331f88d471 100644 --- a/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html +++ b/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html @@ -6,10 +6,16 @@ const fetchURL = new URL('dummy.txt', window.location).href; const frameControllerText = ` -
+ + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html b/tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html index 708eba98c01..9233df874cf 100644 --- a/tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html +++ b/tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html @@ -2,15 +2,15 @@ WebVTT rendering, cue text should be removed when removing them using the DOM APIs while paused + - -