summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-enabled.html
blob: 87a130c6f0178de695a1f9ebd8c000dabf3e53c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<dialog></dialog>
<script>
test(function() {
  dialog = document.querySelector('dialog')
  assert_true(dialog instanceof HTMLDialogElement);
}, "The DIALOG element should be recognized");
</script>
</body>
</html>