From d77d6fced330d12fcdeaf903cec5511923021127 Mon Sep 17 00:00:00 2001 From: Giacomo Petri Date: Mon, 30 Sep 2024 16:20:53 +0200 Subject: [PATCH] HTML page has non-empty title [2779a5]: Shadow root example - Included as failed example 6 (#2180) * Shadow root example included as failed example 6 * Update _rules/html-page-non-empty-title-2779a5.md Co-authored-by: Wilco Fiers --------- Co-authored-by: Wilco Fiers Co-authored-by: Jean-Yves Moyen --- _rules/html-page-non-empty-title-2779a5.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/_rules/html-page-non-empty-title-2779a5.md b/_rules/html-page-non-empty-title-2779a5.md index 9da72c8ff8..e8380db567 100755 --- a/_rules/html-page-non-empty-title-2779a5.md +++ b/_rules/html-page-non-empty-title-2779a5.md @@ -202,6 +202,27 @@ This page has a `title` element that only contains a separator character. ``` +#### Failed Example 6 + +This page does not have a title because the shadow root is not a [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) of the [document element](https://dom.spec.whatwg.org/#document-element). + +```html + + + + + + +``` + ### Inapplicable #### Inapplicable Example 1