Skip to content

Commit

Permalink
fix more typos (mdn#35434)
Browse files Browse the repository at this point in the history
* fix more typos

* fix one more

* Update files/en-us/web/http/status/204/index.md

Co-authored-by: Joshua Chen <[email protected]>

---------

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
OnkarRuikar and Josh-Cena authored Aug 15, 2024
1 parent 1bb0a28 commit ddc0d10
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The feature statuses of all the features documented on MDN are defined in its ac
> [!WARNING]
> Do not manually update feature statuses in the `mdn/content` repository. To update a feature's status, you need to [submit a pull request](https://github.com/mdn/browser-compat-data/blob/main/docs/contributing.md#updating-the-compat-data) in the BCD repository. After your changes are approved and merged in BCD, an [automated pull request](https://github.com/search?q=repo%3Amdn%2Fcontent+Synchronize+with+BCD&type=pullrequests) updates the statuses in the `mdn/content` repository.
The automation uses [`browser-compat`](/en-US/docs/MDN/Writing_guidelines/Page_structures/Compatibility_tables#using_bcd_data_in_mdn_pages) key in the front-matter. The key stores BCD query required to locate the feature in the compatiblity data. If the `browser-compat` key has multiple values then the automation uses only the first value to render status macros.
The automation uses [`browser-compat`](/en-US/docs/MDN/Writing_guidelines/Page_structures/Compatibility_tables#using_bcd_data_in_mdn_pages) key in the front-matter. The key stores BCD query required to locate the feature in the compatibility data. If the `browser-compat` key has multiple values then the automation uses only the first value to render status macros.

## How are feature statuses specified in content?

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/global_attributes/class/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ browser-compat: html.global_attributes.class

{{HTMLSidebar("Global_attributes")}}

The **`class`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is a list of the classes of the element, separated by [ACSII whitespace](/en-US/docs/Glossary/Whitespace#in_html).
The **`class`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is a list of the classes of the element, separated by [ASCII whitespace](/en-US/docs/Glossary/Whitespace#in_html).

{{EmbedInteractiveExample("pages/tabbed/attribute-class.html","tabbed-standard")}}

Expand All @@ -19,7 +19,7 @@ Though the specification doesn't put requirements on the name of classes, web de

### Syntax

The `class` attribute is a list of class values separated by [ACSII whitespace](/en-US/docs/Glossary/Whitespace#in_html).
The `class` attribute is a list of class values separated by [ASCII whitespace](/en-US/docs/Glossary/Whitespace#in_html).

Each class value may contain any Unicode characters (except, of course, ASCII whitespace). However, when used in CSS selectors, either from JavaScript using APIs like {{domxref("Document.querySelector()")}} or in CSS stylesheets, class attribute values must be valid [CSS identifiers](/en-US/docs/Web/CSS/ident). This means that if a class attribute value is not a valid CSS identifier (for example, `my?class` or `1234`) then it must be escaped before being used in a selector, either using the {{domxref("CSS.escape_static", "CSS.escape()")}} method or [manually](/en-US/docs/Web/CSS/ident#escaping_characters).

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/html/global_attributes/id/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const content = window.preamble.textContent;

### Syntax

An ID attribute's value must not contain [ACSII whitespace](/en-US/docs/Glossary/Whitespace#in_html) characters. Browsers treat non-conforming IDs that contain whitespace as if the whitespace is part of the ID. In contrast to the [`class`](/en-US/docs/Web/HTML/Global_attributes#class) attribute, which allows space-separated values, elements can only have one single ID value.
An ID attribute's value must not contain [ASCII whitespace](/en-US/docs/Glossary/Whitespace#in_html) characters. Browsers treat non-conforming IDs that contain whitespace as if the whitespace is part of the ID. In contrast to the [`class`](/en-US/docs/Web/HTML/Global_attributes#class) attribute, which allows space-separated values, elements can only have one single ID value.

Technically, the value for an ID attribute may contain any other Unicode character. However, when used in CSS selectors, either from JavaScript using APIs like {{domxref("Document.querySelector()")}} or in CSS stylesheets, ID attribute values must be valid [CSS identifiers](/en-US/docs/Web/CSS/ident). This means that if an ID attribute value is not a valid CSS identifier (for example, `my?id` or `1234`) then it must be escaped before being used in a selector, either using the {{domxref("CSS.escape_static", "CSS.escape()")}} method or [manually](/en-US/docs/Web/CSS/ident#escaping_characters).

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/http/status/226/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The `IM` header indicates that the `vcdiff` algorithm is used, and the `Delta-Ba

```http
HTTP/1.1 226 IM Used
ETag: "efgh5678"
ETag: "5678a23"
IM: vcdiff
Content-Type: text/plain
Content-Length: 123
Expand Down

0 comments on commit ddc0d10

Please sign in to comment.