From 1597bf02ea64f69e5085c60c29c7553d373034b4 Mon Sep 17 00:00:00 2001 From: ir3ne Date: Thu, 20 Jul 2023 15:57:48 +0200 Subject: [PATCH 1/3] add slot tag to flow content list --- files/en-us/web/html/content_categories/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/files/en-us/web/html/content_categories/index.md b/files/en-us/web/html/content_categories/index.md index 54ebcaa70660e34..eb58882c9cf6d66 100644 --- a/files/en-us/web/html/content_categories/index.md +++ b/files/en-us/web/html/content_categories/index.md @@ -98,6 +98,7 @@ The flow elements are: - {{HTMLElement("script")}} - {{HTMLElement("section")}} - {{HTMLElement("select")}} +- {{HTMLElement("slot")}} - {{HTMLElement("small")}} - {{HTMLElement("span")}} - {{HTMLElement("strong")}} From ebada485711967126c6cd17e933698dcb1a43b77 Mon Sep 17 00:00:00 2001 From: ir3ne Date: Thu, 20 Jul 2023 18:41:26 +0200 Subject: [PATCH 2/3] add other missing tags --- files/en-us/web/html/content_categories/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/files/en-us/web/html/content_categories/index.md b/files/en-us/web/html/content_categories/index.md index eb58882c9cf6d66..06abd5a2b62cc0a 100644 --- a/files/en-us/web/html/content_categories/index.md +++ b/files/en-us/web/html/content_categories/index.md @@ -52,6 +52,7 @@ The flow elements are: - {{HTMLElement("del")}} - {{HTMLElement("details")}} - {{HTMLElement("dfn")}} +- {{HTMLElement("dialog")}} - {{HTMLElement("div")}} - {{HTMLElement("dl")}} - {{HTMLElement("em")}} @@ -95,6 +96,7 @@ The flow elements are: - {{HTMLElement("ruby")}} - {{HTMLElement("s")}} - {{HTMLElement("samp")}} +- {{HTMLElement("search")}} - {{HTMLElement("script")}} - {{HTMLElement("section")}} - {{HTMLElement("select")}} @@ -107,6 +109,7 @@ The flow elements are: - {{SVGElement("svg")}} - {{HTMLElement("table")}} - {{HTMLElement("template")}} +- {{HTMLElement("text")}} - {{HTMLElement("textarea")}} - {{HTMLElement("time")}} - {{HTMLElement("u")}} @@ -147,6 +150,7 @@ Elements belonging to this category are: - {{HTMLElement("abbr")}} - {{HTMLElement("audio")}} - {{HTMLElement("b")}} +- {{HTMLElement("bdi")}} - {{HTMLElement("bdo")}} - {{HTMLElement("br")}} - {{HTMLElement("button")}} @@ -222,7 +226,7 @@ Embedded content is a subset of flow content that imports another resource or in Interactive content is a subset of flow content that includes elements that are specifically designed for user interaction, and can be used everywhere flow content is expected. Elements that belong to this category include: -- {{HTMLElement("a")}} +- {{HTMLElement("a")}} is interactive only if {{domxref("Location/href","href")}} is present - {{HTMLElement("button")}} - {{HTMLElement("details")}} - {{HTMLElement("embed")}} From c8f1a4b2428bf89c6797d5afcde060cbe44e0011 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Fri, 21 Jul 2023 00:46:21 +0800 Subject: [PATCH 3/3] Update index.md --- files/en-us/web/html/content_categories/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/html/content_categories/index.md b/files/en-us/web/html/content_categories/index.md index 06abd5a2b62cc0a..6c128830c775f18 100644 --- a/files/en-us/web/html/content_categories/index.md +++ b/files/en-us/web/html/content_categories/index.md @@ -109,7 +109,6 @@ The flow elements are: - {{SVGElement("svg")}} - {{HTMLElement("table")}} - {{HTMLElement("template")}} -- {{HTMLElement("text")}} - {{HTMLElement("textarea")}} - {{HTMLElement("time")}} - {{HTMLElement("u")}} @@ -117,6 +116,7 @@ The flow elements are: - {{HTMLElement("var")}} - {{HTMLElement("video")}} - {{HTMLElement("wbr")}} +- Plain text A few other elements belong to this category, but only if a specific condition is fulfilled: @@ -226,7 +226,6 @@ Embedded content is a subset of flow content that imports another resource or in Interactive content is a subset of flow content that includes elements that are specifically designed for user interaction, and can be used everywhere flow content is expected. Elements that belong to this category include: -- {{HTMLElement("a")}} is interactive only if {{domxref("Location/href","href")}} is present - {{HTMLElement("button")}} - {{HTMLElement("details")}} - {{HTMLElement("embed")}} @@ -236,6 +235,7 @@ Interactive content is a subset of flow content that includes elements that are Some elements belong to this category only under specific conditions: +- {{HTMLElement("a")}}, if the [`href`](/en-US/docs/Web/HTML/Element/a#href) attribute is present - {{HTMLElement("audio")}}, if the [`controls`](/en-US/docs/Web/HTML/Element/audio#controls) attribute is present - {{HTMLElement("img")}}, if the [`usemap`](/en-US/docs/Web/HTML/Element/img#usemap) attribute is present - {{HTMLElement("input")}}, if the [type](/en-US/docs/Web/HTML/Element/input#type) attribute is not in the hidden state