Skip to content

Commit 652d220

Browse files
authored
Fix mistake and grammar in CSS quotes property docs (#44048)
1 parent 44a5fa2 commit 652d220

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • files/en-us/web/css/reference/properties/quotes

files/en-us/web/css/reference/properties/quotes/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ quotes: unset;
8181
Which pair of quotes is used depends on the depth, or nesting level, of quotes: the number of occurrences of `<q>` quotes or `open-quote` (or `no-open-quote`) in all generated text before the current occurrence, minus the number of occurrences of closing quotes, either as `</q>`, `close-quote`, or `no-close-quote`. If the depth is 0, the first pair is used, if the depth is 1, the second pair is used, etc.
8282

8383
> [!NOTE]
84-
> The CSS `content` property value `open-quote` increments and `no-close-quote` decrements the quoting level, but does not insert a quotation marks.
84+
> The CSS `content` property value `no-open-quote` increments and `no-close-quote` decrements the quoting level, but they do not insert quotation marks.
8585

8686
## Formal definition
8787

@@ -95,7 +95,7 @@ quotes: unset;
9595

9696
### Default quotes and overrides
9797

98-
This examples compares the default quotes provided by the semantic HTML `<q>` element to those we define using the CSS `quotes` property.
98+
This example compares the default quotes provided by the semantic HTML `<q>` element to those we define using the CSS `quotes` property.
9999

100100
The default value of `quotes` is [`auto`](#auto). In this example, the first list item has `quotes: auto` set, so gets the default quotes for the language specified; the same as if no `quotes` property was set. The second list item defines which quotation marks to use for quotes and nested quotes; these quotation marks will be used for descendants of an element with `specialQuotes` class regardless of the language (like any [`lang`](/en-US/docs/Web/HTML/Reference/Global_attributes/lang) attribute values set).
101101

@@ -228,7 +228,7 @@ In this example, instead of using the `<q>` element, we are adding quotation mar
228228

229229
### Text as quotes and empty quotes
230230

231-
This example demonstrates using something other than quotation marks as the `<string>` values. The open-quote indicates the speaker and, as there is not opening quotation mark, the close-quote is the empty. (Mixing a `<string>` with an enumerated keyword to create a pair is not supported). We set `auto` for the nested quotes. These nested quotes will be book-ended by whatever the language dictates is normal for nested quotes.
231+
This example demonstrates using something other than quotation marks as the `<string>` values. The open-quote indicates the speaker and, as there is no opening quotation mark, the close-quote is empty. (Mixing a `<string>` with an enumerated keyword to create a pair is not supported). We set `auto` for the nested quotes. These nested quotes will be book-ended by whatever the language dictates is normal for nested quotes.
232232

233233
#### HTML
234234

0 commit comments

Comments
 (0)