From 05c0eea6c91e8fcc0315ba11b93af4a65db426de Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Thu, 28 Oct 2021 12:32:28 +0200 Subject: [PATCH] xml:lang matches, remove incorrect inapplicable examples --- .../html-page-lang-xml-lang-match-5b7ae0.md | 28 ++----------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/_rules/html-page-lang-xml-lang-match-5b7ae0.md b/_rules/html-page-lang-xml-lang-match-5b7ae0.md index 4ca1438389..9b8e48f020 100755 --- a/_rules/html-page-lang-xml-lang-match-5b7ae0.md +++ b/_rules/html-page-lang-xml-lang-match-5b7ae0.md @@ -143,21 +143,13 @@ This rule only applies to documents with a [content type][] of `text/html` #### Inapplicable Example 5 -This rule does not apply to `html` elements whose `lang` attribute is not a [valid language tag][]. - -```html - -``` - -#### Inapplicable Example 6 - This rule does not apply to `html` elements without an `xml:lang` attribute. ```html ``` -#### Inapplicable Example 7 +#### Inapplicable Example 6 This rule applies neither to `html` elements without an `xml:lang` attribute, nor to `html` in [nested browsing context][] @@ -167,7 +159,7 @@ This rule applies neither to `html` elements without an `xml:lang` attribute, no ``` -#### Inapplicable Example 8 +#### Inapplicable Example 7 This rule does not apply to `html` elements with an empty (`""`) `xml:lang` attribute. @@ -175,22 +167,6 @@ This rule does not apply to `html` elements with an empty (`""`) `xml:lang` attr ``` -#### Inapplicable Example 9 - -The `lang` attribute of this page is an [iso 639.2][] three letters code, hence not a [valid language tag][]. - -```html - -``` - -#### Inapplicable Example 10 - -The `lang` attribute of this page is a [grandfathered tag][grandfathered tags], hence not a [valid language tag][]. - -```html - -``` - [content type]: https://dom.spec.whatwg.org/#concept-document-content-type 'Definition of content type' [extended language subtags]: https://www.rfc-editor.org/rfc/rfc5646.html#section-2.2.2 'Definition of extended language subtag' [grandfathered tags]: https://www.rfc-editor.org/rfc/rfc5646.html#section-2.2.8