From 0fe625f488d9b548f57bb7f4c714287ba093d96b Mon Sep 17 00:00:00 2001 From: BurramsettyAkshayaPranathi Date: Thu, 27 Nov 2025 04:50:55 +0530 Subject: [PATCH 1/3] Fix typos (#42080) * Fix typos and add dictionary entries (fixes #42068) * Restore valid 'grba' example and whitelist in dictionary * Redo * Fix more * Update index.md --------- Co-authored-by: BurramsettyAkshayaPranathi Co-authored-by: Joshua Chen --- .vscode/dictionaries/code-entities.txt | 2 ++ .vscode/dictionaries/ignore-list.txt | 1 + .vscode/dictionaries/proper-names.txt | 2 ++ files/en-us/web/api/credentialscontainer/create/index.md | 4 ++-- files/en-us/web/api/passwordcredentialinit/index.md | 4 ++-- files/en-us/web/css/guides/cascade/specificity/index.md | 2 +- .../css/reference/properties/text-decoration-inset/index.md | 2 +- 7 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.vscode/dictionaries/code-entities.txt b/.vscode/dictionaries/code-entities.txt index 0747be913f43d83..9c199ef945b7625 100644 --- a/.vscode/dictionaries/code-entities.txt +++ b/.vscode/dictionaries/code-entities.txt @@ -256,6 +256,7 @@ Gloc glossarysidebar gonm GPOS +grba Grek greklow GSUB @@ -553,6 +554,7 @@ orya oscpu osfile.jsm osma +otpauth otpcredential outbound-rtpp overlayinfo diff --git a/.vscode/dictionaries/ignore-list.txt b/.vscode/dictionaries/ignore-list.txt index b9874c637d256a7..d2ce932e6390668 100644 --- a/.vscode/dictionaries/ignore-list.txt +++ b/.vscode/dictionaries/ignore-list.txt @@ -216,6 +216,7 @@ mdnsidebar.yaml megastore meinheld morethanwarm +MQCHJLS6FJXT2BGQJ6QMG3WCAVUC2HJZ MYAGE mybooks myclass diff --git a/.vscode/dictionaries/proper-names.txt b/.vscode/dictionaries/proper-names.txt index 485288e750d083b..af9612e73ec6b7f 100644 --- a/.vscode/dictionaries/proper-names.txt +++ b/.vscode/dictionaries/proper-names.txt @@ -303,9 +303,11 @@ Kahlo Kaku Kang Kaply +Karmadrome Kaspersky Katari Kazam +Keegan kenji-yamasaki Kerckhoffs Kersee diff --git a/files/en-us/web/api/credentialscontainer/create/index.md b/files/en-us/web/api/credentialscontainer/create/index.md index 469b34a784add35..307ceb6b65fdd65 100644 --- a/files/en-us/web/api/credentialscontainer/create/index.md +++ b/files/en-us/web/api/credentialscontainer/create/index.md @@ -74,7 +74,7 @@ This example creates a password credential from a {{domxref("PasswordCredentialI ```js const credInit = { - id: "serp1234", // "username" in a typical username/password pair + id: "serpent1234", // "username" in a typical username/password pair name: "Serpentina", // display name for credential origin: "https://example.org", password: "the last visible dog", @@ -89,7 +89,7 @@ makeCredential.addEventListener("click", async () => { console.log(cred.name); // Serpentina console.log(cred.id); - // serp1234 + // serpent1234 console.log(cred.password); // the last visible dog }); diff --git a/files/en-us/web/api/passwordcredentialinit/index.md b/files/en-us/web/api/passwordcredentialinit/index.md index fbef132bee4da26..4e1f06985b07fd7 100644 --- a/files/en-us/web/api/passwordcredentialinit/index.md +++ b/files/en-us/web/api/passwordcredentialinit/index.md @@ -45,7 +45,7 @@ This example constructs an object literal to initialize a password credential. ```js const credInit = { - id: "serp1234", // "username" in a typical username/password pair + id: "serpent1234", // "username" in a typical username/password pair name: "Serpentina", // display name for credential origin: "https://example.org", password: "the last visible dog", @@ -60,7 +60,7 @@ makeCredential.addEventListener("click", async () => { console.log(cred.name); // Serpentina console.log(cred.id); - // serp1234 + // serpent1234 console.log(cred.password); // the last visible dog }); diff --git a/files/en-us/web/css/guides/cascade/specificity/index.md b/files/en-us/web/css/guides/cascade/specificity/index.md index 0f52be4e4571950..99dcfec289e6be4 100644 --- a/files/en-us/web/css/guides/cascade/specificity/index.md +++ b/files/en-us/web/css/guides/cascade/specificity/index.md @@ -487,6 +487,6 @@ A few things to remember about specificity: - Values: [initial](/en-US/docs/Web/CSS/Guides/Cascade/Property_value_processing#initial_value), [computed](/en-US/docs/Web/CSS/Guides/Cascade/Property_value_processing#computed_value), [used](/en-US/docs/Web/CSS/Guides/Cascade/Property_value_processing#used_value), and [actual](/en-US/docs/Web/CSS/Guides/Cascade/Property_value_processing#actual_value) - [Value definition syntax](/en-US/docs/Web/CSS/Guides/Values_and_units/Value_definition_syntax) - [CSS nesting](/en-US/docs/Web/CSS/Guides/Nesting) module -- [Specificity Calculator](https://specificity.keegan.st/) on specificity.keegan.st: An interactive website to test and understand your own CSS rules +- [Specificity Calculator](https://specificity.keegan.st/) by Keegan Street: An interactive website to test and understand your own CSS rules - [SpeciFISHity](https://specifishity.com/) on specifishity.com: A fun way to learn about CSS specificity - [_ID-CLASS-TYPE_ exercise](https://estelle.github.io/CSS/selectors/exercises/specificity.html): A specificity quiz by Estelle Weyl diff --git a/files/en-us/web/css/reference/properties/text-decoration-inset/index.md b/files/en-us/web/css/reference/properties/text-decoration-inset/index.md index 667d4a6f54e2f47..bbb9615030ae168 100644 --- a/files/en-us/web/css/reference/properties/text-decoration-inset/index.md +++ b/files/en-us/web/css/reference/properties/text-decoration-inset/index.md @@ -77,7 +77,7 @@ One or two {{cssxref("<length>")}} values, or the keyword `auto`. - {{cssxref("<length>")}} - : Specifies the amount to adjust the text decoration position by. Positive values inset the text decoration (make it shorter) while negative values outset the text decoration (make it longer). If one value is specified, it applies to both the text decoration start and end points. If two values are specified, the first one applies to the text decoration start point and the second one applies to the text decoration end point. - `auto` - - : The browser chooses a start and end inset amount to ensure that, if two decorated text boxes appear side-by-side, the appearence of a gap is created between their text decorations so they do not appear to have a single text decoration. + - : The browser chooses a start and end inset amount to ensure that, if two decorated text boxes appear side-by-side, the appearance of a gap is created between their text decorations so they do not appear to have a single text decoration. ## Description From 419694495e070daaf466c923b413b3f476740fd6 Mon Sep 17 00:00:00 2001 From: Jesse Talavera Date: Wed, 26 Nov 2025 18:33:26 -0500 Subject: [PATCH 2/3] Fix async function to await an `fs.open` call in an example for `AsyncDisposableStack.adopt` (#42137) * Fix async function to await fs.open call Node.js's documentation says that `fs.open` returns a `Promise`, so it needs to be `await`ed here * fix others --------- Co-authored-by: Joshua Chen --- .../global_objects/asyncdisposablestack/adopt/index.md | 2 +- .../global_objects/asyncdisposablestack/use/index.md | 2 +- .../javascript/reference/statements/await_using/index.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/adopt/index.md b/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/adopt/index.md index b73ebc3a0c5e07b..cef4e7654c0d3c3 100644 --- a/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/adopt/index.md +++ b/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/adopt/index.md @@ -45,7 +45,7 @@ This function creates a file handle (as a Node.js [`FileHandle`](https://nodejs. async function readFile(path) { await using disposer = new AsyncDisposableStack(); const handle = disposer.adopt( - fs.open(path), + await fs.open(path), async (handle) => await handle.close(), ); const data = await handle.read(); diff --git a/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/use/index.md b/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/use/index.md index c33baec1a76aa80..d40ce81dc2fdbcd 100644 --- a/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/use/index.md +++ b/files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/use/index.md @@ -42,7 +42,7 @@ This function reads a file (as a Node.js [`FileHandle`](https://nodejs.org/api/f ```js async function readFileContents(path) { await using disposer = new AsyncDisposableStack(); - const handle = disposer.use(fs.open(path)); + const handle = disposer.use(await fs.open(path)); const data = await handle.read(); return data; // The disposer is disposed here, which causes handle to be closed too diff --git a/files/en-us/web/javascript/reference/statements/await_using/index.md b/files/en-us/web/javascript/reference/statements/await_using/index.md index 4ccd6b021dac71f..be1c868dbc27956 100644 --- a/files/en-us/web/javascript/reference/statements/await_using/index.md +++ b/files/en-us/web/javascript/reference/statements/await_using/index.md @@ -118,9 +118,9 @@ for await (using reader of asyncIterableOfSyncDisposables) { ``` ```js -const syncIterableOfAsyncDisposables = fs - .globSync("*.txt") - .map((path) => fs.open(path, "r")); +const syncIterableOfAsyncDisposables = await Promise.all( + fs.globSync("*.txt").map((path) => fs.open(path, "r")), +); for (await using file of syncIterableOfAsyncDisposables) { console.log(await file.read()); } From f2466519ce50fed2ef6530026b9fd960d47328e3 Mon Sep 17 00:00:00 2001 From: "Tristan D." Date: Thu, 27 Nov 2025 02:38:32 +0100 Subject: [PATCH 3/3] fix(sidebar): fixing sidebar typo blocking sidebar display (#42143) fix(sidebar): fixing sidebar type blocking sidebar display --- files/sidebars/cssref.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/sidebars/cssref.yaml b/files/sidebars/cssref.yaml index 18de9d9a65d692b..0a9c6927b2d2bc4 100644 --- a/files/sidebars/cssref.yaml +++ b/files/sidebars/cssref.yaml @@ -268,8 +268,8 @@ sidebar: title: Scroll_anchoring details: closed - type: listSubPages - path: /Web/CSS/Guides/Scroll_driven_animations - title: Scroll_driven_animations + path: /Web/CSS/Guides/Scroll-driven_animations + title: Scroll-driven_animations details: closed - type: listSubPages path: /Web/CSS/Guides/Scroll_snap @@ -426,7 +426,7 @@ l10n: Positioning: Positioning Selectors: Selectors Scroll_anchoring: Scroll anchoring - Scroll_driven_animations: Scroll-driven animations + Scroll-driven_animations: Scroll-driven animations Scroll_snap: Scroll snap Shapes: Shapes Syntax: Syntax