diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-08-09 08:23:27 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-08-09 10:36:40 +0000 |
commit | 071cb971773be5429aa98e0804ace1b69dea5b7c (patch) | |
tree | 6d96ea7ac66a9cb3bf7fe7f777646dfa52e01abd | |
parent | 7499b0736e0ff8f413aa8f5a8c789342b8d207bc (diff) | |
download | servo-071cb971773be5429aa98e0804ace1b69dea5b7c.tar.gz servo-071cb971773be5429aa98e0804ace1b69dea5b7c.zip |
Update web-platform-tests to revision edfb5824a2e35b1f428daa35277c14629392c8d4
54 files changed, 561 insertions, 62 deletions
diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-004.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini index 4bfb0c2053a..f29da48a2a0 100644 --- a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-004.html.ini +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini @@ -1,4 +1,4 @@ -[hit-test-floats-004.html] +[hit-test-floats-003.html] [Miss float below something else] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini index c53734dcdd7..6425f4beda1 100644 --- a/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini @@ -11,6 +11,3 @@ [[data-expected-height\] 2] expected: FAIL - [[data-expected-height\] 4] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-iframe.html.ini b/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-iframe.html.ini new file mode 100644 index 00000000000..78157036e5b --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-images/image-orientation/image-orientation-iframe.html.ini @@ -0,0 +1,2 @@ +[image-orientation-iframe.html] + expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/css/css-text/white-space/lone-cr-001.tentative.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/white-space/lone-cr-001.tentative.html.ini new file mode 100644 index 00000000000..7c155129bdd --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text/white-space/lone-cr-001.tentative.html.ini @@ -0,0 +1,2 @@ +[lone-cr-001.tentative.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini b/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini index f8e7e539aae..4a1e8110f6f 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transforms/transform-scale-hittest.html.ini @@ -2,6 +2,3 @@ [Hit test intersecting scaled box] expected: FAIL - [Hit test within unscaled box] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-001.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-001.html.ini deleted file mode 100644 index e38782d8c85..00000000000 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-001.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[elementFromPoint-001.html] - [CSSOM View - 5 - extensions to the Document interface] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini index c131078eace..23c61ede1a1 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini @@ -17,3 +17,6 @@ [test the top of layer] expected: FAIL + [test some point of the element: top left corner] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/matchMedia-display-none-iframe.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/matchMedia-display-none-iframe.html.ini deleted file mode 100644 index e6e1f29e274..00000000000 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/matchMedia-display-none-iframe.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[matchMedia-display-none-iframe.html] - expected: ERROR diff --git a/tests/wpt/metadata-layout-2020/custom-elements/reactions/HTMLMediaElement.html.ini b/tests/wpt/metadata-layout-2020/custom-elements/reactions/HTMLMediaElement.html.ini deleted file mode 100644 index 2ca05f57bb0..00000000000 --- a/tests/wpt/metadata-layout-2020/custom-elements/reactions/HTMLMediaElement.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[HTMLMediaElement.html] - expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini index 1108106dc02..0fbcc4b3e75 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini @@ -312,18 +312,24 @@ [Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] expected: NOTRUN - [<iframe>: separate response Content-Type: text/plain */*;charset=gbk] + [<iframe>: separate response Content-Type: text/html;" text/plain] expected: FAIL - [<iframe>: separate response Content-Type: text/html;" text/plain] + [<iframe>: separate response Content-Type: text/html;x=" text/plain] expected: FAIL - [<iframe>: combined response Content-Type: */* text/html] + [<iframe>: separate response Content-Type: text/html;" \\" text/plain] expected: FAIL - [<iframe>: separate response Content-Type: text/html;x=" text/plain] + [<iframe>: combined response Content-Type: text/html */*] expected: FAIL - [<iframe>: separate response Content-Type: text/html;" \\" text/plain] + [<iframe>: separate response Content-Type: text/html */*;charset=gbk] + expected: FAIL + + [<iframe>: separate response Content-Type: text/plain */*] + expected: FAIL + + [<iframe>: combined response Content-Type: text/html;" \\" text/plain] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini index d2df9b78483..25318ac5846 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini @@ -53,6 +53,6 @@ [combined text/javascript ] expected: FAIL - [separate text/javascript x/x] + [separate text/javascript error] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini new file mode 100644 index 00000000000..87b07c3e670 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini @@ -0,0 +1,4 @@ +[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_5.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini index dc2e45516de..385376c7321 100644 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini +++ b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini @@ -1,4 +1,4 @@ -[traverse_the_history_5.html] +[traverse_the_history_4.html] [Multiple history traversals, last would be aborted] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini new file mode 100644 index 00000000000..735a9a75a2a --- /dev/null +++ b/tests/wpt/metadata-layout-2020/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini @@ -0,0 +1,2 @@ +[cross-origin-objects-on-new-window.html] + expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini b/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini index f45aaafe1c5..d81ae5a4949 100644 --- a/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini +++ b/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini @@ -1,16 +1,17 @@ [supported-elements.html] + expected: TIMEOUT [Contenteditable element should support autofocus] expected: FAIL [Host element with delegatesFocus including no focusable descendants should be skipped] - expected: FAIL + expected: NOTRUN [Element with tabindex should support autofocus] expected: FAIL [Area element should support autofocus] - expected: FAIL + expected: NOTRUN [Host element with delegatesFocus should support autofocus] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini index d913fcbb129..3080be9afc0 100644 --- a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini +++ b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini @@ -1,5 +1,5 @@ [iframe_sandbox_popups_nonescaping-1.html] - expected: TIMEOUT + expected: CRASH [Check that popups from a sandboxed iframe do not escape the sandbox] expected: NOTRUN diff --git a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini index 7a36937927c..f4f994c5d6f 100644 --- a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini +++ b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini @@ -1,4 +1,5 @@ [iframe_sandbox_popups_nonescaping-3.html] + expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini b/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini index dbec6f2c2ff..450c88bd32b 100644 --- a/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini +++ b/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini @@ -3,3 +3,6 @@ [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-layout-2020/webmessaging/with-ports/017.html.ini b/tests/wpt/metadata-layout-2020/webmessaging/with-ports/017.html.ini new file mode 100644 index 00000000000..064cf47545b --- /dev/null +++ b/tests/wpt/metadata-layout-2020/webmessaging/with-ports/017.html.ini @@ -0,0 +1,5 @@ +[017.html] + expected: TIMEOUT + [origin of the script that invoked the method, about:blank] + expected: TIMEOUT + diff --git a/tests/wpt/metadata-layout-2020/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata-layout-2020/workers/constructors/Worker/Worker-constructor.html.ini deleted file mode 100644 index 80f9a4f15b8..00000000000 --- a/tests/wpt/metadata-layout-2020/workers/constructors/Worker/Worker-constructor.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[Worker-constructor.html] - expected: ERROR diff --git a/tests/wpt/metadata-layout-2020/workers/shared-worker-in-data-url-context.window.js.ini b/tests/wpt/metadata-layout-2020/workers/shared-worker-in-data-url-context.window.js.ini index 10dda3a6659..6d92f8835c6 100644 --- a/tests/wpt/metadata-layout-2020/workers/shared-worker-in-data-url-context.window.js.ini +++ b/tests/wpt/metadata-layout-2020/workers/shared-worker-in-data-url-context.window.js.ini @@ -1,7 +1,8 @@ [shared-worker-in-data-url-context.window.html] + expected: TIMEOUT [Create a shared worker in a data url frame] - expected: FAIL + expected: TIMEOUT [Create a data url shared worker in a data url frame] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 2bcc03b49ce..899574c9cd5 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -24300,6 +24300,34 @@ }, "print-reftest": { "css": { + "css-flexbox": { + "break-nested-float-in-flex-item-001-print.html": [ + "1994190bf9432a53e696909d9432b17b244ab819", + [ + null, + [ + [ + "/css/css-flexbox/break-nested-float-in-flex-item-print-ref.html", + "==" + ] + ], + {} + ] + ], + "break-nested-float-in-flex-item-002-print.html": [ + "83f47c47250a3b424276376505973bbb8162da26", + [ + null, + [ + [ + "/css/css-flexbox/break-nested-float-in-flex-item-print-ref.html", + "==" + ] + ], + {} + ] + ] + }, "css-multicol": { "column-balancing-paged-001-print.html": [ "cf8e343d0fff9c576ad88f00a4f68b310bf0e65d", @@ -124239,6 +124267,45 @@ {} ] ], + "break-float-dynamic-001.html": [ + "f849b148fb6f9253c6f32dda72116a8066c287f8", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "break-float-dynamic-002.html": [ + "93e30ff04eecd443d1abaa326980a1aaa70ca555", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "break-overflowed-block-dynamic-001.html": [ + "9afdab1d8b4021261ad0ccf51f5d2d487afee830", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], "fieldset-001.html": [ "d320fe15bebcfbdd332ee9411b548dab60f8fba6", [ @@ -179667,6 +179734,19 @@ {} ] ], + "lone-cr-001.tentative.html": [ + "ed5ff05a70d276e0d2987e82d6f8daf6e5b1cf85", + [ + null, + [ + [ + "/css/css-text/white-space/lone-cr-001-ref.html", + "==" + ] + ], + {} + ] + ], "pre-float-001.html": [ "8dd08d80992e6d6310a6697f84c2533d399c8e5e", [ @@ -294164,6 +294244,10 @@ "57f4307ca0c60174495221d27d2a739f14a94abe", [] ], + "break-nested-float-in-flex-item-print-ref.html": [ + "e867430bc63e3420004af5d377a1cc1edc4e75a8", + [] + ], "css-flexbox-column-ref.html": [ "b0287c2490bb8c1332e26a747fc2d5ed7cf48e2a", [] @@ -310637,6 +310721,10 @@ ] }, "white-space": { + "lone-cr-001-ref.html": [ + "943daefee058239e51eef2a4c6b1b46471508696", + [] + ], "reference": { "break-spaces-tab-003-ref.html": [ "52a8c491cca2da9426e318d2e36786d05fe74e06", @@ -337343,7 +337431,11 @@ "bf6a1ae5bfe16e4fd50296636894859a0ee25ec1", [] ] - } + }, + "target_blank_implicit_noopener.html.ini": [ + "532ba627866dd5ad0c0fd598a51d77e9effc3921", + [] + ] }, "linktypes": { "alternate-css-ref.html": [ @@ -511106,7 +511198,14 @@ ] ], "keysplines-x-limits.html": [ - "3c9ba65059f99dfbad262a4df65cf1eba0a4f0d8", + "376f04e659eb74cdff621583888e0e15fda73385", + [ + null, + {} + ] + ], + "keysplines-y-limits.html": [ + "ccfbbe39576c55e032a1808fec2b1796c570a09b", [ null, {} 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-003.html.ini index 4bfb0c2053a..f29da48a2a0 100644 --- a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-004.html.ini +++ b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-003.html.ini @@ -1,4 +1,4 @@ -[hit-test-floats-004.html] +[hit-test-floats-003.html] [Miss float below something else] 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 94a3570d26b..076c791cd3d 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,6 +8,9 @@ [[data-expected-height\] 3] expected: FAIL - [[data-expected-height\] 4] + [[data-expected-height\] 1] + expected: FAIL + + [[data-expected-height\] 2] expected: FAIL diff --git a/tests/wpt/metadata/css/css-images/image-orientation/image-orientation-iframe.html.ini b/tests/wpt/metadata/css/css-images/image-orientation/image-orientation-iframe.html.ini new file mode 100644 index 00000000000..78157036e5b --- /dev/null +++ b/tests/wpt/metadata/css/css-images/image-orientation/image-orientation-iframe.html.ini @@ -0,0 +1,2 @@ +[image-orientation-iframe.html] + expected: TIMEOUT diff --git a/tests/wpt/metadata/css/css-text/white-space/lone-cr-001.tentative.html.ini b/tests/wpt/metadata/css/css-text/white-space/lone-cr-001.tentative.html.ini new file mode 100644 index 00000000000..7c155129bdd --- /dev/null +++ b/tests/wpt/metadata/css/css-text/white-space/lone-cr-001.tentative.html.ini @@ -0,0 +1,2 @@ +[lone-cr-001.tentative.html] + 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 f8e7e539aae..4a1e8110f6f 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 @@ -2,6 +2,3 @@ [Hit test intersecting scaled box] expected: FAIL - [Hit test within unscaled box] - 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 e38782d8c85..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[elementFromPoint-001.html] - [CSSOM View - 5 - extensions to the Document interface] - expected: FAIL - diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini index 85e94926cb3..5733d536fd3 100644 --- a/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini +++ b/tests/wpt/metadata/css/cssom-view/elementFromPosition.html.ini @@ -21,3 +21,6 @@ [test the top of layer] expected: FAIL + [test some point of the element: top left corner] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini b/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini deleted file mode 100644 index e6e1f29e274..00000000000 --- a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[matchMedia-display-none-iframe.html] - expected: ERROR diff --git a/tests/wpt/metadata/custom-elements/reactions/HTMLMediaElement.html.ini b/tests/wpt/metadata/custom-elements/reactions/HTMLMediaElement.html.ini deleted file mode 100644 index 2ca05f57bb0..00000000000 --- a/tests/wpt/metadata/custom-elements/reactions/HTMLMediaElement.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[HTMLMediaElement.html] - expected: TIMEOUT diff --git a/tests/wpt/metadata/fetch/content-type/response.window.js.ini b/tests/wpt/metadata/fetch/content-type/response.window.js.ini index 7d6598cebed..c67e6b9f083 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -312,18 +312,24 @@ [fetch(): separate response Content-Type: text/plain ] expected: NOTRUN - [<iframe>: separate response Content-Type: text/plain */*;charset=gbk] + [<iframe>: separate response Content-Type: text/html;" text/plain] expected: FAIL - [<iframe>: separate response Content-Type: text/html;" text/plain] + [<iframe>: separate response Content-Type: text/html;x=" text/plain] expected: FAIL - [<iframe>: combined response Content-Type: */* text/html] + [<iframe>: separate response Content-Type: text/html;" \\" text/plain] expected: FAIL - [<iframe>: separate response Content-Type: text/html;x=" text/plain] + [<iframe>: combined response Content-Type: text/html */*] expected: FAIL - [<iframe>: separate response Content-Type: text/html;" \\" text/plain] + [<iframe>: separate response Content-Type: text/html */*;charset=gbk] + expected: FAIL + + [<iframe>: separate response Content-Type: text/plain */*] + expected: FAIL + + [<iframe>: combined response Content-Type: text/html;" \\" text/plain] expected: FAIL diff --git a/tests/wpt/metadata/fetch/content-type/script.window.js.ini b/tests/wpt/metadata/fetch/content-type/script.window.js.ini index d2df9b78483..25318ac5846 100644 --- a/tests/wpt/metadata/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/script.window.js.ini @@ -53,6 +53,6 @@ [combined text/javascript ] expected: FAIL - [separate text/javascript x/x] + [separate text/javascript error] 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..87b07c3e670 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_1.html] + [Multiple history traversals from the same task] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini index dc2e45516de..385376c7321 100644 --- a/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini @@ -1,4 +1,4 @@ -[traverse_the_history_5.html] +[traverse_the_history_4.html] [Multiple history traversals, last would be aborted] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini b/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini new file mode 100644 index 00000000000..735a9a75a2a --- /dev/null +++ b/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini @@ -0,0 +1,2 @@ +[cross-origin-objects-on-new-window.html] + expected: TIMEOUT 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 6b68e9094e4..dab21cae5d8 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 @@ -6,11 +7,11 @@ expected: FAIL [Host element with delegatesFocus including no focusable descendants should be skipped] - expected: FAIL + expected: NOTRUN [Area element should support autofocus] - expected: FAIL + expected: NOTRUN [Host element with delegatesFocus should support autofocus] - expected: FAIL + expected: TIMEOUT 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 9df1ac56f2a..963d4cd20ef 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,6 +1,6 @@ [iframe_sandbox_popups_nonescaping-1.html] type: testharness - expected: TIMEOUT + expected: CRASH [Check that popups from a sandboxed iframe do not escape the sandbox] expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini index dc856a3d5a3..e440b1e38c6 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini @@ -1,5 +1,6 @@ [iframe_sandbox_popups_nonescaping-3.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/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 0cef5158fae..01f7b72cbe7 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 @@ -4,3 +4,6 @@ [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/webmessaging/with-ports/017.html.ini b/tests/wpt/metadata/webmessaging/with-ports/017.html.ini new file mode 100644 index 00000000000..064cf47545b --- /dev/null +++ b/tests/wpt/metadata/webmessaging/with-ports/017.html.ini @@ -0,0 +1,5 @@ +[017.html] + expected: TIMEOUT + [origin of the script that invoked the method, about:blank] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini deleted file mode 100644 index 80f9a4f15b8..00000000000 --- a/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[Worker-constructor.html] - expected: ERROR diff --git a/tests/wpt/metadata/workers/shared-worker-in-data-url-context.window.js.ini b/tests/wpt/metadata/workers/shared-worker-in-data-url-context.window.js.ini index 10dda3a6659..6d92f8835c6 100644 --- a/tests/wpt/metadata/workers/shared-worker-in-data-url-context.window.js.ini +++ b/tests/wpt/metadata/workers/shared-worker-in-data-url-context.window.js.ini @@ -1,7 +1,8 @@ [shared-worker-in-data-url-context.window.html] + expected: TIMEOUT [Create a shared worker in a data url frame] - expected: FAIL + expected: TIMEOUT [Create a data url shared worker in a data url frame] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/web-platform-tests/css/css-break/break-float-dynamic-001.html b/tests/wpt/web-platform-tests/css/css-break/break-float-dynamic-001.html new file mode 100644 index 00000000000..f849b148fb6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-break/break-float-dynamic-001.html @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<!-- Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ --> +<html> + <meta charset="utf-8"> + <title>Test for dynamic re-pagination of a nested float element</title> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks"> + <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961"> + <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> + + <style> + #multicol { + columns: 2; + column-fill: auto; + column-gap: 0; + height: 400px; /* Must be large enough so that .target doesn't break initially. */ + width: 100px; + background: red; + } + .block { + width: 50px; + background: green; + } + .target { + float: left; + height: 160px; /* Expected to be broken into 2 columns after runTest() */ + } + </style> + + <script> + function runTest() { + document.body.offsetHeight; + document.getElementById("multicol").style.height = "100px"; + } + </script> + + <body onload="runTest()"> + <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + <div id="multicol"> + <div> + <div class="block" style="height: 40px"></div> + <div class="block target"></div> + </div> + </div> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-break/break-float-dynamic-002.html b/tests/wpt/web-platform-tests/css/css-break/break-float-dynamic-002.html new file mode 100644 index 00000000000..93e30ff04ee --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-break/break-float-dynamic-002.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<!-- Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ --> +<html> + <meta charset="utf-8"> + <title>Test for dynamic re-pagination of a nested float element with clearance</title> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks"> + <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961"> + <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> + + <style> + #multicol { + columns: 2; + column-fill: auto; + column-gap: 0; + height: 400px; /* Must be large enough so that .target doesn't break initially. */ + width: 100px; + background: red; + } + .block { + width: 50px; + background: green; + } + .target { + float: left; + height: 160px; /* Expected to be broken into 2 columns after runTest() */ + } + </style> + + <script> + function runTest() { + document.body.offsetHeight; + document.getElementById("multicol").style.height = "100px"; + } + </script> + + <body onload="runTest()"> + <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + <div id="multicol"> + <div> + <div class="block" style="height: 40px"></div> + <div class="block target"></div> + <div style="clear: both"></div> + </div> + </div> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-break/break-overflowed-block-dynamic-001.html b/tests/wpt/web-platform-tests/css/css-break/break-overflowed-block-dynamic-001.html new file mode 100644 index 00000000000..9afdab1d8b4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-break/break-overflowed-block-dynamic-001.html @@ -0,0 +1,47 @@ +<!DOCTYPE html> +<!-- Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ --> +<html> + <meta charset="utf-8"> + <title>Test for dynamic re-pagination of a overflowed block element</title> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks"> + <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961"> + <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> + + <style> + #multicol { + columns: 2; + column-fill: auto; + column-gap: 0; + height: 400px; /* Must be large enough so that .target doesn't break initially. */ + width: 100px; + background: red; + } + #block { + height: 25px; + } + #target { + background: green; + width: 50px; + height: 200px; /* Expected to be broken into 2 columns after runTest() */ + } + </style> + + <script> + function runTest() { + document.body.offsetHeight; + document.getElementById("multicol").style.height = "100px"; + } + </script> + + <body onload="runTest()"> + <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + <div id="multicol"> + <div id="block"> + <div id="target"></div> + </div> + </div> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-001-print.html b/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-001-print.html new file mode 100644 index 00000000000..1994190bf94 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-001-print.html @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<!-- Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ --> +<html> + <meta charset="utf-8"> + <title>CSS Flexbox Test Reference: Test for pagination of a nested float element in a flex item in a printing context</title> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks"> + <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961"> + <link rel="match" href="break-nested-float-in-flex-item-print-ref.html"> + + <style> + @page { size:5in 3in; margin:0.5in; } + + html, body { + margin: 0; + } + #flex { + display: flex; + flex-wrap: nowrap; + flex-direction: column; + } + #target { + float: left; + background: green; + width: 2in; + height: 6in; /* Expected to cover 3 pages. */ + } + </style> + + <body> + <div id="flex"> + <div> + <div> + <div> + <!-- target needs to be deeply nested under a flex item. --> + <div id="target"></div> + </div> + </div> + </div> + </div> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-002-print.html b/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-002-print.html new file mode 100644 index 00000000000..83f47c47250 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-002-print.html @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<!-- Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ --> +<html> + <meta charset="utf-8"> + <title>CSS Flexbox Test Reference: Test for pagination of a nested float element with clearance in a flex item in a printing context</title> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks"> + <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961"> + <link rel="match" href="break-nested-float-in-flex-item-print-ref.html"> + + <style> + @page { size:5in 3in; margin:0.5in; } + + html, body { + margin: 0; + } + #flex { + display: flex; + flex-wrap: nowrap; + flex-direction: column; + } + #target { + float: left; + background: green; + width: 2in; + height: 6in; /* Expected to cover 3 pages. */ + } + </style> + + <body> + <div id="flex"> + <div> + <div> + <div> + <!-- target needs to be deeply nested under a flex item. --> + <div id="target"></div> + <div style="clear:both"></div> + </div> + </div> + </div> + </div> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-print-ref.html b/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-print-ref.html new file mode 100644 index 00000000000..e867430bc63 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-flexbox/break-nested-float-in-flex-item-print-ref.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<!-- Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ --> +<html> + <meta charset="utf-8"> + <title>CSS Flexbox Test: Test for pagination of a nested float element in a flex item in a printing context</title> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + + <style> + @page { size:5in 3in; margin:0.5in; } + + html, body { + margin: 0; + } + #target { + background: green; + width: 2in; + height: 6in; /* Expected to cover 3 pages. */ + } + </style> + + <body> + <div id="target"></div> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/lone-cr-001-ref.html b/tests/wpt/web-platform-tests/css/css-text/white-space/lone-cr-001-ref.html new file mode 100644 index 00000000000..943daefee05 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/lone-cr-001-ref.html @@ -0,0 +1,3 @@ +<!doctype html> +<title>CSS Test Reference</title> +<p>A B</p> diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/lone-cr-001.tentative.html b/tests/wpt/web-platform-tests/css/css-text/white-space/lone-cr-001.tentative.html new file mode 100644 index 00000000000..ed5ff05a70d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/lone-cr-001.tentative.html @@ -0,0 +1,10 @@ +<!doctype html> +<title>Lone CR shouldn't cause previous spaces to collapse</title> +<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> +<link rel="author" href="https://mozilla.org" title="Mozilla"> +<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1657437"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules"> +<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/855#issuecomment-380435969"> +<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5410"> +<link rel="match" href="lone-cr-001-ref.html"> +<p>A 
B</p> diff --git a/tests/wpt/web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener.html.ini b/tests/wpt/web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener.html.ini new file mode 100644 index 00000000000..532ba627866 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener.html.ini @@ -0,0 +1,3 @@ +[target_blank_implicit_noopener.html] + expected: + if os == "android": ["TIMEOUT", "OK"] diff --git a/tests/wpt/web-platform-tests/svg/animations/keysplines-x-limits.html b/tests/wpt/web-platform-tests/svg/animations/keysplines-x-limits.html index 3c9ba65059f..376f04e659e 100644 --- a/tests/wpt/web-platform-tests/svg/animations/keysplines-x-limits.html +++ b/tests/wpt/web-platform-tests/svg/animations/keysplines-x-limits.html @@ -22,6 +22,26 @@ <animate attributeName="x" values="0; 250" dur="5s" keyTimes="0; 1" keySplines="0 0 2 1" calcMode="spline"/> </rect> + <rect x="10" width="10" height="10" y="50" fill="blue"> + <animateMotion values="0,50; 250,50" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="-10 0 1 1" + calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="60" fill="blue"> + <animateMotion values="0,60; 250,60" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="10 0 1 1" + calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="70" fill="blue"> + <animateMotion values="0,70; 250,70" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="0 0 -10 1" + calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="80" fill="blue"> + <animateMotion values="0,80; 250,80" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="0 0 10 1" + calcMode="spline"/> + </rect> </svg> <script> async_test(t => { @@ -36,6 +56,10 @@ assert_equals(rects[2].getBBox().x, 10, 'first control point x greater than one'); assert_equals(rects[3].getBBox().x, 10, 'second control point x less than zero'); assert_equals(rects[4].getBBox().x, 10, 'second control point x greater than one'); + assert_equals(rects[5].getBBox().x, 10, 'first control point x less than zero'); + assert_equals(rects[6].getBBox().x, 10, 'first control point x greater than one'); + assert_equals(rects[7].getBBox().x, 10, 'second control point x less than zero'); + assert_equals(rects[8].getBBox().x, 10, 'second control point x greater than one'); })); }); }); diff --git a/tests/wpt/web-platform-tests/svg/animations/keysplines-y-limits.html b/tests/wpt/web-platform-tests/svg/animations/keysplines-y-limits.html new file mode 100644 index 00000000000..ccfbbe39576 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/keysplines-y-limits.html @@ -0,0 +1,67 @@ +<!DOCTYPE html> +<title>'keySplines' with y-values outside of the 0 to 1 range</title> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<svg> + <rect x="10" width="10" height="10" fill="blue"> + <animate attributeName="x" values="0; 250" dur="5s"/> + </rect> + <rect x="10" width="10" height="10" y="20" fill="blue"> + <animate attributeName="x" values="0; 250" dur="5s" + keyTimes="0; 1" keySplines="0 -1 1 1" calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="30" fill="blue"> + <animate attributeName="x" values="0; 250" dur="5s" + keyTimes="0; 1" keySplines="0 2 1 1" calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="10" fill="blue"> + <animate attributeName="x" values="0; 250" dur="5s" + keyTimes="0; 1" keySplines="0 0 1 -1" calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="40" fill="blue"> + <animate attributeName="x" values="0; 250" dur="5s" + keyTimes="0; 1" keySplines="0 0 1 2" calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="50" fill="blue"> + <animateMotion values="0,50; 250,50" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="0 -10 1 1" + calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="60" fill="blue"> + <animateMotion values="0,60; 250,60" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="0 10 1 1" + calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="70" fill="blue"> + <animateMotion values="0,70; 250,70" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="0 0 1 -10" + calcMode="spline"/> + </rect> + <rect x="10" width="10" height="10" y="80" fill="blue"> + <animateMotion values="0,80; 250,80" dur="5s" keyPoints="0; 1" + keyTimes="0; 1" keySplines="0 0 1 10" + calcMode="spline"/> + </rect> +</svg> +<script> + async_test(t => { + let svg = document.querySelector('svg'); + svg.pauseAnimations(); + svg.setCurrentTime(2.5); + window.onload = t.step_func(() => { + requestAnimationFrame(t.step_func_done(() => { + let rects = document.getElementsByTagName('rect'); + assert_equals(rects[0].getBBox().x, 125, 'animations applied'); + assert_equals(rects[1].getBBox().x, 10, 'first control point y less than zero'); + assert_equals(rects[2].getBBox().x, 10, 'first control point y greater than one'); + assert_equals(rects[3].getBBox().x, 10, 'second control point y less than zero'); + assert_equals(rects[4].getBBox().x, 10, 'second control point y greater than one'); + assert_equals(rects[5].getBBox().x, 10, 'first control point y less than zero'); + assert_equals(rects[6].getBBox().x, 10, 'first control point y greater than one'); + assert_equals(rects[7].getBBox().x, 10, 'second control point y less than zero'); + assert_equals(rects[8].getBBox().x, 10, 'second control point y greater than one'); + })); + }); + }); +</script> + |