Update web-platform-tests to revision b'b3615436df24bedfdc4f14f959428307a86f74ce'

This commit is contained in:
WPT Sync Bot 2023-02-21 01:36:20 +00:00
parent 883dcbda45
commit 496ae4e174
66 changed files with 771 additions and 173 deletions

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<link rel="stylesheet" href="resources/dialog.css">
<style>
.backdrop {
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: green;
opacity: 0.5;
}
</style>
<body>
<div class="backdrop"></div>
<div class="pseudodialog">Test passes if you see a green backdrop at half opacity.</div>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="match" href="modal-dialog-backdrop-opacity-ref.html">
<link rel="help" href="https://fullscreen.spec.whatwg.org/#user-agent-level-style-sheet-defaults">
<style>
dialog::backdrop {
background-color: rgb(0, 128, 0);
opacity: 0.5;
}
</style>
<body>
<dialog>Test passes if you see a green backdrop at half opacity.</dialog>
<script>
document.querySelector('dialog').showModal();
</script>
</body>