mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 5c34fc630374b9eb0559139a486ff1a2e4247c4f
This commit is contained in:
parent
b0f0bd8282
commit
1b463fce85
222 changed files with 5045 additions and 641 deletions
|
@ -0,0 +1,3 @@
|
|||
<!doctype html>
|
||||
<title>CSS Test Reference</title>
|
||||
<input type="file">
|
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<title>::file-chooser-button allows to customize the button in <input type=file></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">
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue