Skip to content

Commit

Permalink
cc Update a[download] document-conformance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Mar 26, 2019
1 parent ee4b086 commit 78384fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conformance-checkers/html/elements/a/download-isvalid.html
@@ -1,5 +1,6 @@
<!doctype html>
<html lang="">
<meta charset=utf-8>
<title>valid download</title>
<a download>foo</a><!-- empty download -->
<a download=baz>foo</a><!-- arbitrary value for download -->
<a href=foo download>foo</a><!-- empty download -->
<a href=foo download=baz>foo</a><!-- arbitrary value for download -->
5 changes: 5 additions & 0 deletions conformance-checkers/html/elements/a/download-novalid.html
@@ -0,0 +1,5 @@
<!doctype html>
<html lang="">
<meta charset=utf-8>
<title>invalid download</title>
<a download>foo</a><!-- download without href -->
1 change: 1 addition & 0 deletions conformance-checkers/messages.json
Expand Up @@ -98,6 +98,7 @@
"html/attributes/lang/xmllang-only-novalid.html": "When the attribute \u201cxml:lang\u201d in no namespace is specified, the element must also have the attribute \u201clang\u201d present with the same value.",
"html/attributes/role/unrecognized-role-name-novalid.html": "Discarding unrecognized token \u201cinput\u201d from value of attribute \u201crole\u201d. Browsers ignore any token that is not a defined ARIA non-abstract role.",
"html/attributes/spellcheck/value-bad-novalid.html": "Bad value \u201cbadvalue\u201d for attribute \u201cspellcheck\u201d on element \u201cp\u201d.",
"html/elements/a/download-novalid.html": "Element \u201ca\u201d is missing required attribute \u201chref\u201d.",
"html/elements/a/href/fragment-backslash-novalid.html": "Bad value \u201c#\\\u201d for attribute \u201chref\u201d on element \u201ca\u201d: Bad URL: Illegal character in fragment: \u201c\\\u201d is not allowed.",
"html/elements/a/href/fragment-contains-hash-novalid.html": "Bad value \u201chttp://foo/path#f#g\u201d for attribute \u201chref\u201d on element \u201ca\u201d: Bad URL: Illegal character in fragment: \u201c#\u201d is not allowed.",
"html/elements/a/href/fragment-leading-space-novalid.html": "Bad value \u201chttp://f:21/b# e\u201d for attribute \u201chref\u201d on element \u201ca\u201d: Bad URL: Illegal character in fragment: space is not allowed.",
Expand Down

0 comments on commit 78384fb

Please sign in to comment.