mirror of
https://github.com/servo/servo.git
synced 2025-08-24 14:48:21 +01:00
Update web-platform-tests to revision 3f3849c5d05f9350fad0b06d3bb3ae30d7e18d14
This commit is contained in:
parent
9a7e2663e8
commit
f767403c00
310 changed files with 8134 additions and 895 deletions
24
tests/wpt/web-platform-tests/std-toast/reflection.html
Normal file
24
tests/wpt/web-platform-tests/std-toast/reflection.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!doctype html>
|
||||
<title>HTML5 reflection tests: std-toast</title>
|
||||
<meta name=timeout content=long>
|
||||
|
||||
<div id=log></div>
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/html/dom/original-harness.js"></script>
|
||||
<script src="/html/dom/new-harness.js"></script>
|
||||
|
||||
<script type="module">
|
||||
import 'std:elements/toast';
|
||||
|
||||
const toastElement = {
|
||||
'std-toast': {
|
||||
open: 'boolean',
|
||||
type: {type: 'enum', keywords: ['success', 'error', 'warning']},
|
||||
},
|
||||
};
|
||||
|
||||
mergeElements(toastElement);
|
||||
</script>
|
||||
<script src="/html/dom/reflection.js" defer></script>
|
Loading…
Add table
Add a link
Reference in a new issue