From 78a7595a3ca5bf136c1bffd3a2d3e5a4f8e83c83 Mon Sep 17 00:00:00 2001 From: OnkarRuikar <87750369+OnkarRuikar@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:35:34 +0530 Subject: [PATCH 1/4] fix(css): remove content:contents --- files/en-us/web/css/content/index.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/files/en-us/web/css/content/index.md b/files/en-us/web/css/content/index.md index 764dbb2593d3e2f..5c9ad46a1932906 100644 --- a/files/en-us/web/css/content/index.md +++ b/files/en-us/web/css/content/index.md @@ -66,7 +66,7 @@ The value can be: - One of two keywords — `none` or `normal` - `` when replacing a DOM node. `` is always an ``. -- A `` when replacing pseudo-elements and margin boxes. A content-list is a list of one or more anonymous inline boxes appearing in the order specified. Each `` item is either `contents` or of type [``](#string), [``](#image), [``](#counter), [``](#quote), [``](#target), or [``](#leader). +- A `` when replacing pseudo-elements and margin boxes. A content-list is a list of one or more anonymous inline boxes appearing in the order specified. Each `` item is of type [``](#string), [``](#image), [``](#counter), [``](#quote), [``](#target), or [``](#leader). - An optional alternative text value of a `` or ``, preceded by a slash (`/`). The keywords and data types mentioned above are described in more detail below: @@ -80,10 +80,6 @@ The keywords and data types mentioned above are described in more detail below: - : The default value. Computes to `none` for the {{cssxref("::before")}} and {{cssxref("::after")}} pseudo-elements. For other pseudo-elements, the content will be the initial (or normal) content expected for that {{cssxref("::marker")}}, {{cssxref("::placeholder")}}, or {{cssxref("::file-selector-button")}}. For regular elements or page margin boxes, this computes to `contents`. -- `contents` - - - : Adds the contents of the element itself to the generated content value. - - {{cssxref("<string>")}} - : A sequence of characters enclosed in matching single or double quotes. Multiple string values will be concatenated (there is no concatenation operator in CSS). From 821c987768adcfd8dfaaa7d4857f540b57e510d3 Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:09:51 +0530 Subject: [PATCH 2/4] Update files/en-us/web/css/content/index.md --- files/en-us/web/css/content/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/css/content/index.md b/files/en-us/web/css/content/index.md index 5c9ad46a1932906..bd671bab88422e5 100644 --- a/files/en-us/web/css/content/index.md +++ b/files/en-us/web/css/content/index.md @@ -78,7 +78,7 @@ The keywords and data types mentioned above are described in more detail below: - `normal` - - : The default value. Computes to `none` for the {{cssxref("::before")}} and {{cssxref("::after")}} pseudo-elements. For other pseudo-elements, the content will be the initial (or normal) content expected for that {{cssxref("::marker")}}, {{cssxref("::placeholder")}}, or {{cssxref("::file-selector-button")}}. For regular elements or page margin boxes, this computes to `contents`. + - : The default value. Computes to `none` for the {{cssxref("::before")}} and {{cssxref("::after")}} pseudo-elements. For other pseudo-elements, the content will be the initial (or normal) content expected for that {{cssxref("::marker")}}, {{cssxref("::placeholder")}}, or {{cssxref("::file-selector-button")}}. For regular elements or page margin boxes, this computes to the element’s descendants. - {{cssxref("<string>")}} From 262e58dcf516cd5adf150c0eeae9819e6910e7d6 Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:10:48 +0530 Subject: [PATCH 3/4] Update files/en-us/web/css/content/index.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- files/en-us/web/css/content/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/css/content/index.md b/files/en-us/web/css/content/index.md index bd671bab88422e5..5275a8888419c60 100644 --- a/files/en-us/web/css/content/index.md +++ b/files/en-us/web/css/content/index.md @@ -78,7 +78,7 @@ The keywords and data types mentioned above are described in more detail below: - `normal` - - : The default value. Computes to `none` for the {{cssxref("::before")}} and {{cssxref("::after")}} pseudo-elements. For other pseudo-elements, the content will be the initial (or normal) content expected for that {{cssxref("::marker")}}, {{cssxref("::placeholder")}}, or {{cssxref("::file-selector-button")}}. For regular elements or page margin boxes, this computes to the element’s descendants. + - : The default value. Computes to `none` for the {{cssxref("::before")}} and {{cssxref("::after")}} pseudo-elements. For other pseudo-elements, the content will be the initial (or normal) content expected for that {{cssxref("::marker")}}, {{cssxref("::placeholder")}}, or {{cssxref("::file-selector-button")}}. For regular elements or page margin boxes, this computes to the element's descendants. - {{cssxref("<string>")}} From 37a1ad4259ee7dbf6f76d5661312bb8afd8a245d Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Fri, 18 Oct 2024 08:25:48 +0530 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: Chris Mills --- files/en-us/web/css/content/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/css/content/index.md b/files/en-us/web/css/content/index.md index 5275a8888419c60..81eff153fbe0100 100644 --- a/files/en-us/web/css/content/index.md +++ b/files/en-us/web/css/content/index.md @@ -64,9 +64,9 @@ content: unset; The value can be: -- One of two keywords — `none` or `normal` +- One of two keywords — `none` or `normal`. - `` when replacing a DOM node. `` is always an ``. -- A `` when replacing pseudo-elements and margin boxes. A content-list is a list of one or more anonymous inline boxes appearing in the order specified. Each `` item is of type [``](#string), [``](#image), [``](#counter), [``](#quote), [``](#target), or [``](#leader). +- A `` when replacing pseudo-elements and margin boxes. A `` is a list of one or more anonymous inline boxes appearing in the order specified. Each `` item is of type [``](#string), [``](#image), [``](#counter), [``](#quote), [``](#target), or [``](#leader). - An optional alternative text value of a `` or ``, preceded by a slash (`/`). The keywords and data types mentioned above are described in more detail below: