Commit 336ce17e authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@14401ce76c8bf36057a6992c0c9ac64f1457a87c

Using wpt-import in Chromium 91637164.

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

NOAUTOREVERT=true
TBR=smcgruer

No-Export: true
Change-Id: I0e45944d791aa03e9dc7973223f8fcae5cbb930b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2216740Reviewed-by: default avatarWPT 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@{#772142}
parent a8a44240
...@@ -2639,6 +2639,9 @@ crbug.com/1078474 external/wpt/css/css-pseudo/cascade-highlight-002.html [ Failu ...@@ -2639,6 +2639,9 @@ crbug.com/1078474 external/wpt/css/css-pseudo/cascade-highlight-002.html [ Failu
crbug.com/1024156 external/wpt/css/css-pseudo/cascade-highlight-004.html [ Failure ] crbug.com/1024156 external/wpt/css/css-pseudo/cascade-highlight-004.html [ Failure ]
# ====== New tests from wpt-importer added here ====== # ====== New tests from wpt-importer added here ======
crbug.com/626703 [ Linux ] external/wpt/css/css-pseudo/file-chooser-button-001.tentative.html [ Failure ]
crbug.com/626703 [ Mac ] external/wpt/css/css-pseudo/file-chooser-button-001.tentative.html [ Failure ]
crbug.com/626703 [ Win ] external/wpt/css/css-pseudo/file-chooser-button-001.tentative.html [ Failure ]
crbug.com/626703 [ Mac10.14 ] external/wpt/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-screenx-screeny.html [ Timeout ] crbug.com/626703 [ Mac10.14 ] external/wpt/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-screenx-screeny.html [ Timeout ]
crbug.com/626703 [ Mac10.15 ] external/wpt/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-innerheight-innerwidth.html [ Timeout ] crbug.com/626703 [ Mac10.15 ] external/wpt/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-innerheight-innerwidth.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webrtc/RTCDataChannel-close.html [ Timeout ] crbug.com/626703 [ Linux ] external/wpt/webrtc/RTCDataChannel-close.html [ Timeout ]
......
<!doctype html>
<title>CSS Test Reference</title>
<input type="file">
<!doctype html>
<title>::file-chooser-button allows to customize the button in &lt;input type=file&gt;</title>
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5049">
<link rel="mismatch" href="file-chooser-button-001-notref.html">
<style>
input::file-chooser-button {
background: green;
color: white;
}
</style>
<input type="file">
<!doctype html>
<title>Shouldn't assert when re-creating a ::file-chooser-button pseudo-element after it being display: none</title>
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5049">
<style>
.tweak::file-chooser-button {
display: none;
}
</style>
<input type="file">
<script>
let input = document.querySelector("input");
input.getBoundingClientRect().top;
input.classList.add("tweak");
input.getBoundingClientRect().top;
input.classList.remove("tweak");
</script>
...@@ -14,7 +14,7 @@ async_test(t => { ...@@ -14,7 +14,7 @@ async_test(t => {
})); }));
const frame = document.createElement("iframe"); const frame = document.createElement("iframe");
t.add_cleanup(() => frame.remove()); t.add_cleanup(() => frame.remove());
frame.src = `data:text/html,<script>${createScript("null", window.origin)}<\/script>`; frame.src = `data:text/html,<script>${encodeURIComponent(createScript("null", window.origin))}<\/script>`;
document.body.append(frame); document.body.append(frame);
}, "Cross-Origin-Embedder-Policy and data: URLs"); }, "Cross-Origin-Embedder-Policy and data: URLs");
</script> </script>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment