Import wpt@7324f63ee5dd03930ad0270f6476fd73b212225f
Using wpt-import in Chromium 932fdb31ad977e5012b3905e8a79b5f4aa577f21.
With Chromium commits locally applied on WPT:
68d5240e06 "[ChromeDriver] Set key modifiers with mouse actions"
a6d9cfdaf7 "[WPT] Changes to generated files by CL 1476144"
4665f96b94 "RestrictDeviceSensorEventsToSecureContexts by default."
03505df617 "[Origin Policy] Implement error reporting via Reporting API"
2c455f7b13 "Move outputContext from XRSession to XRRenderState"
Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md
Directory owners for changes in this CL:
rego@igalia.com:
external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests
NOAUTOREVERT=true
TBR=lukebjerring
No-Export: true
Change-Id: I4657b21944de6dfc1a0f35c8aa408e0dc4684260
Reviewed-on: https://chromium-review.googlesource.com/c/1495746
Reviewed-by: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#636647}
diff --git a/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_5.json b/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_5.json
index d7a8d8a..88e425c 100644
--- a/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_5.json
+++ b/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_5.json
@@ -6843,6 +6843,30 @@
{}
]
],
+ "animation-worklet/worklet-animation-with-scroll-timeline-and-display-none.https.html": [
+ [
+ "/animation-worklet/worklet-animation-with-scroll-timeline-and-display-none.https.html",
+ [
+ [
+ "/animation-worklet/worklet-animation-with-scroll-timeline-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "animation-worklet/worklet-animation-with-scroll-timeline.https.html": [
+ [
+ "/animation-worklet/worklet-animation-with-scroll-timeline.https.html",
+ [
+ [
+ "/animation-worklet/worklet-animation-with-scroll-timeline-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
"apng/animated-png-timeout.html": [
[
"/apng/animated-png-timeout.html",
@@ -116932,6 +116956,11 @@
{}
]
],
+ "animation-worklet/worklet-animation-with-scroll-timeline-ref.html": [
+ [
+ {}
+ ]
+ ],
"apng/META.yml": [
[
{}
@@ -160572,6 +160601,11 @@
{}
]
],
+ "feature-policy/reporting/unoptimized-images-reporting-onload.html.headers": [
+ [
+ {}
+ ]
+ ],
"feature-policy/reporting/unoptimized-images-reporting.html.headers": [
[
{}
@@ -173902,6 +173936,11 @@
{}
]
],
+ "html/user-activation/resources/child-four.html": [
+ [
+ {}
+ ]
+ ],
"html/user-activation/resources/child-one.html": [
[
{}
@@ -236459,6 +236498,12 @@
{}
]
],
+ "feature-policy/reporting/unoptimized-images-reporting-onload.html": [
+ [
+ "/feature-policy/reporting/unoptimized-images-reporting-onload.html",
+ {}
+ ]
+ ],
"feature-policy/reporting/unoptimized-images-reporting.html": [
[
"/feature-policy/reporting/unoptimized-images-reporting.html",
@@ -250323,6 +250368,28 @@
}
]
],
+ "html/user-activation/activation-transfer-cross-origin-with-click.sub.tentative.html": [
+ [
+ "/html/user-activation/activation-transfer-cross-origin-with-click.sub.tentative.html",
+ {
+ "testdriver": true
+ }
+ ]
+ ],
+ "html/user-activation/activation-transfer-with-click.tentative.html": [
+ [
+ "/html/user-activation/activation-transfer-with-click.tentative.html",
+ {
+ "testdriver": true
+ }
+ ]
+ ],
+ "html/user-activation/activation-transfer-without-click.tentative.html": [
+ [
+ "/html/user-activation/activation-transfer-without-click.tentative.html",
+ {}
+ ]
+ ],
"html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html": [
[
"/html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html",
@@ -292369,6 +292436,12 @@
{}
]
],
+ "webxr/xrSession_transfer_outputContext.https.html": [
+ [
+ "/webxr/xrSession_transfer_outputContext.https.html",
+ {}
+ ]
+ ],
"workers/SharedWorker-MessageEvent-source.any.js": [
[
"/workers/SharedWorker-MessageEvent-source.any.sharedworker.html",
@@ -310946,6 +311019,18 @@
"8b72d4e487c455f5e3d4d535a4ddf277fd988d01",
"testharness"
],
+ "animation-worklet/worklet-animation-with-scroll-timeline-and-display-none.https.html": [
+ "6f981854d38877d42b1c7b63afdb9ec989a32d42",
+ "reftest"
+ ],
+ "animation-worklet/worklet-animation-with-scroll-timeline-ref.html": [
+ "fe92232d9afa24f78e9cc7cc3bae341ba2a471bc",
+ "support"
+ ],
+ "animation-worklet/worklet-animation-with-scroll-timeline.https.html": [
+ "000517162af20406e39831afc0b6cefa0b367f2c",
+ "reftest"
+ ],
"apng/META.yml": [
"a660c7e19ebdcb13e7457ea0bb5729e18bfe2e0e",
"support"
@@ -393055,7 +393140,7 @@
"reftest"
],
"css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html": [
- "f94ce03133cedbffdae483b8e1b3d38f3f527fb3",
+ "c88beb38d68432c7e00b611cd70f0f717a7faef9",
"reftest"
],
"css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html": [
@@ -393067,7 +393152,7 @@
"reftest"
],
"css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html": [
- "a1177fd07208c3435ede5ab783199297c6a22d0c",
+ "2b0fabbda7a40a6f9cf972434818c8c438052cbd",
"support"
],
"css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-should-push-ref.html": [
@@ -401122,6 +401207,14 @@
"599137a55d710fe6b8d3052c05c81915622ea0d0",
"support"
],
+ "feature-policy/reporting/unoptimized-images-reporting-onload.html": [
+ "d39b6807d09767ee2859e800c3ca20b27d70cd12",
+ "testharness"
+ ],
+ "feature-policy/reporting/unoptimized-images-reporting-onload.html.headers": [
+ "10b41235409ea38507d9ffe29a18547174351cc3",
+ "support"
+ ],
"feature-policy/reporting/unoptimized-images-reporting.html": [
"fb27a13996a46b0e4592f4d28cc3574ae1745fb5",
"testharness"
@@ -422158,6 +422251,18 @@
"96d17e27c892ec988ba5acdfb60fd1f9edd16571",
"manual"
],
+ "html/user-activation/activation-transfer-cross-origin-with-click.sub.tentative.html": [
+ "dca44dde1da873d48c8fc81257ab32166a75ef08",
+ "testharness"
+ ],
+ "html/user-activation/activation-transfer-with-click.tentative.html": [
+ "ebb4f5f5122176a30d3eca1d5ab82dd8e00722de",
+ "testharness"
+ ],
+ "html/user-activation/activation-transfer-without-click.tentative.html": [
+ "50cce1fcc6ac38a745b5748f4e2d3a3fd3982311",
+ "testharness"
+ ],
"html/user-activation/message-event-activation-api-iframe-cross-origin.sub.tentative.html": [
"63a1da05d0005c33bec1af8a58e7f011d5b09d4c",
"testharness"
@@ -422166,6 +422271,10 @@
"8e2b1d07014e8bd754d943e11672fff0719bbb74",
"testharness"
],
+ "html/user-activation/resources/child-four.html": [
+ "d312803411960cc8b079d159ac3659f6de4e0d83",
+ "support"
+ ],
"html/user-activation/resources/child-one.html": [
"9c99729b6a98022f7449bae62a7bea616308c0c7",
"support"
@@ -437775,7 +437884,7 @@
"manual"
],
"payment-request/payment-request-hasenrolledinstrument-method-protection.https-expected.txt": [
- "6718c1b5bd3c6678f13d83b0dd795e851826ee11",
+ "20a6f53208ac5e4c29a504f3e444066cce5bba89",
"support"
],
"payment-request/payment-request-hasenrolledinstrument-method-protection.https.html": [
@@ -437783,7 +437892,7 @@
"testharness"
],
"payment-request/payment-request-hasenrolledinstrument-method.https-expected.txt": [
- "92e9c38295af30b46ea8751745cc865f06473c6f",
+ "fe7f16769673e2d5b809417456fd1b0c1546d9cc",
"support"
],
"payment-request/payment-request-hasenrolledinstrument-method.https.html": [
@@ -467151,7 +467260,7 @@
"support"
],
"webxr/idlharness.https.window-expected.txt": [
- "13c4479b1f78178585d58dac74d9027bd88efa67",
+ "df76d0f967220e3d22b38530d9440b3e65dc71c6",
"support"
],
"webxr/idlharness.https.window.js": [
@@ -467163,7 +467272,7 @@
"support"
],
"webxr/resources/webxr_util.js": [
- "26e30c48f36f22d1cb7ef6ffe0e6b9e11979f7b9",
+ "e61e4227715f8184b9d7b6dbdd37be82c8680f78",
"support"
],
"webxr/webGLCanvasContext_create_xrcompatible.https.html": [
@@ -467191,7 +467300,7 @@
"testharness"
],
"webxr/xrDevice_requestSession_non_immersive_no_gesture.https.html": [
- "6cf50f521c4836dede6f763b6e7f3e263e30f68e",
+ "241b5ded0a50495cf21b2b5c78aee8327f384a62",
"testharness"
],
"webxr/xrDevice_supportsSession_immersive.https.html": [
@@ -467211,19 +467320,19 @@
"testharness"
],
"webxr/xrSession_cancelAnimationFrame.https.html": [
- "9b08f93eead693c1c9aa6d7e2458988aa7dae442",
+ "cc7b8802cba01ac03adb53a06308acd5642dd0af",
"testharness"
],
"webxr/xrSession_cancelAnimationFrame_invalidhandle.https.html": [
- "bc9b625fb9ed2e9001da1ddaf0a01230631b084e",
+ "e6a9c0665435034fdf493e9ab2d4c8a6731eff13",
"testharness"
],
"webxr/xrSession_end.https.html": [
- "2719bdd7dd1b4a73e8b2004f477beecf03d131bb",
+ "6365c7de508a426f674ae239d99846d77af94615",
"testharness"
],
"webxr/xrSession_identity_referenceSpace.https.html": [
- "6cb25019fcd4d95f5e312bbf49186d0579a31ddc",
+ "fb18edf6ddd4369887599617a5577de65a126b33",
"testharness"
],
"webxr/xrSession_mode.https.html": [
@@ -467235,7 +467344,7 @@
"testharness"
],
"webxr/xrSession_requestAnimationFrame_callback_calls.https.html": [
- "268efcd596e03125e3f7b90fa7f08eba2ae716a8",
+ "92f7d1f79dcb61e400e21e4f5a80a85e3685ec9f",
"testharness"
],
"webxr/xrSession_requestAnimationFrame_data_valid.https.html": [
@@ -467243,11 +467352,15 @@
"testharness"
],
"webxr/xrSession_requestAnimationFrame_getViewerPose.https.html": [
- "618dc13e4fe6eb6eda2c81eef53e722da3b09190",
+ "8c8e26aa12db1c35e67be8928c4e5f9836a5b5e0",
"testharness"
],
"webxr/xrSession_requestReferenceSpace.https.html": [
- "bf4ec677655bf8e8440824cbfd311a2f0c444f7c",
+ "ed31f372ceb2b6c3cbfd34da47cdb801b4f366fc",
+ "testharness"
+ ],
+ "webxr/xrSession_transfer_outputContext.https.html": [
+ "69c52d2bfb4d8d942e233872b40c618accaad1b9",
"testharness"
],
"workers/META.yml": [
diff --git a/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html b/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html
index f94ce03..c88beb3 100644
--- a/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html
+++ b/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html
@@ -15,7 +15,7 @@
#too-wide {
display: inline-block;
- height: 20px;
+ height: 21px;
width: 250px;
background: blue;
}
@@ -24,11 +24,31 @@
width: 100px;
height: 100px;
float: left;
+ /* We use a gradient, which is part of the CSS 'image' type.
+ * We set it up to create a hard diagonal edge from the bottom left to the
+ * top right of #shape, which slices through each pixel along the diagonal.
+ * Theoretically, this should place #too-wide at position 50,50 within
+ * #shape's 100x100 region, but on some devices, the gradient rasterization
+ * may leave pixel 50,49 unshaded enough that #too-wide is placed there
+ * instead. To account for that possible off-by-one rounding scenario,
+ * we set things up as follows:
+ * - We make #too-wide 1px taller than the corresponding content in the
+ * reference case.
+ * - We clip the outermost div using a 'clip-path' that only paints
+ * the region where the corresponding content is in the reference case.
+ * - If the testcase renders properly, then #too-wide will have 1px of
+ * content clipped off of its top or bottom (depending on how the
+ * linear-gradient rasterization and rounding works out). Either way,
+ * it'll match the reference case.
+ */
shape-outside: linear-gradient(135deg, black, black 50%, transparent 50%);
}
+ .clip {
+ clip-path: inset(50px 0 30px 0px);
+ }
</style>
-<div style="width: 300px; height: 100px;">
+<div style="width: 300px; height: 100px;" class="clip">
<div id="shape"></div>
<span id="too-wide"></span>
<div>
diff --git a/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html b/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html
index a1177fd..2b0fabb 100644
--- a/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html
+++ b/third_party/blink/web_tests/external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html
@@ -1,6 +1,6 @@
<!DOCTYPE HTML>
<meta charset="utf-8">
-<title>Test for retrying floats and pushing them partway down the float area</title>
+<title>Reference for retrying floats and pushing them partway down the float area</title>
<link rel="author" title="Brad Werth" href="mailto:bwerth@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<style>