diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-18 10:11:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-18 10:11:56 -0500 |
commit | 5f9aefb7e08095143c971bba0a6a1198dd47d363 (patch) | |
tree | e540b74c1c5c34b37c4e41fab597c80a9cab049f | |
parent | 34bf312e0caa030b1bbda7b27317c7112ff051c7 (diff) | |
parent | 1eb76da73c53eaa3fb2349da1e4f89492c4b4d19 (diff) | |
download | servo-5f9aefb7e08095143c971bba0a6a1198dd47d363.tar.gz servo-5f9aefb7e08095143c971bba0a6a1198dd47d363.zip |
Auto merge of #22215 - servo-wpt-sync:wpt_update_17-11-2018, r=jdm
Sync WPT with upstream (17-11-2018)
Automated downstream sync of changes from upstream as of 17-11-2018.
[no-wpt-sync]
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22215)
<!-- Reviewable:end -->
27 files changed, 739 insertions, 125 deletions
diff --git a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini index 6a3af4e2ece..3a3d15b8406 100644 --- a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini @@ -37,3 +37,6 @@ [Revoke blob URL after creating Request, will fetch] expected: FAIL + [Revoke blob URL after calling fetch, fetch should succeed] + expected: FAIL + diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index b7fc9784d75..e545fc5665c 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -128241,6 +128241,30 @@ {} ] ], + "css/css-multicol/multicol-span-all-list-item-001.html": [ + [ + "/css/css-multicol/multicol-span-all-list-item-001.html", + [ + [ + "/css/css-multicol/multicol-span-all-list-item-001-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-multicol/multicol-span-all-list-item-002.html": [ + [ + "/css/css-multicol/multicol-span-all-list-item-002.html", + [ + [ + "/css/css-multicol/multicol-span-all-list-item-002-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-multicol/multicol-span-all-margin-001.xht": [ [ "/css/css-multicol/multicol-span-all-margin-001.xht", @@ -263443,6 +263467,16 @@ {} ] ], + "css/css-multicol/multicol-span-all-list-item-001-ref.html": [ + [ + {} + ] + ], + "css/css-multicol/multicol-span-all-list-item-002-ref.html": [ + [ + {} + ] + ], "css/css-multicol/multicol-span-all-margin-001-ref.xht": [ [ {} @@ -318328,47 +318362,52 @@ {} ] ], - "webrtc-stats/META.yml": [ + "webrtc-quic/META.yml": [ [ {} ] ], - "webrtc-stats/README.md": [ + "webrtc-quic/RTCQuicStream-helper.js": [ [ {} ] ], - "webrtc/META.yml": [ + "webrtc-quic/RTCQuicTransport-helper.js": [ [ {} ] ], - "webrtc/RTCConfiguration-helper.js": [ + "webrtc-stats/META.yml": [ [ {} ] ], - "webrtc/RTCDTMFSender-helper.js": [ + "webrtc-stats/README.md": [ [ {} ] ], - "webrtc/RTCIceTransport-extension-helper.js": [ + "webrtc/META.yml": [ [ {} ] ], - "webrtc/RTCPeerConnection-helper.js": [ + "webrtc/RTCConfiguration-helper.js": [ [ {} ] ], - "webrtc/RTCQuicStream-helper.js": [ + "webrtc/RTCDTMFSender-helper.js": [ [ {} ] ], - "webrtc/RTCQuicTransport-helper.js": [ + "webrtc/RTCIceTransport-extension-helper.js": [ + [ + {} + ] + ], + "webrtc/RTCPeerConnection-helper.js": [ [ {} ] @@ -405442,6 +405481,18 @@ {} ] ], + "svg/painting/parsing/stroke-width-invalid.svg": [ + [ + "/svg/painting/parsing/stroke-width-invalid.svg", + {} + ] + ], + "svg/painting/parsing/stroke-width-valid.svg": [ + [ + "/svg/painting/parsing/stroke-width-valid.svg", + {} + ] + ], "svg/painting/scripted/paint-order-computed-value-01.svg": [ [ "/svg/painting/scripted/paint-order-computed-value-01.svg", @@ -410188,6 +410239,18 @@ {} ] ], + "webrtc-quic/RTCQuicStream.https.html": [ + [ + "/webrtc-quic/RTCQuicStream.https.html", + {} + ] + ], + "webrtc-quic/RTCQuicTransport.https.html": [ + [ + "/webrtc-quic/RTCQuicTransport.https.html", + {} + ] + ], "webrtc-stats/idlharness.window.js": [ [ "/webrtc-stats/idlharness.window.html", @@ -410528,18 +410591,6 @@ {} ] ], - "webrtc/RTCQuicStream.https.html": [ - [ - "/webrtc/RTCQuicStream.https.html", - {} - ] - ], - "webrtc/RTCQuicTransport.https.html": [ - [ - "/webrtc/RTCQuicTransport.https.html", - {} - ] - ], "webrtc/RTCRtpParameters-codecs.html": [ [ "/webrtc/RTCRtpParameters-codecs.html", @@ -554948,7 +554999,7 @@ "testharness" ], "css/css-logical/animation-004.html": [ - "48cb58a29e4183d8e80527795b0000fb2f821bf3", + "c1bed638722d0fc10bfb6605b0bdbbdd96284bbb", "testharness" ], "css/css-logical/cascading-001-ref.html": [ @@ -556935,6 +556986,22 @@ "bbcce11c40fb0ef58b686cd4879103bcdfabc479", "reftest" ], + "css/css-multicol/multicol-span-all-list-item-001-ref.html": [ + "4f3fe18a6d5804a4a7a6874fd46d5614c0a8dff2", + "support" + ], + "css/css-multicol/multicol-span-all-list-item-001.html": [ + "59c99614caee2a46f7936676deab5813282639b4", + "reftest" + ], + "css/css-multicol/multicol-span-all-list-item-002-ref.html": [ + "938dae654045c2cac2def96e42cea2d880ce9d64", + "support" + ], + "css/css-multicol/multicol-span-all-list-item-002.html": [ + "6972a95ac9f4cdb052414e865ca6640a77507964", + "reftest" + ], "css/css-multicol/multicol-span-all-margin-001-ref.xht": [ "6605ad8efb3ea3b3e5e6396dbbf31eb572613fef", "support" @@ -591896,11 +591963,11 @@ "reftest" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003-ref.html": [ - "59cb99144e28e06663e09b07bd5e4d6510bcc1b4", + "07b3e5e9b6bdc7aa90b258f5cef236c39cba0b8f", "support" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003.html": [ - "335324281fd87c436a1b66aec08db875be1b7640", + "d2d13786460394396d8b1f7b98e59bfac6d0f1d5", "reftest" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-table-caption-001-ref.html": [ @@ -603560,7 +603627,7 @@ "testharness" ], "encoding/unsupported-encodings.any.js": [ - "461188ea2b4f7c74524970d906f945bb1aa64128", + "edb22839547188aa3dc560e96a6a2215c3df6859", "testharness" ], "encoding/utf-32-from-win1252.html": [ @@ -659311,6 +659378,14 @@ "4499b9249a84a9d7de4a5a101993ad14f9cc21c9", "testharness" ], + "svg/painting/parsing/stroke-width-invalid.svg": [ + "0d3f63d077f29a0a36f6443164dc7f24421a3f62", + "testharness" + ], + "svg/painting/parsing/stroke-width-valid.svg": [ + "312b8923046a2944c052b085dabcf94aab25196a", + "testharness" + ], "svg/painting/reftests/markers-orient-001-ref.svg": [ "871003f3a2303404696d467a7cfaad729b811206", "support" @@ -671587,6 +671662,26 @@ "90363662f742fbf1d31634030d2b470e08fe1421", "support" ], + "webrtc-quic/META.yml": [ + "740c8d2fe84beafbcb7f98cef29aff2378721132", + "support" + ], + "webrtc-quic/RTCQuicStream-helper.js": [ + "a87668f5a21eebd64f810029330989c5be10f037", + "support" + ], + "webrtc-quic/RTCQuicStream.https.html": [ + "ff78f3d86a01b0a6c003b6c580e8aff2f6e07a3b", + "testharness" + ], + "webrtc-quic/RTCQuicTransport-helper.js": [ + "7e28feae0937d4a28710be5f0e807c4af0f7c039", + "support" + ], + "webrtc-quic/RTCQuicTransport.https.html": [ + "081f0b4d976e54301953621a9ef43d3f2c57aa8e", + "testharness" + ], "webrtc-stats/META.yml": [ "10bcf856eb9258e0845f2fdcb6e08c43ebcdf78a", "support" @@ -671839,22 +671934,6 @@ "7de7fcaeb10ef209ece63ad346f668e1c634c4db", "testharness" ], - "webrtc/RTCQuicStream-helper.js": [ - "a87668f5a21eebd64f810029330989c5be10f037", - "support" - ], - "webrtc/RTCQuicStream.https.html": [ - "eed7cffc37fe76cee939b78c612505c31c4f17b1", - "testharness" - ], - "webrtc/RTCQuicTransport-helper.js": [ - "7e28feae0937d4a28710be5f0e807c4af0f7c039", - "support" - ], - "webrtc/RTCQuicTransport.https.html": [ - "3bcc93d95375ccf0bbaa8ba892606099ec8f0bf4", - "testharness" - ], "webrtc/RTCRtpCapabilities-helper.js": [ "fb297c35fb1126e8985ff2f2a0dd1dd824ca5c1d", "support" diff --git a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini index bb5db0ba4eb..74c8ac29f3e 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -143,9 +143,6 @@ [Matching font-style: 'oblique 0deg' should prefer 'oblique 5deg' over 'oblique 15deg 20deg'] expected: FAIL - [Matching font-style: 'oblique 0deg' should prefer 'oblique 15deg 20deg' over 'oblique 30deg 60deg'] - expected: FAIL - [Matching font-style: 'oblique 0deg' should prefer 'oblique 30deg 60deg' over 'oblique 40deg 50deg'] expected: FAIL @@ -188,9 +185,6 @@ [Matching font-style: 'oblique -20deg' should prefer 'oblique 0deg' over 'oblique 30deg 60deg'] expected: FAIL - [Matching font-style: 'oblique -20deg' should prefer 'oblique 30deg 60deg' over 'oblique 40deg 50deg'] - expected: FAIL - [Matching font-style: 'oblique -21deg' should prefer 'oblique -21deg' over 'oblique -60deg -40deg'] expected: FAIL diff --git a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini index 0f798a6df5b..d7ac37e3eab 100644 --- a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini +++ b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini @@ -509,7 +509,7 @@ [single-byte-decoder.html?XMLHttpRequest] - expected: TIMEOUT + expected: CRASH [ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/006.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/006.html.ini new file mode 100644 index 00000000000..c8544361068 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/006.html.ini @@ -0,0 +1,4 @@ +[006.html] + [Link with onclick form submit and href navigation ] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini index a6f7ac6f249..22d1f1d6900 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini @@ -5,5 +5,5 @@ expected: NOTRUN [calling play() on a sufficiently long video should trigger timeupdate event] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html.ini deleted file mode 100644 index c3522eadce0..00000000000 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html.ini +++ /dev/null @@ -1,52 +0,0 @@ -[parse-a-sizes-attribute-width-1000px.html] - [<img srcset="/images/green-1x1.png?e37a 50w, /images/green-16x16.png?e37a 51w" sizes="(min-width:0) min(1px, 100px)"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?f49b 50w, /images/green-16x16.png?f49b 51w" sizes="(min-width:0) max(-200vw, 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e38b 50w, /images/green-16x16.png?e38b 51w" sizes="(min-width:max(-200vw, 0)) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e60 50w, /images/green-16x16.png?e60 51w" sizes="(min-width:0) or (min-width:-1px) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e37b 50w, /images/green-16x16.png?e37b 51w" sizes="(min-width:0) max(-100px, 1px)"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e38a 50w, /images/green-16x16.png?e38a 51w" sizes="(min-width:min(0, 200vw)) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e61 50w, /images/green-16x16.png?e61 51w" sizes="(min-width:0) or (unknown "general-enclosed") 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e36b 50w, /images/green-16x16.png?e36b 51w" sizes="min(-100px, 1px)"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?f48b 50w, /images/green-16x16.png?f48b 51w" sizes="max(-200vw, 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?f48a 50w, /images/green-16x16.png?f48a 51w" sizes="min(1px, 200vw"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e38 50w, /images/green-16x16.png?e38 51w" sizes="(min-width:calc(0)) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e58 50w, /images/green-16x16.png?e58 51w" sizes="(min-width:0) or (unknown-mf-name) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e62 50w, /images/green-16x16.png?e62 51w" sizes="(min-width:0) or unknown-general-enclosed(foo) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e59 50w, /images/green-16x16.png?e59 51w" sizes="(min-width:0) or (min-width:unknown-mf-value) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e106 50w, /images/green-16x16.png?e106 51w" sizes="(min-width:0) or (unknown-general-enclosed !) 1px"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?e36a 50w, /images/green-16x16.png?e36a 51w" sizes="min(1px, 100px)"> ref sizes="1px" (width:1000px)] - expected: FAIL - - [<img srcset="/images/green-1x1.png?f49a 50w, /images/green-16x16.png?f49a 51w" sizes="(min-width:0) min(1px, 200vw"> ref sizes="1px" (width:1000px)] - expected: FAIL - diff --git a/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini b/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini new file mode 100644 index 00000000000..9e522297c94 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini @@ -0,0 +1,7 @@ +[toggleEvent.html] + [Calling open twice on 'details' fires only one toggle event] + expected: FAIL + + [Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element] + expected: FAIL + diff --git a/tests/wpt/metadata/quirks/unitless-length/no-quirks.html.ini b/tests/wpt/metadata/quirks/unitless-length/no-quirks.html.ini new file mode 100644 index 00000000000..818a429ed39 --- /dev/null +++ b/tests/wpt/metadata/quirks/unitless-length/no-quirks.html.ini @@ -0,0 +1,283 @@ +[no-quirks.html] + [top: -\\31 .5] + expected: FAIL + + [bottom: -1A] + expected: FAIL + + [bottom: -1a] + expected: FAIL + + [top: @1] + expected: FAIL + + [top: "1a"] + expected: FAIL + + [top: @a] + expected: FAIL + + [bottom: "1"] + expected: FAIL + + [bottom: -/**/1] + expected: FAIL + + [top: +/**/1] + expected: FAIL + + [bottom: @1a] + expected: FAIL + + [top: 1\\31 ] + expected: FAIL + + [top: url('1')] + expected: FAIL + + [bottom: -\\31 ] + expected: FAIL + + [top: calc(1)] + expected: FAIL + + [top: \\31 ] + expected: FAIL + + [bottom: +1\\31 ] + expected: FAIL + + [bottom: 1\\31 .5] + expected: FAIL + + [bottom: #0001] + expected: FAIL + + [top: calc(2 * 2px)] + expected: FAIL + + [bottom: 1a] + expected: FAIL + + [bottom: A] + expected: FAIL + + [bottom: #01] + expected: FAIL + + [top: +\\31 .5] + expected: FAIL + + [bottom: #1] + expected: FAIL + + [top: -/**/1] + expected: FAIL + + [bottom: +\\31 .5] + expected: FAIL + + [bottom: \\31 ] + expected: FAIL + + [bottom: calc(1)] + expected: FAIL + + [top: #001] + expected: FAIL + + [top: +\\31 ] + expected: FAIL + + [bottom: +\\31 ] + expected: FAIL + + [top: +1.5] + expected: FAIL + + [top: +1\\31 ] + expected: FAIL + + [bottom: @a] + expected: FAIL + + [bottom: @1] + expected: FAIL + + [top: #1] + expected: FAIL + + [top: 1a] + expected: FAIL + + [bottom: +1a] + expected: FAIL + + [bottom: +1A] + expected: FAIL + + [bottom: "a"] + expected: FAIL + + [top: #00001] + expected: FAIL + + [bottom: -1\\31 .5] + expected: FAIL + + [top: "1"] + expected: FAIL + + [bottom: 1.5] + expected: FAIL + + [bottom: -\\31 .5] + expected: FAIL + + [bottom: url('1')] + expected: FAIL + + [bottom: -1.5] + expected: FAIL + + [top: \\31 .5] + expected: FAIL + + [bottom: "1a"] + expected: FAIL + + [bottom: calc(2 * 2px)] + expected: FAIL + + [bottom: +1\\31 .5] + expected: FAIL + + [bottom: 1\\31 ] + expected: FAIL + + [bottom: +/**/1] + expected: FAIL + + [bottom: #00001] + expected: FAIL + + [top: url(1)] + expected: FAIL + + [bottom: #001] + expected: FAIL + + [top: +1\\31 .5] + expected: FAIL + + [top: -1a] + expected: FAIL + + [top: -1A] + expected: FAIL + + [bottom: url(1)] + expected: FAIL + + [top: a] + expected: FAIL + + [top: A] + expected: FAIL + + [top: #000001] + expected: FAIL + + [top: 1] + expected: FAIL + + [top: 1\\31 .5] + expected: FAIL + + [bottom: a] + expected: FAIL + + [bottom: 1] + expected: FAIL + + [bottom: +1] + expected: FAIL + + [bottom: #000001] + expected: FAIL + + [bottom: +a] + expected: FAIL + + [bottom: +A] + expected: FAIL + + [top: 1.5] + expected: FAIL + + [top: +A] + expected: FAIL + + [top: +a] + expected: FAIL + + [top: +1] + expected: FAIL + + [top: -1.5] + expected: FAIL + + [top: -1\\31 .5] + expected: FAIL + + [top: +1a] + expected: FAIL + + [top: +1A] + expected: FAIL + + [top: @1a] + expected: FAIL + + [bottom: \\31 .5] + expected: FAIL + + [top: "a"] + expected: FAIL + + [top: #01] + expected: FAIL + + [bottom: +1.5] + expected: FAIL + + [bottom: -A] + expected: FAIL + + [bottom: -a] + expected: FAIL + + [bottom: -1\\31 ] + expected: FAIL + + [top: #0001] + expected: FAIL + + [bottom: -1] + expected: FAIL + + [top: -\\31 ] + expected: FAIL + + [top: -A] + expected: FAIL + + [top: -a] + expected: FAIL + + [top: -1] + expected: FAIL + + [top: -1\\31 ] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini index 66bd350083b..a56bad443a2 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini @@ -1,4 +1,5 @@ [realtimeanalyser-fft-scaling.html] + expected: TIMEOUT [X 2048-point FFT peak position is not equal to 64. Got 0.] expected: FAIL diff --git a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini index f806a845a2a..9d72f08e38e 100644 --- a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini +++ b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini @@ -1,6 +1,5 @@ [005.html] type: testharness - expected: ERROR [dedicated worker in shared worker in dedicated worker] expected: FAIL diff --git a/tests/wpt/web-platform-tests/css/css-logical/animation-004.html b/tests/wpt/web-platform-tests/css/css-logical/animation-004.html index 48cb58a29e4..c1bed638722 100644 --- a/tests/wpt/web-platform-tests/css/css-logical/animation-004.html +++ b/tests/wpt/web-platform-tests/css/css-logical/animation-004.html @@ -28,14 +28,22 @@ function makeDeclaration(object = {}) { * element before starting the transition. * @param finalStyles A dictionary object with property names and values towards which * the element will transition. + * @param [transitionStyles] An optional dictionary object to costumize the transition. */ -function transition(t, baseStyles, finalStyles) { +function transition(t, baseStyles, finalStyles, transitionStyles = {}) { // Clear styles from previous test. testEl.style.cssText = ""; testEl.className = ""; getComputedStyle(testEl).height; - // Set base styles + // Set base and final styles + addStyle(t, { + "#test": makeDeclaration(baseStyles), + "#test.transition": makeDeclaration(finalStyles), + }); + getComputedStyle(testEl).height; + + // Set transition styles const defaultTransition = { "transition-property": Object.keys(finalStyles).join(", "), "transition-timing-function": "linear", @@ -43,10 +51,8 @@ function transition(t, baseStyles, finalStyles) { "transition-delay": "-5s", }; addStyle(t, { - "#test": makeDeclaration(Object.assign(defaultTransition, baseStyles)), - "#test.transition": makeDeclaration(finalStyles), + "#test": makeDeclaration(Object.assign(defaultTransition, transitionStyles)), }); - getComputedStyle(testEl).height; // Start the transition testEl.className = "transition"; @@ -95,22 +101,22 @@ test(t => { }, 'Declaration order is respected within declaration blocks'); test(t => { - transition(t, { - "transition-timing-function": "step-start", - }, { + transition(t, {}, { "margin-top": "200px", "margin-block-start": "100px" + }, { + "transition-timing-function": "step-start", }); assert_equals(getComputedStyle(testEl).marginTop, '100px'); }, 'Logical properties are able to override physical properties in declaration blocks'); test(t => { - transition(t, { - "transition-timing-function": "step-start", - }, { + transition(t, {}, { "margin-inline": "200px", "margin-inline-start": "0px", "margin-inline-start": "100px", + }, { + "transition-timing-function": "step-start", }); assert_equals(getComputedStyle(testEl).marginLeft, '100px'); }, 'Declaration order is respected amongst logical properties within declaration blocks'); @@ -153,12 +159,13 @@ test(t => { promise_test(async t => { transition(t, { - "transition-delay": "-9.9s", "width": "0px", "height": "0px", "block-size": "0px", }, { "block-size": "100px", + }, { + "transition-delay": "-9.9s", }); const watcher = new EventWatcher(t, testEl, [ 'transitionend' ]); await watcher.wait_for('transitionend'); @@ -247,4 +254,31 @@ test(t => { assert_equals(getComputedStyle(testEl).marginRight, '50px'); }, 'Transitions update when the direction is changed'); +test(t => { + transition(t, { + "margin-inline-start": "100px", + }, { + "margin-left": "200px", + }); + assert_equals(getComputedStyle(testEl).marginLeft, '150px'); + assert_equals(getComputedStyle(testEl).marginRight, '0px'); + + testEl.style.direction = 'rtl'; + assert_equals(getComputedStyle(testEl).marginLeft, '150px'); + assert_equals(getComputedStyle(testEl).marginRight, '100px'); +}, 'Transitions from logical to physical update when the direction is changed'); + +test(t => { + transition(t, { + "margin-left": "200px", + }, { + "margin-inline-start": "100px", + }); + assert_equals(getComputedStyle(testEl).marginLeft, '150px'); + assert_equals(getComputedStyle(testEl).marginRight, '0px'); + + testEl.style.direction = 'rtl'; + assert_equals(getComputedStyle(testEl).marginLeft, '200px'); + assert_equals(getComputedStyle(testEl).marginRight, '50px'); +}, 'Transitions from physical to logical update when the direction is changed'); </script> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-001-ref.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-001-ref.html new file mode 100644 index 00000000000..4f3fe18a6d5 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-001-ref.html @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test Reference: columns with list-item and column-span</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + + <style> + li { + width: 300px; + outline: 1px solid black; + margin-bottom: 1em; + } + h3 { + outline: 1px solid blue; + margin: 0; + } + </style> + + <body> + <ul> + <li style="list-style-position: outside;"> + bullet outside + <h3>spanner</h3> + </li> + <li style="list-style-position: inside;"> + bullet inside + <h3>spanner</h3> + </li> + <li style="list-style-position: outside;"> + <h3>spanner (bullet outside)</h3> + </li> + <li style="list-style-position: inside;"> + <h3>spanner (bullet inside)</h3> + </li> + <li style="list-style-position: outside;"> + <div> + <h3>nested spanner (bullet outside)</h3> + </div> + </li> + <li style="list-style-position: inside;"> + <div> + <h3>nested spanner (bullet inside)</h3> + </div> + </li> + </ul> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-001.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-001.html new file mode 100644 index 00000000000..59c99614cae --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-001.html @@ -0,0 +1,53 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: columns with list-item and column-span</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> + <link rel="match" href="multicol-span-all-list-item-001-ref.html"> + <meta name="assert" content="This test checks the columns with list-item are renederd correctly."> + + <style> + li { + column-count: 1; + width: 300px; + outline: 1px solid black; + margin-bottom: 1em; + } + h3 { + column-span: all; + outline: 1px solid blue; + margin: 0; + } + </style> + + <body> + <ul> + <li style="list-style-position: outside;"> + bullet outside + <h3>spanner</h3> + </li> + <li style="list-style-position: inside;"> + bullet inside + <h3>spanner</h3> + </li> + <li style="list-style-position: outside;"> + <h3>spanner (bullet outside)</h3> + </li> + <li style="list-style-position: inside;"> + <h3>spanner (bullet inside)</h3> + </li> + <li style="list-style-position: outside;"> + <div> + <h3>nested spanner (bullet outside)</h3> + </div> + </li> + <li style="list-style-position: inside;"> + <div> + <h3>nested spanner (bullet inside)</h3> + </div> + </li> + </ul> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-002-ref.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-002-ref.html new file mode 100644 index 00000000000..938dae65404 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-002-ref.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test Reference: columns with list-item, column-span, and overflow</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + + <style> + li { + width: 300px; + outline: 1px solid black; + margin-bottom: 1em; + overflow: hidden; + } + h3 { + outline: 1px solid blue; + margin: 0; + } + </style> + + <body> + <ul> + <li style="list-style-position: outside;"> + bullet outside + <h3>spanner</h3> + </li> + <li style="list-style-position: inside;"> + bullet inside + <h3>spanner</h3> + </li> + <li style="list-style-position: outside;"> + <h3>spanner (bullet outside)</h3> + </li> + <li style="list-style-position: inside;"> + <h3>spanner (bullet inside)</h3> + </li> + <li style="list-style-position: outside;"> + <div> + <h3>nested spanner (bullet outside)</h3> + </div> + </li> + <li style="list-style-position: inside;"> + <div> + <h3>nested spanner (bullet inside)</h3> + </div> + </li> + </ul> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-002.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-002.html new file mode 100644 index 00000000000..6972a95ac9f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-list-item-002.html @@ -0,0 +1,54 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: columns with list-item, column-span, and overflow</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> + <link rel="match" href="multicol-span-all-list-item-002-ref.html"> + <meta name="assert" content="This test checks the columns with list-item are renederd correctly."> + + <style> + li { + column-count: 1; + width: 300px; + outline: 1px solid black; + margin-bottom: 1em; + overflow: hidden; + } + h3 { + column-span: all; + outline: 1px solid blue; + margin: 0; + } + </style> + + <body> + <ul> + <li style="list-style-position: outside;"> + bullet outside + <h3>spanner</h3> + </li> + <li style="list-style-position: inside;"> + bullet inside + <h3>spanner</h3> + </li> + <li style="list-style-position: outside;"> + <h3>spanner (bullet outside)</h3> + </li> + <li style="list-style-position: inside;"> + <h3>spanner (bullet inside)</h3> + </li> + <li style="list-style-position: outside;"> + <div> + <h3>nested spanner (bullet outside)</h3> + </div> + </li> + <li style="list-style-position: inside;"> + <div> + <h3>nested spanner (bullet inside)</h3> + </div> + </li> + </ul> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003-ref.html index 59cb99144e2..07b3e5e9b6b 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003-ref.html @@ -28,10 +28,12 @@ </style> </head> <body> + <!-- XXX: This chunk needs to move to a separate test (Bug 1507663) <div class="flexBaselineCheck"> outside before<div class="basic"></div>outside after </div> <br> + --> <div class="basic min col-width-ref"></div> <br> diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003.html index 335324281fd..d2d13786460 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-multicol-003.html @@ -38,10 +38,12 @@ </head> <body> <!--CSS Test: A size-contained multicol element should perform baseline alignment as if it had no contents.--> + <!-- XXX: This chunk needs to move to a separate test (Bug 1507663) <div class="flexBaselineCheck"> outside before<div class="contain"><div class="innerContents">inner</div></div>outside after </div> <br> + --> <!--The following tests are used to ensure column-gaps and column-widths continue to contribute to the minimum and maximum width of a size-contained multicol element. Each should render as if it had no contents.--> diff --git a/tests/wpt/web-platform-tests/encoding/unsupported-encodings.any.js b/tests/wpt/web-platform-tests/encoding/unsupported-encodings.any.js index 461188ea2b4..edb22839547 100644 --- a/tests/wpt/web-platform-tests/encoding/unsupported-encodings.any.js +++ b/tests/wpt/web-platform-tests/encoding/unsupported-encodings.any.js @@ -15,18 +15,18 @@ `${label} with BOM should decode as UTF-16LE`); decode_test(label, - '%41%00%00%00%42%00%00%00', - 'U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0000', - `${label} with no BOM should decode as windows-1252`);; + '%41%00%00%00%42%00%00%C2%80', + 'U+0041/U+0000/U+0000/U+0000/U+0042/U+0000/U+0000/U+0080', + `${label} with no BOM should decode as UTF-8`);; }); ['UTF-32be', 'utf-32be'].forEach(label => { decode_test(label, - '%00%00%00%41%00%00%00%42', - 'U+0000/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042', - `${label} with no BOM should decode as windows-1252`); + '%00%00%00%41%00%00%00%42%C2%80', + 'U+0000/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042/U+0080', + `${label} with no BOM should decode as UTF-8`); decode_test(label, - '%00%00%FE%FF%00%00%00%41%00%00%00%42', - 'U+0000/U+0000/U+00FE/U+00FF/U+0000/U+0000/U+0000/U+0041/U+0000/U+0000/U+0000/U+0042', - `${label} with BOM should decode as windows-1252`); + '%00%00%FE%FF%00%00%00%41%00%C2%80%42', + 'U+0000/U+0000/U+FFFD/U+FFFD/U+0000/U+0000/U+0000/U+0041/U+0000/U+0080/U+0042', + `${label} with BOM should decode as UTF-8`); }); diff --git a/tests/wpt/web-platform-tests/svg/painting/parsing/stroke-width-invalid.svg b/tests/wpt/web-platform-tests/svg/painting/parsing/stroke-width-invalid.svg new file mode 100644 index 00000000000..0d3f63d077f --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/painting/parsing/stroke-width-invalid.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" + xmlns:h="http://www.w3.org/1999/xhtml" + width="800px" height="600px"> + <title>SVG Painting: parsing stroke-width with invalid values</title> + <metadata> + <h:link rel="help" href="https://svgwg.org/svg2-draft/painting.html#StrokeWidth"/> + <h:meta name="assert" content="stroke-width supports only the grammar '<length-percentage>'."/> + </metadata> + <g id="target"></g> + <h:script src="/resources/testharness.js"/> + <h:script src="/resources/testharnessreport.js"/> + <h:script src="/css/support/parsing-testcommon.js"/> + <script><![CDATA[ + +test_invalid_value("stroke-width", "auto"); +test_invalid_value("stroke-width", "10px 20px"); +test_invalid_value("stroke-width", "-1px"); +test_invalid_value("stroke-width", "-10%"); + + ]]></script> +</svg> diff --git a/tests/wpt/web-platform-tests/svg/painting/parsing/stroke-width-valid.svg b/tests/wpt/web-platform-tests/svg/painting/parsing/stroke-width-valid.svg new file mode 100644 index 00000000000..312b8923046 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/painting/parsing/stroke-width-valid.svg @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" + xmlns:h="http://www.w3.org/1999/xhtml" + width="800px" height="600px"> + <title>SVG Painting: parsing stroke-width with valid values</title> + <metadata> + <h:link rel="help" href="https://svgwg.org/svg2-draft/painting.html#StrokeWidth"/> + <h:meta name="assert" content="stroke-width supports the full grammar '<length-percentage>' and unitless."/> + </metadata> + <g id="target"></g> + <h:script src="/resources/testharness.js"/> + <h:script src="/resources/testharnessreport.js"/> + <h:script src="/css/support/parsing-testcommon.js"/> + <script><![CDATA[ + +test_valid_value("stroke-width", "0"); +test_valid_value("stroke-width", "10"); +test_valid_value("stroke-width", "1px"); +test_valid_value("stroke-width", "calc(2em + 3ex)"); +test_valid_value("stroke-width", "4%"); +test_valid_value("stroke-width", "5vmin"); + + ]]></script> +</svg> diff --git a/tests/wpt/web-platform-tests/webrtc-quic/META.yml b/tests/wpt/web-platform-tests/webrtc-quic/META.yml new file mode 100644 index 00000000000..740c8d2fe84 --- /dev/null +++ b/tests/wpt/web-platform-tests/webrtc-quic/META.yml @@ -0,0 +1,5 @@ +spec: https://github.com/w3c/webrtc-quic +suggested_reviewers: + - aboba + - henbos + - steveanton diff --git a/tests/wpt/web-platform-tests/webrtc/RTCQuicStream-helper.js b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicStream-helper.js index a87668f5a21..a87668f5a21 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCQuicStream-helper.js +++ b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicStream-helper.js diff --git a/tests/wpt/web-platform-tests/webrtc/RTCQuicStream.https.html b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicStream.https.html index eed7cffc37f..ff78f3d86a0 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCQuicStream.https.html +++ b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicStream.https.html @@ -3,7 +3,7 @@ <title>RTCQuicStream.https.html</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> -<script src="RTCIceTransport-extension-helper.js"></script> +<script src="../webrtc/RTCIceTransport-extension-helper.js"></script> <script src="RTCQuicTransport-helper.js"></script> <script src="RTCQuicStream-helper.js"></script> <script> diff --git a/tests/wpt/web-platform-tests/webrtc/RTCQuicTransport-helper.js b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicTransport-helper.js index 7e28feae093..7e28feae093 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCQuicTransport-helper.js +++ b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicTransport-helper.js diff --git a/tests/wpt/web-platform-tests/webrtc/RTCQuicTransport.https.html b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicTransport.https.html index 3bcc93d9537..081f0b4d976 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCQuicTransport.https.html +++ b/tests/wpt/web-platform-tests/webrtc-quic/RTCQuicTransport.https.html @@ -3,7 +3,7 @@ <title>RTCQuicTransport.https.html</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> -<script src="RTCIceTransport-extension-helper.js"></script> +<script src="../webrtc/RTCIceTransport-extension-helper.js"></script> <script src="RTCQuicTransport-helper.js"></script> <script> 'use strict'; diff --git a/tests/wpt/webgl/meta/conformance/textures/misc/texture-upload-size.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/texture-upload-size.html.ini index 6d572b37c0b..007aed5868b 100644 --- a/tests/wpt/webgl/meta/conformance/textures/misc/texture-upload-size.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/misc/texture-upload-size.html.ini @@ -20,3 +20,6 @@ [WebGL test #156: could not create image (SVG)] expected: FAIL + [WebGL test #180: could not create image (SVG)] + expected: FAIL + |