diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 44a1fb5fabb..678296d7b8d 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -935,6 +935,13 @@ {} ] ], + "cell-large-bottom-padding-crash.html": [ + "e87df1fe7a229ab2339377bb0904a7e607cc6605", + [ + null, + {} + ] + ], "dynamic-caption-child-change-002-crash.html": [ "983f8bb95bb1f2ff157c2e81da9f6e4cbc9ab2cd", [ @@ -216659,6 +216666,47 @@ ] ] }, + "css-rhythm": { + "block-step-size-establishes-independent-formatting-context-list-item.html": [ + "301ae3e9a2ff58084ba942edbcaf862521cf51f0", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], + "block-step-size-establishes-independent-formatting-context.html": [ + "f87e22d3193a8b53d0f9e280e3bd84700d3cfb25", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], + "block-step-size-none-does-not-establish-indepdendent-formatting-context.html": [ + "678428e381be5cd2cdb05054cf67ed416d655d44", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ] + }, "css-ruby": { "abs-in-ruby-base-container.html": [ "0a4ad8a24cc7c7dcda673f243153e446e21aa475", @@ -241859,6 +241907,19 @@ {} ] ], + "text-wrap-balance-align-001.html": [ + "b4659613c8552a90bb210292774fab7271a2b6c8", + [ + null, + [ + [ + "/css/css-text/white-space/reference/text-wrap-balance-align-001-ref.html", + "==" + ] + ], + {} + ] + ], "textarea-break-spaces-001.html": [ "ad81e99768f9816c6e8a659c13aed81c4f22d940", [ @@ -252430,7 +252491,7 @@ ] ], "perspective-transforms-equivalence.html": [ - "c286837969d879c836d0bfd8646b6256cd3100a5", + "8f59d51ada8884c570d98a6d8762d7ea4a971a84", [ null, [ @@ -252446,11 +252507,11 @@ [ [ 0, - 29 + 94 ], [ 0, - 235 + 538 ] ] ] @@ -255315,7 +255376,7 @@ ] ], "transform-input-013.html": [ - "45e1940a32007f7010b7291bed8240c7a2bba46f", + "1fe2b07f0b7a88748edb2ba3a5f3fc58bd6c6d26", [ null, [ @@ -255331,11 +255392,11 @@ [ [ 0, - 128 + 129 ], [ 0, - 2254 + 2506 ] ] ] @@ -276434,7 +276495,7 @@ }, "css-view-transitions": { "3d-transform-incoming.html": [ - "1a0719eaa9e0027e752ce2c24609ec18c44427c0", + "e1c172263b7824911d205646f14c93fe97cd78b0", [ null, [ @@ -276454,7 +276515,7 @@ [ [ 0, - 80 + 255 ], [ 0, @@ -278292,6 +278353,19 @@ {} ] ], + "transform-origin-view-transition-group.html": [ + "17a8218b76964d899c548dbae3e11292f8feffa7", + [ + null, + [ + [ + "/css/css-view-transitions/transform-origin-view-transition-group-ref.html", + "==" + ] + ], + {} + ] + ], "transition-in-empty-iframe.html": [ "99e9f24176ea8985263e3e645cb201485c5abec0", [ @@ -392880,6 +392954,10 @@ "d8c1834d9572e33a8f4b5306871fb725dbd9ce5d", [] ], + "text-wrap-balance-align-001-ref.html": [ + "e522e3711c9d1a68f6a90d97cba248ecb4e47d32", + [] + ], "textarea-pre-wrap-001-ref.html": [ "31070ea92815e4d3a3ece48ed69da03de02f671e", [] @@ -397849,7 +397927,7 @@ }, "css-view-transitions": { "3d-transform-incoming-ref.html": [ - "a7d5e56db5bb2cc62ec3b339041df51321f0f8f5", + "c690ee2b9af53301711e096aa708a619a74cc14a", [] ], "3d-transform-outgoing-ref.html": [ @@ -398198,6 +398276,10 @@ [] ] }, + "transform-origin-view-transition-group-ref.html": [ + "e38cbb0ffeb8c0518bbfbede3b196e326014f78f", + [] + ], "transition-in-empty-iframe-ref.html": [ "67476122859cd718e900e624b011984550517a6c", [] @@ -421041,7 +421123,7 @@ [] ], "popover-utils.js": [ - "404b893bf03cca530200bbfa8c340aa829d522a2", + "9c6ba77549bd76f6bc4f05794547574d95d36224", [] ] } @@ -430438,7 +430520,7 @@ [] ], "pointerevent_support.js": [ - "f3229b90b6a4a6b8a97ed5a2938a03798bf6e081", + "e8e9dd6642e356533f812e0f0ad6732cc3a37357", [] ], "pointerlock": { @@ -434231,18 +434313,6 @@ "7040cf0a9d000d25367033a9ec5a5ebbb4690398", [] ], - "getPorts": { - "reject_opaque_origin.https.html.headers": [ - "1efcf8c226fac074c98d0a5a747856f532e5d84e", - [] - ] - }, - "requestPort": { - "reject_opaque_origin.https.html.headers": [ - "1efcf8c226fac074c98d0a5a747856f532e5d84e", - [] - ] - }, "resources": { "automation.js": [ "e88fdb1a9d23dfd601d5e9e6e11b560be07d577e", @@ -434256,10 +434326,6 @@ "ac19136b35acc43e7290131fd082657c58f1387b", [] ], - "open-in-iframe.html": [ - "9bf8beb66aa1c2514b591db508014572d1ec6b7e", - [] - ], "serial-allowed-by-permissions-policy-worker.js": [ "cef0aacdfc3d2f755b185439679706318935df17", [] @@ -494336,7 +494402,7 @@ ] ], "color-valid-relative-color.html": [ - "3222ea8c30632e7221cc782de45797d2d02e8927", + "a463f7f3c86c8f6635400ef8de5e8a5e6b0d00f2", [ null, {} @@ -495580,7 +495646,7 @@ ] ], "content-visibility-with-top-layer-006.html": [ - "f533f3dfa595224bb2217a12fa071af444324e19", + "36a79532a9a73bf13a675ac2b81537e5512b158f", [ null, {} @@ -507102,6 +507168,52 @@ ] ] }, + "css-rhythm": { + "parsing": { + "block-step-insert-computed.html": [ + "cedbe3b9ec83f99b37ced1e96e08591c7855147a", + [ + null, + {} + ] + ], + "block-step-insert-invalid.html": [ + "a186b49e5dd128d6cbb18a8c9fd5c9b2ecb9c2dd", + [ + null, + {} + ] + ], + "block-step-insert-valid.html": [ + "f7b0b5a9e04673c3e976b2127c2d127604f88b96", + [ + null, + {} + ] + ], + "block-step-size-computed.html": [ + "e90b608215de16d9b80ad1d4090ec52e337ace51", + [ + null, + {} + ] + ], + "block-step-size-invalid.html": [ + "0787941aec039d66d8c9c9e2c0b7060752a70122", + [ + null, + {} + ] + ], + "block-step-size-valid.html": [ + "391ee28667fef8e27572caae06e1d15dec0979ed", + [ + null, + {} + ] + ] + } + }, "css-ruby": { "br-clear-all-000.html": [ "91c5a0b63b3f54edfeb10606713f7a3d3c8fb0fd", @@ -515057,6 +515169,13 @@ {} ] ], + "transition-important.html": [ + "cae14369ba54220bd769b550bc9113ce0e7506a4", + [ + null, + {} + ] + ], "transition-property-001.html": [ "47a1417070f0c2e7b8171259d9c4f63c44e96bcc", [ @@ -519010,7 +519129,7 @@ ] ], "variable-cssText.html": [ - "8e725622c9031eba3a4bf4a642440859dcee73cc", + "27183eae34c6a9ee7e6c66a2b439c59d3894c309", [ null, {} @@ -605733,8 +605852,18 @@ } ] ], + "popover-attribute-all-elements.html": [ + "d620f767882c2fe7a53be1e30ed2f1b22c11d765", + [ + null, + { + "testdriver": true, + "timeout": "long" + } + ] + ], "popover-attribute-basic.html": [ - "c80534af9d1907d92aff6100447993b7a62366a4", + "88051f57394b7d525d24d74a37f5f73b05599e9f", [ null, { @@ -624022,7 +624151,7 @@ ] ], "mediametadata.html": [ - "ff00e54ee7c6c31cb899a9045de2311be55fb67e", + "f87e71d969004ee575300fb2f914c8d122dddf48", [ null, {} @@ -632895,7 +633024,7 @@ ] ], "pointerevent_mouse-pointer-preventdefault.html": [ - "c4990ff5f9db0bee3ca2638b43f8bba89119555a", + "549cbf55d8818291f412a1627765df9611ce614c", [ null, { @@ -652524,22 +652653,6 @@ ] }, "serial": { - "getPorts": { - "reject_opaque_origin.https.html": [ - "b2f630a3197deb0e80f01c28dafe3e8fd72971c9", - [ - null, - {} - ] - ], - "sandboxed_iframe.https.window.js": [ - "8fae11ccfe53acc00a6a1cc1afd21439b7d1c968", - [ - "serial/getPorts/sandboxed_iframe.https.window.html", - {} - ] - ] - }, "idlharness.https.any.js": [ "b240da933ade1595d3b1965c3ca6613c91c8318f", [ @@ -652573,22 +652686,6 @@ } ] ], - "requestPort": { - "reject_opaque_origin.https.html": [ - "ade8ae7392eccd9782f3b12f79ae71396de08913", - [ - null, - {} - ] - ], - "sandboxed_iframe.https.window.js": [ - "6e169510a0bd0ad0123aa2a78c8646c99b8b186f", - [ - "serial/requestPort/sandboxed_iframe.https.window.html", - {} - ] - ] - }, "serial-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html": [ "ac278ff0cf0f92dd2547851771e5cda7cc15ea4b", [ diff --git a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-001.html.ini b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-001.html.ini deleted file mode 100644 index 0842d0b5727..00000000000 --- a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[hit-test-floats-001.html] - [hit-test-floats-001] - expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-004.html.ini b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-004.html.ini deleted file mode 100644 index 13bd6abf376..00000000000 --- a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-004.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[hit-test-floats-004.html] - [Miss float below something else] - expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-005.html.ini b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-005.html.ini new file mode 100644 index 00000000000..147f062e548 --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-005.html.ini @@ -0,0 +1,3 @@ +[hit-test-floats-005.html] + [Miss clipped float] + expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/linebox/inline-negative-margin-001.html.ini b/tests/wpt/metadata/css/CSS2/linebox/inline-negative-margin-001.html.ini index a057f038339..5e3a96e5999 100644 --- a/tests/wpt/metadata/css/CSS2/linebox/inline-negative-margin-001.html.ini +++ b/tests/wpt/metadata/css/CSS2/linebox/inline-negative-margin-001.html.ini @@ -8,8 +8,5 @@ [[data-expected-height\] 3] expected: FAIL - [[data-expected-height\] 1] - expected: FAIL - - [[data-expected-height\] 2] + [[data-expected-height\] 4] expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-001.html.ini b/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-001.html.ini deleted file mode 100644 index b4eea326212..00000000000 --- a/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[block-in-inline-hittest-001.html] - [block-in-inline-hittest-001] - expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-float-002.html.ini b/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-float-002.html.ini new file mode 100644 index 00000000000..3e5096beef3 --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-float-002.html.ini @@ -0,0 +1,3 @@ +[block-in-inline-hittest-float-002.html] + [block-in-inline-hittest-float-002] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-color/parsing/color-valid-relative-color.html.ini b/tests/wpt/metadata/css/css-color/parsing/color-valid-relative-color.html.ini index 8b31e3c4400..f9fb59c08d2 100644 --- a/tests/wpt/metadata/css/css-color/parsing/color-valid-relative-color.html.ini +++ b/tests/wpt/metadata/css/css-color/parsing/color-valid-relative-color.html.ini @@ -2837,9 +2837,6 @@ [e.style['color'\] = "color(from color(xyz-d65 7 -20.5 100 / none) xyz-d65 x y z / alpha)" should set the property value] expected: FAIL - [e.style['color'\] = "rgb(from var(--color) calc(r * .3 + g * .59 + b * .11) calc(r * .3 + g * .59 + b * .11) calc(r * .3 + g * .59 + b * .11))" should set the property value] - expected: FAIL - [e.style['color'\] = "rgb(from indianred 255 g b)" should set the property value] expected: FAIL diff --git a/tests/wpt/metadata/css/css-transforms/transform-scale-hittest.html.ini b/tests/wpt/metadata/css/css-transforms/transform-scale-hittest.html.ini index 3f9c5003739..4a1232b3c22 100644 --- a/tests/wpt/metadata/css/css-transforms/transform-scale-hittest.html.ini +++ b/tests/wpt/metadata/css/css-transforms/transform-scale-hittest.html.ini @@ -1,3 +1,6 @@ [transform-scale-hittest.html] [Hit test intersecting scaled box] expected: FAIL + + [Hit test within unscaled box] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-003.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-003.html.ini index bba5da37611..ce484ddb88d 100644 --- a/tests/wpt/metadata/css/css-transitions/properties-value-003.html.ini +++ b/tests/wpt/metadata/css/css-transitions/properties-value-003.html.ini @@ -1,6 +1,5 @@ [properties-value-003.html] bug: https://github.com/servo/servo/issues/21486 - [outline-radius-bottomleft length(em) / events] expected: FAIL @@ -492,3 +491,39 @@ [object-view-box object-view-box(xywh) / events] expected: FAIL + + [border-top-left-radius border-radius(px) / values] + expected: FAIL + + [border-top-left-radius border-radius(px-px) / values] + expected: FAIL + + [border-top-right-radius border-radius(px) / values] + expected: FAIL + + [border-top-right-radius border-radius(px-px) / values] + expected: FAIL + + [border-bottom-left-radius border-radius(px) / values] + expected: FAIL + + [border-bottom-left-radius border-radius(px-px) / values] + expected: FAIL + + [border-bottom-right-radius border-radius(px) / values] + expected: FAIL + + [border-bottom-right-radius border-radius(px-px) / values] + expected: FAIL + + [box-shadow box-shadow(shadow) / values] + expected: FAIL + + [font-stretch font-stretch(keyword) / values] + expected: FAIL + + [transform transform(rotate) / values] + expected: FAIL + + [transform-origin horizontal(keyword) / values] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini index 25cee5c527d..543a8f2d039 100644 --- a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini +++ b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini @@ -476,3 +476,153 @@ [text-shadow shadow(shadow) / values] expected: FAIL + + [margin-right length(cm) / values] + expected: FAIL + + [margin-right length(in) / values] + expected: FAIL + + [margin-top length(pt) / values] + expected: FAIL + + [margin-top length(pc) / values] + expected: FAIL + + [margin-top length(px) / values] + expected: FAIL + + [margin-top length(em) / values] + expected: FAIL + + [margin-top length(ex) / values] + expected: FAIL + + [margin-top length(mm) / values] + expected: FAIL + + [margin-top length(cm) / values] + expected: FAIL + + [margin-top length(in) / values] + expected: FAIL + + [height length(pt) / values] + expected: FAIL + + [height length(pc) / values] + expected: FAIL + + [height length(px) / values] + expected: FAIL + + [height length(em) / values] + expected: FAIL + + [height length(ex) / values] + expected: FAIL + + [height length(mm) / values] + expected: FAIL + + [height length(cm) / values] + expected: FAIL + + [height length(in) / values] + expected: FAIL + + [height percentage(%) / values] + expected: FAIL + + [width length(pt) / values] + expected: FAIL + + [width length(pc) / values] + expected: FAIL + + [width length(px) / values] + expected: FAIL + + [width length(em) / values] + expected: FAIL + + [width length(ex) / values] + expected: FAIL + + [width length(mm) / values] + expected: FAIL + + [width length(cm) / values] + expected: FAIL + + [width length(in) / values] + expected: FAIL + + [width percentage(%) / values] + expected: FAIL + + [min-height length(pt) / values] + expected: FAIL + + [min-height length(pc) / values] + expected: FAIL + + [min-height length(px) / values] + expected: FAIL + + [min-height length(em) / values] + expected: FAIL + + [min-height length(ex) / values] + expected: FAIL + + [min-height length(mm) / values] + expected: FAIL + + [min-height length(cm) / values] + expected: FAIL + + [min-height length(in) / values] + expected: FAIL + + [min-height percentage(%) / values] + expected: FAIL + + [min-width length(pt) / values] + expected: FAIL + + [min-width length(pc) / values] + expected: FAIL + + [min-width length(px) / values] + expected: FAIL + + [min-width length(em) / values] + expected: FAIL + + [min-width length(ex) / values] + expected: FAIL + + [min-width length(mm) / values] + expected: FAIL + + [min-width length(cm) / values] + expected: FAIL + + [min-width length(in) / values] + expected: FAIL + + [min-width percentage(%) / values] + expected: FAIL + + [max-height length(pt) / values] + expected: FAIL + + [max-height length(pc) / values] + expected: FAIL + + [max-height length(px) / values] + expected: FAIL + + [max-height length(em) / values] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/transition-important.html.ini b/tests/wpt/metadata/css/css-transitions/transition-important.html.ini new file mode 100644 index 00000000000..602bb94e9e1 --- /dev/null +++ b/tests/wpt/metadata/css/css-transitions/transition-important.html.ini @@ -0,0 +1,3 @@ +[transition-important.html] + [!important should not override transition] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini deleted file mode 100644 index 72b09371038..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementFromPoint-001.html] - [CSSOM View - 5 - extensions to the Document interface] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini deleted file mode 100644 index cf67b5d03dd..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-dynamic-anon-box.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementFromPoint-dynamic-anon-box.html] - [Link should be clickable after hiding a scrollbox with an anonymous table inside] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-ellipsis-in-inline-box.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-ellipsis-in-inline-box.html.ini new file mode 100644 index 00000000000..b905fe70fcb --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/elementFromPoint-ellipsis-in-inline-box.html.ini @@ -0,0 +1,3 @@ +[elementFromPoint-ellipsis-in-inline-box.html] + [elementFromPoint-ellipsis-in-inline-box] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini new file mode 100644 index 00000000000..db065588308 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini @@ -0,0 +1,3 @@ +[elementFromPoint-float-in-table.html] + [float-in-div] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini index 07ff86d09aa..8ae9bae3500 100644 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini +++ b/tests/wpt/metadata/css/cssom-view/elementFromPoint-list-001.html.ini @@ -13,6 +13,3 @@ [
  • Outside 3
  • ] expected: FAIL - - [
  • Inside 1
  • ] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini new file mode 100644 index 00000000000..8f6f663ba61 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini @@ -0,0 +1,3 @@ +[elementFromPoint-subpixel.html] + [Hit test top left corner of box] + expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini index dc1144214ef..5f9a07f92f0 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini @@ -4,6 +4,3 @@ [Navigating to a different document with form submission] expected: FAIL - - [Navigating to a different document with link click] - expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-no-beforeunload.window.js.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-no-beforeunload.window.js.ini index a06984505e9..7391c19ce91 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-no-beforeunload.window.js.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-no-beforeunload.window.js.ini @@ -4,7 +4,16 @@ expected: NOTRUN [Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: string completion] - expected: TIMEOUT + expected: NOTRUN [Navigating an opened window with an iframe via location.href to a javascript: URL must not fire beforeunload on the iframe: undefined completion] - expected: FAIL + expected: NOTRUN + + [Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: undefined completion] + expected: TIMEOUT + + [Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: string completion] + expected: NOTRUN + + [Navigating an iframe via src="" to a javascript: URL after insertion must not fire beforeunload: string completion] + expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-dynamic.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-dynamic.html.ini index 78240a2f463..8ae58f9f1e2 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-dynamic.html.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-dynamic.html.ini @@ -16,3 +16,6 @@ [D83D DE0D set in href="" targeting a frame and clicked] expected: FAIL + + [DE0D 0041 set in href="" targeting a frame and clicked] + expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini deleted file mode 100644 index 4ecd6d9f753..00000000000 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[navigation-unload-cross-origin.sub.window.html] - [Cross-origin navigation started from unload handler must be ignored] - expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini deleted file mode 100644 index 7dc346632a4..00000000000 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[navigation-unload-same-origin.window.html] - [Same-origin navigation started from unload handler must be ignored] - expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/read-media/pageload-image-in-popup.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/read-media/pageload-image-in-popup.html.ini deleted file mode 100644 index d993e8dcc42..00000000000 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/read-media/pageload-image-in-popup.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[pageload-image-in-popup.html] - [The document for a standalone media file should have one child in the body.] - expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini new file mode 100644 index 00000000000..ba0aed26689 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini @@ -0,0 +1,3 @@ +[traverse_the_history_1.html] + [Multiple history traversals from the same task] + expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html.ini deleted file mode 100644 index 02bd301a7ca..00000000000 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[traverse_the_history_write_onload_1.html] - [Traverse the history when a history entry is written in the load event] - expected: FAIL diff --git a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini index d169bd2e9fa..8acae84e1e4 100644 --- a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini +++ b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini @@ -1,4 +1,5 @@ [supported-elements.html] + expected: TIMEOUT [Contenteditable element should support autofocus] expected: FAIL @@ -9,7 +10,7 @@ expected: FAIL [Area element should support autofocus] - expected: FAIL + expected: TIMEOUT [Host element with delegatesFocus should support autofocus] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/media_fragment_seek.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/media_fragment_seek.html.ini deleted file mode 100644 index 09c049e4b58..00000000000 --- a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/media_fragment_seek.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[media_fragment_seek.html] - [Video should seek to time specified in media fragment syntax] - expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini index 25d9964f057..e5994e21efc 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini @@ -1,4 +1,5 @@ [iframe_sandbox_popups_escaping-1.html] type: testharness + expected: CRASH [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini index eacbe5794ea..fe55ddae3f1 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini @@ -1,5 +1,4 @@ [iframe_sandbox_popups_escaping-3.html] type: testharness - expected: TIMEOUT [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini index 6f7461b9472..f9138fb999a 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini @@ -1,4 +1,5 @@ [iframe_sandbox_popups_nonescaping-1.html] type: testharness + expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini index 6bec7a732b8..76e34322dca 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini @@ -1,4 +1,5 @@ [iframe_sandbox_popups_nonescaping-2.html] type: testharness + expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini b/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini new file mode 100644 index 00000000000..b8bdf33cb65 --- /dev/null +++ b/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini @@ -0,0 +1,3 @@ +[DOMContentLoaded-defer.html] + [The end: DOMContentLoaded and defer scripts] + expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html.ini b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html.ini new file mode 100644 index 00000000000..fc0233f5241 --- /dev/null +++ b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html.ini @@ -0,0 +1,3 @@ +[module-delayed.html] + [async document.write in a module] + expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini index 8845054116d..e55f8f2ce3c 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini @@ -3,3 +3,6 @@ expected: TIMEOUT [The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] expected: TIMEOUT + + [The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] + expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini index dbe1def99e3..7237f5792de 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry-different-function-realm.html.ini @@ -1,9 +1,10 @@ [promise-job-entry-different-function-realm.html] + expected: TIMEOUT [Fulfillment handler on fulfilled promise] expected: FAIL [Rejection handler on pending-then-rejected promise] - expected: FAIL + expected: TIMEOUT [Thenable resolution] expected: FAIL @@ -12,4 +13,4 @@ expected: FAIL [Fulfillment handler on pending-then-fulfilled promise] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini index 1d71471b73c..4a48dd15a9d 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html.ini @@ -1,7 +1,6 @@ [promise-rejection-events.html] - expected: TIMEOUT [delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire] - expected: TIMEOUT + expected: FAIL [unhandledrejection: from createImageBitmap which is UA triggered] expected: FAIL diff --git a/tests/wpt/metadata/resource-timing/content-type-parsing.html.ini b/tests/wpt/metadata/resource-timing/content-type-parsing.html.ini index 49b17a921b5..71ca4ed5411 100644 --- a/tests/wpt/metadata/resource-timing/content-type-parsing.html.ini +++ b/tests/wpt/metadata/resource-timing/content-type-parsing.html.ini @@ -94,10 +94,10 @@ expected: FAIL [mime-type 16 : text/html;charset=\x0bgbk] - expected: TIMEOUT + expected: FAIL [mime-type 17 : text/html;charset=\x0cgbk] - expected: NOTRUN + expected: TIMEOUT [mime-type 18 : text/html;\x0bcharset=gbk] expected: NOTRUN diff --git a/tests/wpt/metadata/resource-timing/cors-preflight.any.js.ini b/tests/wpt/metadata/resource-timing/cors-preflight.any.js.ini index 69f259ca0f2..86d4d9daf1b 100644 --- a/tests/wpt/metadata/resource-timing/cors-preflight.any.js.ini +++ b/tests/wpt/metadata/resource-timing/cors-preflight.any.js.ini @@ -1,7 +1,6 @@ [cors-preflight.any.html] - expected: ERROR [PerformanceResourceTiming sizes fetch with preflight test] - expected: TIMEOUT + expected: FAIL [cors-preflight.any.worker.html] diff --git a/tests/wpt/metadata/wasm/jsapi/functions/entry.html.ini b/tests/wpt/metadata/wasm/jsapi/functions/entry.html.ini index 2ab19558726..145d4a8fe37 100644 --- a/tests/wpt/metadata/wasm/jsapi/functions/entry.html.ini +++ b/tests/wpt/metadata/wasm/jsapi/functions/entry.html.ini @@ -1,7 +1,6 @@ [entry.html] - expected: TIMEOUT [Start function] - expected: TIMEOUT + expected: FAIL [Sanity check: this all works as expected synchronously] expected: FAIL diff --git a/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini b/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini index 04c2032c723..39d039a0132 100644 --- a/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini +++ b/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini @@ -1,5 +1,5 @@ [cross-partition.https.tentative.html] - expected: TIMEOUT + expected: CRASH [BroadcastChannel messages aren't received from a cross-partition iframe] expected: FAIL diff --git a/tests/wpt/metadata/webmessaging/with-ports/017.html.ini b/tests/wpt/metadata/webmessaging/with-ports/017.html.ini deleted file mode 100644 index c7946fc91b4..00000000000 --- a/tests/wpt/metadata/webmessaging/with-ports/017.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[017.html] - expected: TIMEOUT - [origin of the script that invoked the method, about:blank] - expected: TIMEOUT diff --git a/tests/wpt/metadata/webmessaging/without-ports/018.html.ini b/tests/wpt/metadata/webmessaging/without-ports/018.html.ini new file mode 100644 index 00000000000..b7b36c1d3a4 --- /dev/null +++ b/tests/wpt/metadata/webmessaging/without-ports/018.html.ini @@ -0,0 +1,4 @@ +[018.html] + expected: TIMEOUT + [origin of the script that invoked the method, javascript:] + expected: TIMEOUT diff --git a/tests/wpt/metadata/webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.tentative.html.ini b/tests/wpt/metadata/webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.tentative.html.ini new file mode 100644 index 00000000000..aa6c9e5b826 --- /dev/null +++ b/tests/wpt/metadata/webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.tentative.html.ini @@ -0,0 +1,4 @@ +[localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.tentative.html] + expected: TIMEOUT + [StorageKey: test 3P about:blank window opened from a 3P iframe] + expected: TIMEOUT diff --git a/tests/wpt/mozilla/meta/css/iframe/simple_inline_width_height.html.ini b/tests/wpt/mozilla/meta/css/iframe/simple_inline_width_height.html.ini deleted file mode 100644 index 271afd4b8cd..00000000000 --- a/tests/wpt/mozilla/meta/css/iframe/simple_inline_width_height.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[simple_inline_width_height.html] - expected: TIMEOUT diff --git a/tests/wpt/mozilla/meta/css/stylesheet_media_queries.html.ini b/tests/wpt/mozilla/meta/css/stylesheet_media_queries.html.ini new file mode 100644 index 00000000000..77ca6b0688d --- /dev/null +++ b/tests/wpt/mozilla/meta/css/stylesheet_media_queries.html.ini @@ -0,0 +1,3 @@ +[stylesheet_media_queries.html] + [Media queries within stylesheets] + expected: FAIL diff --git a/tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini b/tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini deleted file mode 100644 index f78f699f620..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[scrollBy.html] - [Ensure that the window.scrollBy function affects scroll position as expected] - expected: FAIL diff --git a/tests/wpt/mozilla/meta/mozilla/task_queue_throttling.any.js.ini b/tests/wpt/mozilla/meta/mozilla/task_queue_throttling.any.js.ini deleted file mode 100644 index 6ef3d276974..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/task_queue_throttling.any.js.ini +++ /dev/null @@ -1,6 +0,0 @@ -[task_queue_throttling.any.html] - [Throttling the performance timeline task queue.] - expected: FAIL - - -[task_queue_throttling.any.worker.html] diff --git a/tests/wpt/web-platform-tests/css/css-break/table/cell-large-bottom-padding-crash.html b/tests/wpt/web-platform-tests/css/css-break/table/cell-large-bottom-padding-crash.html new file mode 100644 index 00000000000..e87df1fe7a2 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-break/table/cell-large-bottom-padding-crash.html @@ -0,0 +1,6 @@ + + + +
    +
    boo
    +
    diff --git a/tests/wpt/web-platform-tests/css/css-color/parsing/color-valid-relative-color.html b/tests/wpt/web-platform-tests/css/css-color/parsing/color-valid-relative-color.html index 3222ea8c306..a463f7f3c86 100644 --- a/tests/wpt/web-platform-tests/css/css-color/parsing/color-valid-relative-color.html +++ b/tests/wpt/web-platform-tests/css/css-color/parsing/color-valid-relative-color.html @@ -613,7 +613,7 @@ test_valid_value(`color`, `lch(from var(--color) calc(l / 2) c h)`); // Example 13. - test_valid_value(`color`, `rgb(from var(--color) calc(r * .3 + g * .59 + b * .11) calc(r * .3 + g * .59 + b * .11) calc(r * .3 + g * .59 + b * .11))`, `rgb(from var(--color) calc(r * 0.3 + g * 0.59 + b * 0.11) calc(r * 0.3 + g * 0.59 + b * 0.11) calc(r * 0.3 + g * 0.59 + b * 0.11))`); + test_valid_value(`color`, `rgb(from var(--color) calc(r * .3 + g * .59 + b * .11) calc(r * .3 + g * .59 + b * .11) calc(r * .3 + g * .59 + b * .11))`); test_valid_value(`color`, `lch(from var(--color) l 0 h)`); // Example 14. diff --git a/tests/wpt/web-platform-tests/css/css-contain/content-visibility/content-visibility-with-top-layer-006.html b/tests/wpt/web-platform-tests/css/css-contain/content-visibility/content-visibility-with-top-layer-006.html index f533f3dfa59..36a79532a9a 100644 --- a/tests/wpt/web-platform-tests/css/css-contain/content-visibility/content-visibility-with-top-layer-006.html +++ b/tests/wpt/web-platform-tests/css/css-contain/content-visibility/content-visibility-with-top-layer-006.html @@ -31,9 +31,10 @@ test(() => { dialog.close(); dialog.showModal(); - // Even though the element with `content-visibility: auto` is offscreen - // it should be considered relevant content because it is now in the top - // layer. - assert_equals(inner.getBoundingClientRect().height, 200); + // Even though the element with `content-visibility: auto` has an ancestor + // in the top layer, this element is not in the top layer list (although + // it's in the top layer stacking context). This means it should not be + // relevant to the user, because it is nevertheless not onscreen. + assert_equals(inner.getBoundingClientRect().height, 100); }); diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-establishes-independent-formatting-context-list-item.html b/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-establishes-independent-formatting-context-list-item.html new file mode 100644 index 00000000000..301ae3e9a2f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-establishes-independent-formatting-context-list-item.html @@ -0,0 +1,29 @@ + + + + + + + + + + +

    Test passes if there is a filled green square.

    +
    +
    + + diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-establishes-independent-formatting-context.html b/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-establishes-independent-formatting-context.html new file mode 100644 index 00000000000..f87e22d3193 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-establishes-independent-formatting-context.html @@ -0,0 +1,27 @@ + + + + + + + + + + +

    Test passes if there is a filled green square.

    +
    +
    + + diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-none-does-not-establish-indepdendent-formatting-context.html b/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-none-does-not-establish-indepdendent-formatting-context.html new file mode 100644 index 00000000000..678428e381b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/block-step-size-none-does-not-establish-indepdendent-formatting-context.html @@ -0,0 +1,30 @@ + + + + + + + + + + +

    Test passes if there is a filled green square and no red.

    +
    +
    + + diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-computed.html b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-computed.html new file mode 100644 index 00000000000..cedbe3b9ec8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-computed.html @@ -0,0 +1,25 @@ + + + +CSS Rhythm: block-step-insert computed values + + + + + + + + + + +
    + + + diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-invalid.html b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-invalid.html new file mode 100644 index 00000000000..a186b49e5dd --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-invalid.html @@ -0,0 +1,33 @@ + + + +CSS Rhythm: block-step-insert invalid values + + + + + + + + + + +
    + + + diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-valid.html b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-valid.html new file mode 100644 index 00000000000..f7b0b5a9e04 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-insert-valid.html @@ -0,0 +1,25 @@ + + + +CSS Rhythm: block-step-insert valid values + + + + + + + + + + +
    + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-computed.html b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-computed.html new file mode 100644 index 00000000000..e90b608215d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-computed.html @@ -0,0 +1,29 @@ + + + +CSS Rhythm: block-step-size computed values + + + + + + + + + + +
    + + + diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-invalid.html b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-invalid.html new file mode 100644 index 00000000000..0787941aec0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-invalid.html @@ -0,0 +1,28 @@ + + + +CSS Rhythm: block-step-size invalid values + + + + + + + + + + +
    + + + diff --git a/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-valid.html b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-valid.html new file mode 100644 index 00000000000..391ee28667f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-rhythm/parsing/block-step-size-valid.html @@ -0,0 +1,29 @@ + + + +CSS Rhythm: block-step-size valid values + + + + + + + + + + +
    + + + diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/reference/text-wrap-balance-align-001-ref.html b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/text-wrap-balance-align-001-ref.html new file mode 100644 index 00000000000..e522e3711c9 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/text-wrap-balance-align-001-ref.html @@ -0,0 +1,21 @@ + + +
    + 123456789 123 567 + 123456789 123 567 +
    +
    + 123456789 123 567 + 123456789 123 567 +
    +
    + 123456789 123 567 + 123456789 123 567 +
    diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/text-wrap-balance-align-001.html b/tests/wpt/web-platform-tests/css/css-text/white-space/text-wrap-balance-align-001.html new file mode 100644 index 00000000000..b4659613c85 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/text-wrap-balance-align-001.html @@ -0,0 +1,24 @@ + + + + +
    + 123456789 123 567 + 123456789 123 567 +
    +
    + 123456789 123 567 + 123456789 123 567 +
    +
    + 123456789 123 567 + 123456789 123 567 +
    diff --git a/tests/wpt/web-platform-tests/css/css-transforms/perspective-transforms-equivalence.html b/tests/wpt/web-platform-tests/css/css-transforms/perspective-transforms-equivalence.html index c286837969d..8f59d51ada8 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/perspective-transforms-equivalence.html +++ b/tests/wpt/web-platform-tests/css/css-transforms/perspective-transforms-equivalence.html @@ -9,7 +9,7 @@ Perspective with different transforms can have small anti-aliasing pixel differences, so the test should fuzzy patch to the ref. --> - + +
    + diff --git a/tests/wpt/web-platform-tests/css/css-variables/variable-cssText.html b/tests/wpt/web-platform-tests/css/css-variables/variable-cssText.html index 8e725622c90..27183eae34c 100644 --- a/tests/wpt/web-platform-tests/css/css-variables/variable-cssText.html +++ b/tests/wpt/web-platform-tests/css/css-variables/variable-cssText.html @@ -23,6 +23,7 @@
    +
    + +
    diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/transform-origin-view-transition-group.html b/tests/wpt/web-platform-tests/css/css-view-transitions/transform-origin-view-transition-group.html new file mode 100644 index 00000000000..17a8218b769 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/transform-origin-view-transition-group.html @@ -0,0 +1,58 @@ + + +View transitions: validates that transform-origin value is default for view-transition-group + + + + + + + +
    + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements.html b/tests/wpt/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements.html new file mode 100644 index 00000000000..d620f767882 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements.html @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/popovers/popover-attribute-basic.html b/tests/wpt/web-platform-tests/html/semantics/popovers/popover-attribute-basic.html index c80534af9d1..88051f57394 100644 --- a/tests/wpt/web-platform-tests/html/semantics/popovers/popover-attribute-basic.html +++ b/tests/wpt/web-platform-tests/html/semantics/popovers/popover-attribute-basic.html @@ -9,7 +9,6 @@ -
    Pop up
    @@ -53,59 +52,6 @@ setup({ explicit_done: true }); window.onload = () => { const outsideElement = document.getElementById('outside'); - function assertPopoverVisibility(popover, isPopover, expectedVisibility, message) { - const isVisible = isElementVisible(popover); - assert_equals(isVisible, expectedVisibility,`${message}: Expected this element to be ${expectedVisibility ? "visible" : "not visible"}`); - // Check other things related to being visible or not: - if (isVisible) { - assert_not_equals(window.getComputedStyle(popover).display,'none'); - assert_equals(popover.matches(':open'),isPopover,`${message}: Visible popovers should match :open`); - assert_false(popover.matches(':closed'),`${message}: Visible popovers and *all* non-popovers should *not* match :closed`); - } else { - assert_equals(window.getComputedStyle(popover).display,'none',`${message}: Non-showing popovers should have display:none`); - assert_false(popover.matches(':open'),`${message}: Non-showing popovers should *not* match :open`); - assert_true(popover.matches(':closed'),`${message}: Non-showing popovers should match :closed`); - } - } - function assertIsFunctionalPopover(popover) { - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'A popover should start out hidden'); - popover.showPopover(); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After showPopover(), a popover should be visible'); - assert_throws_dom("InvalidStateError",() => popover.showPopover(),'Calling showPopover on a showing popover should throw InvalidStateError'); - popover.hidePopover(); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After hidePopover(), a popover should be hidden'); - assert_throws_dom("InvalidStateError",() => popover.hidePopover(),'Calling hidePopover on a hidden popover should throw InvalidStateError'); - popover.togglePopover(); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After togglePopover() on hidden popover, it should be visible'); - popover.togglePopover(); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After togglePopover() on visible popover, it should be hidden'); - popover.togglePopover(/*force=*/true); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After togglePopover(true) on hidden popover, it should be visible'); - popover.togglePopover(/*force=*/true); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After togglePopover(true) on visible popover, it should be visible'); - popover.togglePopover(/*force=*/false); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After togglePopover(false) on visible popover, it should be hidden'); - popover.togglePopover(/*force=*/false); - assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After togglePopover(false) on hidden popover, it should be hidden'); - const parent = popover.parentElement; - popover.remove(); - assert_throws_dom("InvalidStateError",() => popover.showPopover(),'Calling showPopover on a disconnected popover should throw InvalidStateError'); - assert_throws_dom("InvalidStateError",() => popover.hidePopover(),'Calling hidePopover on a disconnected popover should throw InvalidStateError'); - assert_throws_dom("InvalidStateError",() => popover.togglePopover(),'Calling hidePopover on a disconnected popover should throw InvalidStateError'); - parent.appendChild(popover); - } - function assertNotAPopover(nonPopover) { - // If the non-popover element nonetheless has a 'popover' attribute, it should - // be invisible. Otherwise, it should be visible. - const expectVisible = !nonPopover.hasAttribute('popover'); - assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'A non-popover should start out visible'); - assert_throws_dom("NotSupportedError",() => nonPopover.showPopover(),'Calling showPopover on a non-popover should throw NotSupported'); - assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'Calling showPopover on a non-popover should leave it visible'); - assert_throws_dom("NotSupportedError",() => nonPopover.hidePopover(),'Calling hidePopover on a non-popover should throw NotSupported'); - assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'Calling hidePopover on a non-popover should leave it visible'); - assert_throws_dom("NotSupportedError",() => nonPopover.togglePopover(),'Calling togglePopover on a non-popover should throw NotSupported'); - assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'Calling togglePopover on a non-popover should leave it visible'); - } // Start with the provided examples: Array.from(document.getElementById('popovers').children).forEach(popover => { @@ -119,25 +65,6 @@ window.onload = () => { }, `The element ${nonPopover.outerHTML} should *not* behave as a popover.`); }); - // Then loop through all HTML5 elements that render a box by default: - let elementsThatDontRender = ['audio','base','br','datalist','dialog','embed','head','link','meta','noscript','param','rp','script','slot','style','template','title','wbr']; - const elements = HTML5_ELEMENTS.filter(el => !elementsThatDontRender.includes(el)); - elements.forEach(tag => { - test((t) => { - const element = document.createElement(tag); - element.setAttribute('popover','auto'); - document.body.appendChild(element); - t.add_cleanup(() => element.remove()); - assertIsFunctionalPopover(element); - }, `A <${tag} popover> element should behave as a popover.`); - test((t) => { - const element = document.createElement(tag); - document.body.appendChild(element); - t.add_cleanup(() => element.remove()); - assertNotAPopover(element); - }, `A <${tag}> element should *not* behave as a popover.`); - }); - function createPopover(t) { const popover = document.createElement('div'); document.body.appendChild(popover); diff --git a/tests/wpt/web-platform-tests/html/semantics/popovers/resources/popover-utils.js b/tests/wpt/web-platform-tests/html/semantics/popovers/resources/popover-utils.js index 404b893bf03..9c6ba77549b 100644 --- a/tests/wpt/web-platform-tests/html/semantics/popovers/resources/popover-utils.js +++ b/tests/wpt/web-platform-tests/html/semantics/popovers/resources/popover-utils.js @@ -114,3 +114,59 @@ function popoverHintSupported() { testElement.popover = 'hint'; return testElement.popover === 'hint'; } + +function assertPopoverVisibility(popover, isPopover, expectedVisibility, message) { + const isVisible = isElementVisible(popover); + assert_equals(isVisible, expectedVisibility,`${message}: Expected this element to be ${expectedVisibility ? "visible" : "not visible"}`); + // Check other things related to being visible or not: + if (isVisible) { + assert_not_equals(window.getComputedStyle(popover).display,'none'); + assert_equals(popover.matches(':open'),isPopover,`${message}: Visible popovers should match :open`); + assert_false(popover.matches(':closed'),`${message}: Visible popovers and *all* non-popovers should *not* match :closed`); + } else { + assert_equals(window.getComputedStyle(popover).display,'none',`${message}: Non-showing popovers should have display:none`); + assert_false(popover.matches(':open'),`${message}: Non-showing popovers should *not* match :open`); + assert_true(popover.matches(':closed'),`${message}: Non-showing popovers should match :closed`); + } +} + +function assertIsFunctionalPopover(popover) { + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'A popover should start out hidden'); + popover.showPopover(); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After showPopover(), a popover should be visible'); + assert_throws_dom("InvalidStateError",() => popover.showPopover(),'Calling showPopover on a showing popover should throw InvalidStateError'); + popover.hidePopover(); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After hidePopover(), a popover should be hidden'); + assert_throws_dom("InvalidStateError",() => popover.hidePopover(),'Calling hidePopover on a hidden popover should throw InvalidStateError'); + popover.togglePopover(); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After togglePopover() on hidden popover, it should be visible'); + popover.togglePopover(); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After togglePopover() on visible popover, it should be hidden'); + popover.togglePopover(/*force=*/true); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After togglePopover(true) on hidden popover, it should be visible'); + popover.togglePopover(/*force=*/true); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/true, 'After togglePopover(true) on visible popover, it should be visible'); + popover.togglePopover(/*force=*/false); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After togglePopover(false) on visible popover, it should be hidden'); + popover.togglePopover(/*force=*/false); + assertPopoverVisibility(popover, /*isPopover*/true, /*expectedVisibility*/false, 'After togglePopover(false) on hidden popover, it should be hidden'); + const parent = popover.parentElement; + popover.remove(); + assert_throws_dom("InvalidStateError",() => popover.showPopover(),'Calling showPopover on a disconnected popover should throw InvalidStateError'); + assert_throws_dom("InvalidStateError",() => popover.hidePopover(),'Calling hidePopover on a disconnected popover should throw InvalidStateError'); + assert_throws_dom("InvalidStateError",() => popover.togglePopover(),'Calling hidePopover on a disconnected popover should throw InvalidStateError'); + parent.appendChild(popover); +} + +function assertNotAPopover(nonPopover) { + // If the non-popover element nonetheless has a 'popover' attribute, it should + // be invisible. Otherwise, it should be visible. + const expectVisible = !nonPopover.hasAttribute('popover'); + assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'A non-popover should start out visible'); + assert_throws_dom("NotSupportedError",() => nonPopover.showPopover(),'Calling showPopover on a non-popover should throw NotSupported'); + assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'Calling showPopover on a non-popover should leave it visible'); + assert_throws_dom("NotSupportedError",() => nonPopover.hidePopover(),'Calling hidePopover on a non-popover should throw NotSupported'); + assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'Calling hidePopover on a non-popover should leave it visible'); + assert_throws_dom("NotSupportedError",() => nonPopover.togglePopover(),'Calling togglePopover on a non-popover should throw NotSupported'); + assertPopoverVisibility(nonPopover, /*isPopover*/false, expectVisible, 'Calling togglePopover on a non-popover should leave it visible'); +} diff --git a/tests/wpt/web-platform-tests/mediasession/mediametadata.html b/tests/wpt/web-platform-tests/mediasession/mediametadata.html index ff00e54ee7c..f87e71d9690 100644 --- a/tests/wpt/web-platform-tests/mediasession/mediametadata.html +++ b/tests/wpt/web-platform-tests/mediasession/mediametadata.html @@ -212,7 +212,7 @@ promise_test(async t => { assert_equals(artwork.length, URLs.length); for (let i = 0 ; i < artwork.length ; ++i) { - assert_equals(artwork[i].src, new URL(URLs[i], document.URL).href); + assert_equals(artwork[i].src, new URL(URLs[i], subframe.contentDocument.URL).href); } }, 'Test that the base URL of MediaImage is the base URL of entry setting object'); diff --git a/tests/wpt/web-platform-tests/pointerevents/compat/pointerevent_mouse-pointer-preventdefault.html b/tests/wpt/web-platform-tests/pointerevents/compat/pointerevent_mouse-pointer-preventdefault.html index c4990ff5f9d..549cbf55d88 100644 --- a/tests/wpt/web-platform-tests/pointerevents/compat/pointerevent_mouse-pointer-preventdefault.html +++ b/tests/wpt/web-platform-tests/pointerevents/compat/pointerevent_mouse-pointer-preventdefault.html @@ -17,119 +17,58 @@ div.box {
    - - diff --git a/tests/wpt/web-platform-tests/serial/getPorts/reject_opaque_origin.https.html.headers b/tests/wpt/web-platform-tests/serial/getPorts/reject_opaque_origin.https.html.headers deleted file mode 100644 index 1efcf8c226f..00000000000 --- a/tests/wpt/web-platform-tests/serial/getPorts/reject_opaque_origin.https.html.headers +++ /dev/null @@ -1 +0,0 @@ -Content-Security-Policy: sandbox allow-scripts diff --git a/tests/wpt/web-platform-tests/serial/getPorts/sandboxed_iframe.https.window.js b/tests/wpt/web-platform-tests/serial/getPorts/sandboxed_iframe.https.window.js deleted file mode 100644 index 8fae11ccfe5..00000000000 --- a/tests/wpt/web-platform-tests/serial/getPorts/sandboxed_iframe.https.window.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -let iframe = document.createElement('iframe'); - -promise_test(async () => { - await new Promise(resolve => { - iframe.src = '../resources/open-in-iframe.html'; - iframe.sandbox.add('allow-scripts'); - iframe.allow = 'serial'; - document.body.appendChild(iframe); - iframe.addEventListener('load', resolve); - }); - - await new Promise(resolve => { - iframe.contentWindow.postMessage({type: 'GetPorts'}, '*'); - - window.addEventListener('message', (messageEvent) => { - assert_equals('Success', messageEvent.data); - resolve(); - }); - }); -}, 'GetPorts from a sandboxed iframe is valid.'); diff --git a/tests/wpt/web-platform-tests/serial/requestPort/reject_opaque_origin.https.html b/tests/wpt/web-platform-tests/serial/requestPort/reject_opaque_origin.https.html deleted file mode 100644 index ade8ae7392e..00000000000 --- a/tests/wpt/web-platform-tests/serial/requestPort/reject_opaque_origin.https.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/tests/wpt/web-platform-tests/serial/requestPort/reject_opaque_origin.https.html.headers b/tests/wpt/web-platform-tests/serial/requestPort/reject_opaque_origin.https.html.headers deleted file mode 100644 index 1efcf8c226f..00000000000 --- a/tests/wpt/web-platform-tests/serial/requestPort/reject_opaque_origin.https.html.headers +++ /dev/null @@ -1 +0,0 @@ -Content-Security-Policy: sandbox allow-scripts diff --git a/tests/wpt/web-platform-tests/serial/requestPort/sandboxed_iframe.https.window.js b/tests/wpt/web-platform-tests/serial/requestPort/sandboxed_iframe.https.window.js deleted file mode 100644 index 6e169510a0b..00000000000 --- a/tests/wpt/web-platform-tests/serial/requestPort/sandboxed_iframe.https.window.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -let iframe = document.createElement('iframe'); - -promise_test(async () => { - await new Promise(resolve => { - iframe.src = '../resources/open-in-iframe.html'; - iframe.sandbox.add('allow-scripts'); - iframe.allow = 'serial'; - document.body.appendChild(iframe); - iframe.addEventListener('load', resolve); - }); - - await new Promise(resolve => { - iframe.contentWindow.postMessage({type: 'RequestPort'}, '*'); - - window.addEventListener('message', (messageEvent) => { - // The failure message of no device chosen is expected. The point here is - // to validate not failing because of a sandboxed iframe. - assert_equals( - 'FAIL: NotFoundError: Failed to execute \'requestPort\' on \'Serial\': No port selected by the user.', - messageEvent.data); - resolve(); - }); - }); -}, 'RequestPort from a sandboxed iframe is valid.'); diff --git a/tests/wpt/web-platform-tests/serial/resources/open-in-iframe.html b/tests/wpt/web-platform-tests/serial/resources/open-in-iframe.html deleted file mode 100644 index 9bf8beb66aa..00000000000 --- a/tests/wpt/web-platform-tests/serial/resources/open-in-iframe.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - -