Skip to content

Commit a337b18

Browse files
author
Marcos Cáceres
authored
Relocate to link relationship to HTML spec (#24447)
1 parent 48340be commit a337b18

File tree

4 files changed

+29
-24
lines changed

4 files changed

+29
-24
lines changed

appmanifest/link-relationship/link-rel-manifest.html

-11
This file was deleted.

appmanifest/link-relationship/link-tree-order-manual.html

-13
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<title>
3+
Test that "manifest" is a supported value for the `rel` of a `link`
4+
</title>
5+
<link rel="help" href="https://html.spec.whatwg.org/#link-type-manifest" />
6+
<script src="/resources/testharness.js"></script>
7+
<script src="/resources/testharnessreport.js"></script>
8+
<script>
9+
test(() => {
10+
const result = document.createElement("link").relList.supports("manifest");
11+
assert_true(
12+
result,
13+
"Expected true if manifest is supported as a link relationship"
14+
);
15+
}, 'link element supports a rel value of "manifest".');
16+
</script>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<title>Test that name member is supported</title>
3+
<link rel="help" href="https://html.spec.whatwg.org/#link-type-manifest" />
4+
<link rel="manifesto" href="/appmanifest/name-member/name-member-fail.webmanifest" />
5+
<link
6+
rel="hello manifest another-relationship"
7+
href="/appmanifest/name-member/name-member.webmanifest"
8+
/>
9+
<link rel="manifest" href="/appmanifest/name-member/name-member-fail.webmanifest" />
10+
<link rel="hello manifest" href="/appmanifest/name-member/name-member-fail.webmanifest" />
11+
<p>
12+
If when installing the name is "pass" then the test has passed.
13+
</p>

0 commit comments

Comments
 (0)