summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/links/manifest/link-relationship/link-rel-manifest.html
blob: 2d9fd78948025aa8f05ca1bddcd1ec8136963417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<title>
  Test that "manifest" is a supported value for the `rel` of a `link`
</title>
<link rel="help" href="https://html.spec.whatwg.org/#link-type-manifest" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(() => {
    const result = document.createElement("link").relList.supports("manifest");
    assert_true(
      result,
      "Expected true if manifest is supported as a link relationship"
    );
  }, 'link element supports a rel value of "manifest".');
</script>