Update web-platform-tests to revision 5c34fc630374b9eb0559139a486ff1a2e4247c4f

This commit is contained in:
WPT Sync Bot 2020-05-28 08:18:22 +00:00
parent b0f0bd8282
commit 1b463fce85
222 changed files with 5045 additions and 641 deletions

View file

@ -0,0 +1,3 @@
<!doctype html>
<title>CSS Test Reference</title>
<input type="file">

View file

@ -0,0 +1,11 @@
<!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">

View file

@ -0,0 +1,16 @@
<!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>