mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'b3615436df24bedfdc4f14f959428307a86f74ce'
This commit is contained in:
parent
883dcbda45
commit
496ae4e174
66 changed files with 771 additions and 173 deletions
|
@ -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>
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue