From 3eef0b1e767c7e8d87a46a3450af908ce89f1ffb Mon Sep 17 00:00:00 2001 From: arvingarciabtw Date: Mon, 11 Aug 2025 17:57:08 +0800 Subject: [PATCH 1/5] Fix grammar in task 5 of selectors test your skills section (#40692) Remove the first redundant word "using" in the following line: "To complete the task, provide solutions using for the following challenges using attribute selectors:" --- .../core/styling_basics/test_your_skills/selectors/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/learn_web_development/core/styling_basics/test_your_skills/selectors/index.md b/files/en-us/learn_web_development/core/styling_basics/test_your_skills/selectors/index.md index 6a009da9690543c..08ed478d0d7d4fa 100644 --- a/files/en-us/learn_web_development/core/styling_basics/test_your_skills/selectors/index.md +++ b/files/en-us/learn_web_development/core/styling_basics/test_your_skills/selectors/index.md @@ -317,7 +317,7 @@ h2 + p { ## Task 5 -To complete the task, provide solutions using for the following challenges using attribute selectors: +To complete the task, provide solutions for the following challenges using attribute selectors: 1. Target the `` element with a `title` attribute and make the border pink (`border-color: pink`). 2. Target the `` element with an `href` attribute that contains the word `contact` somewhere in its value and make the border orange (`border-color: orange`). From 937e773427bd62ab5b83ab13c62759053c2ca714 Mon Sep 17 00:00:00 2001 From: Pavel Karyapkin Date: Mon, 11 Aug 2025 17:29:18 +0500 Subject: [PATCH 2/5] Fix code (#40615) --- files/en-us/web/api/mediastream_recording_api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/mediastream_recording_api/index.md b/files/en-us/web/api/mediastream_recording_api/index.md index 0be2d46f218c580..6672426d020a015 100644 --- a/files/en-us/web/api/mediastream_recording_api/index.md +++ b/files/en-us/web/api/mediastream_recording_api/index.md @@ -144,7 +144,7 @@ recordBtn.addEventListener("click", async () => { if (!mediaRecorder) { const stream = await navigator.mediaDevices.getUserMedia(constraints); mediaRecorder = new MediaRecorder(stream); - mediaRecorder.addEventListener("dataavailable", () => { + mediaRecorder.addEventListener("dataavailable", (e) => { console.log("data available"); chunks.push(e.data); }); From 6eae35bc64a49865a469ca29bc40e6993b9cb8cc Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Mon, 11 Aug 2025 20:58:33 +0800 Subject: [PATCH 3/5] Fix content issues (#40694) --- .vscode/dictionaries/non-english.txt | 2 ++ .vscode/dictionaries/terms-abbreviations.txt | 2 ++ .../animations_and_tweens/index.md | 4 ++-- .../tutorials/2d_breakout_game_phaser/buttons/index.md | 2 +- .../2d_breakout_game_phaser/randomizing_gameplay/index.md | 2 +- files/en-us/web/api/animation/commitstyles/index.md | 2 +- files/en-us/web/api/element/insertadjacenthtml/index.md | 2 +- files/en-us/web/css/appearance/index.md | 8 ++++---- .../web/html/reference/elements/selectedcontent/index.md | 2 +- 9 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.vscode/dictionaries/non-english.txt b/.vscode/dictionaries/non-english.txt index 6a45955c08a03a4..392e36fb32eba23 100644 --- a/.vscode/dictionaries/non-english.txt +++ b/.vscode/dictionaries/non-english.txt @@ -19,6 +19,7 @@ deutsches Dezember dezembro Donnerstag +dulce démonstration erkennst español @@ -44,6 +45,7 @@ ijsland indomable İstanbul JOURS +leche lepiej Mago Mais diff --git a/.vscode/dictionaries/terms-abbreviations.txt b/.vscode/dictionaries/terms-abbreviations.txt index e51bc03bb5443d0..26627b6e667b437 100644 --- a/.vscode/dictionaries/terms-abbreviations.txt +++ b/.vscode/dictionaries/terms-abbreviations.txt @@ -188,6 +188,7 @@ DTLSL dyscalculia EBNF ECSDA +editability effectful Emscripting encrypter @@ -758,6 +759,7 @@ targetable taskbars taskboard teleporting +telepresence texels textboxes thenables diff --git a/files/en-us/games/tutorials/2d_breakout_game_phaser/animations_and_tweens/index.md b/files/en-us/games/tutorials/2d_breakout_game_phaser/animations_and_tweens/index.md index 9713ff8c8e313d8..3d98ff634f8fdd1 100644 --- a/files/en-us/games/tutorials/2d_breakout_game_phaser/animations_and_tweens/index.md +++ b/files/en-us/games/tutorials/2d_breakout_game_phaser/animations_and_tweens/index.md @@ -103,7 +103,7 @@ const destroyTween = this.tweens.add({ scaleX: 0, scaleY: 0, }, - onComplete: () => { + onComplete() { brick.destroy(); }, }); @@ -277,7 +277,7 @@ class ExampleScene extends Phaser.Scene { scaleX: 0, scaleY: 0, }, - onComplete: () => { + onComplete() { brick.destroy(); }, }); diff --git a/files/en-us/games/tutorials/2d_breakout_game_phaser/buttons/index.md b/files/en-us/games/tutorials/2d_breakout_game_phaser/buttons/index.md index dc0ad5072c95fa0..9af5ea81b703a21 100644 --- a/files/en-us/games/tutorials/2d_breakout_game_phaser/buttons/index.md +++ b/files/en-us/games/tutorials/2d_breakout_game_phaser/buttons/index.md @@ -338,7 +338,7 @@ class ExampleScene extends Phaser.Scene { scaleX: 0, scaleY: 0, }, - onComplete: () => { + onComplete() { brick.destroy(); }, }); diff --git a/files/en-us/games/tutorials/2d_breakout_game_phaser/randomizing_gameplay/index.md b/files/en-us/games/tutorials/2d_breakout_game_phaser/randomizing_gameplay/index.md index 6feea9dde3ec274..8bdb9e942600fd0 100644 --- a/files/en-us/games/tutorials/2d_breakout_game_phaser/randomizing_gameplay/index.md +++ b/files/en-us/games/tutorials/2d_breakout_game_phaser/randomizing_gameplay/index.md @@ -235,7 +235,7 @@ class ExampleScene extends Phaser.Scene { scaleX: 0, scaleY: 0, }, - onComplete: () => { + onComplete() { brick.destroy(); }, }); diff --git a/files/en-us/web/api/animation/commitstyles/index.md b/files/en-us/web/api/animation/commitstyles/index.md index edf6f11ccbd1cb5..e3fe9dfe28fa7dc 100644 --- a/files/en-us/web/api/animation/commitstyles/index.md +++ b/files/en-us/web/api/animation/commitstyles/index.md @@ -66,7 +66,7 @@ Animations [take precedence over all static styles](/en-US/docs/Web/CSS/CSS_casc In newer browsers you do not need to set the [`fill` mode](/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect#fill) (see the [browser compatibility table](#browser_compatibility) for specific versions). > [!NOTE] -> There is no way to feature check for this new behaviour. +> There is no way to feature check for this new behavior. > For now most code should continue to set `fill` as shown in the previous section. The code below shows how you can animate an element named `animatedElement`, wait on the animation to complete using the {{domxref("Animation.finished","finished")}} property, and then commit the styles to the element with `commitStyles()`. diff --git a/files/en-us/web/api/element/insertadjacenthtml/index.md b/files/en-us/web/api/element/insertadjacenthtml/index.md index d03c1a7092d618c..32b43d8c6da5648 100644 --- a/files/en-us/web/api/element/insertadjacenthtml/index.md +++ b/files/en-us/web/api/element/insertadjacenthtml/index.md @@ -133,7 +133,7 @@ Your own application code should use a third party library such as the "DOMPurif ```js const policy = trustedTypes.createPolicy("some-content-policy", { - createHTML: (input) => { + createHTML(input) { return input; // Do not do this in your own code! // Instead do something like: // return DOMPurify.sanitize(input); diff --git a/files/en-us/web/css/appearance/index.md b/files/en-us/web/css/appearance/index.md index 376c8ab66c6299a..c80f95b908156fc 100644 --- a/files/en-us/web/css/appearance/index.md +++ b/files/en-us/web/css/appearance/index.md @@ -76,11 +76,11 @@ The `appearance` property can be applied to all elements and pseudo-elements, bu - : Only relevant to the {{htmlelement("select")}} element and {{cssxref("::picker()", "::picker(select)")}} pseudo-element, allowing them to be styled. - `` - - : Has an effect similar to`auto` on certain elements. + - : Has an effect similar to `auto` on certain elements. - `textfield` - : Causes the appearance of certain `` types to [match the appearance of the `text` type](#try_it). - `menulist-button` - - : When set on the `` element, the drop-down picker's style [matches that of its default state](#setting_the_appearance_of_a_select). - `` - : Included for backwards compatibility; possible values include `button`, `checkbox`, `listbox`, `menulist`, `meter`, `progress-bar`, `push-button`, `radio`, `searchfield`, `slider-horizontal`, `square-button`, and `textarea`. The values all behave as `auto`: use `auto` instead. @@ -110,7 +110,7 @@ Some widgets disappear completely when set to `appearance: none`. The hidden con Because `none` can cause a widget to be hidden, the `base` value is being added to provide widgets with a base appearance. When supported, the `base` value will ensure widgets maintain their native appearance while enabling CSS to be used to change a widget's styles that are not changeable by default. Unlike `none`, which can make radio buttons and checkboxes disappear, `base` gives the widget a primitive appearance with default native styles that are usable and interoperable, as well as enabling a good degree of customization via CSS. While this `base` value is not yet supported, the many `` values provide similar functionality but are type-specific and not global. -The `base-select` value, which is relevant only to the {{htmlelement("select")}} element and {{cssxref("::picker()", "::picker(select)")}} pseudo-element, enables [styling `` not to render outside the browser pane or to trigger built-in mobile operating system components. It is also no longer sized based on the width of the widest `