Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relocate to link relationship to HTML spec #24447

Merged
merged 2 commits into from
Jul 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions appmanifest/link-relationship/link-rel-manifest.html

This file was deleted.

13 changes: 0 additions & 13 deletions appmanifest/link-relationship/link-tree-order-manual.html

This file was deleted.

16 changes: 16 additions & 0 deletions html/links/manifest/link-relationship/link-rel-manifest.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,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>
13 changes: 13 additions & 0 deletions html/links/manifest/link-relationship/link-tree-order-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<title>Test that name member is supported</title>
<link rel="help" href="https://html.spec.whatwg.org/#link-type-manifest" />
<link rel="manifesto" href="/appmanifest/name-member/name-member-fail.webmanifest" />
<link
rel="hello manifest another-relationship"
href="/appmanifest/name-member/name-member.webmanifest"
/>
<link rel="manifest" href="/appmanifest/name-member/name-member-fail.webmanifest" />
<link rel="hello manifest" href="/appmanifest/name-member/name-member-fail.webmanifest" />
<p>
If when installing the name is "pass" then the test has passed.
</p>