diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/conformance-checkers/html/attributes/lang | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/attributes/lang')
6 files changed, 58 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/lang/deprecated-tag-haswarn.html b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/deprecated-tag-haswarn.html new file mode 100644 index 0000000000..4fc1aaaafc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/deprecated-tag-haswarn.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title>must be a valid BCP 47 language tag, or the empty string</title> +<meta charset=utf-8> +</head> +<body lang=mo><!-- deprecated subtag --> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/lang/empty-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/empty-isvalid.html new file mode 100644 index 0000000000..f88354d019 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/empty-isvalid.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang=""> +<head> +<meta charset=utf-8> +<title>must be a valid BCP 47 language tag, or the empty string</title> +</head> +<body> +<p></p> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/lang/extlang-bad-novalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/extlang-bad-novalid.html new file mode 100644 index 0000000000..7908f08c3f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/extlang-bad-novalid.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title>must be a valid BCP 47 language tag, or the empty string</title> +<meta charset=utf-8> +</head> +<body lang=bat-smg><!-- bad extlang --> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-different-value-novalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-different-value-novalid.html new file mode 100644 index 0000000000..8e9f82fe51 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-different-value-novalid.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html xml:lang="en" lang="fr"> +<head> +<meta charset=utf-8> +<title>When "xml:lang" is specified, the element must also have "lang" present with the same value</title> +</head> +<body> +<p></p> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-only-novalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-only-novalid.html new file mode 100644 index 0000000000..7f4571ef12 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-only-novalid.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html xml:lang="en"> +<head> +<meta charset=utf-8> +<title>When "xml:lang" is specified, the element must also have "lang" present with the same value</title> +</head> +<body> +<p></p> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-same-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-same-isvalid.html new file mode 100644 index 0000000000..71418a5f62 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/attributes/lang/xmllang-same-isvalid.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html xml:lang="en" lang="en"> +<head> +<meta charset=utf-8> +<title>When "xml:lang" is specified, the element must also have "lang" present with the same value</title> +</head> +<body> +<p></p> +</body> +</html> |