diff --git a/.vscode/dictionaries/code-entities.txt b/.vscode/dictionaries/code-entities.txt index 063b1b561d5001f..97b0b8ac5cf2c59 100644 --- a/.vscode/dictionaries/code-entities.txt +++ b/.vscode/dictionaries/code-entities.txt @@ -140,6 +140,8 @@ Crsel cryptomining csiso csrfmiddlewaretoken +css.selectors.headingfunction +css.selectors.hostfunction CSS_RGBCOLOR csslint cssref diff --git a/files/en-us/learn_web_development/extensions/client-side_tools/package_management/index.md b/files/en-us/learn_web_development/extensions/client-side_tools/package_management/index.md index 74a61c8420d2155..da8ed2d74a41788 100644 --- a/files/en-us/learn_web_development/extensions/client-side_tools/package_management/index.md +++ b/files/en-us/learn_web_development/extensions/client-side_tools/package_management/index.md @@ -391,7 +391,7 @@ npm run dev This should start Vite and start the same local development server, as we saw before. -Note that the script we defined here no longer need the `npx` prefix. This is because npm (and yarn) commands are clever in that they will search for command line tools that are locally installed to the project before trying to find them through conventional methods (where your computer will normally store and allow software to be found). You can [learn more about the technical intricacies of the `run` command](https://docs.npmjs.com/cli/run-script/), although in most cases your own scripts will run just fine. +Note that the script we defined here no longer need the `npx` prefix. This is because npm (and yarn) commands are clever in that they will search for command line tools that are locally installed to the project before trying to find them through conventional methods (where your computer will normally store and allow software to be found). You can [learn more about the technical intricacies of the `run` command](https://docs.npmjs.com/cli/commands/npm-run/), although in most cases your own scripts will run just fine. This particular one may look unnecessary — `npm run dev` is more characters to type than `npx vite`, but it is a form of _abstraction_. It allows us to add more work to the `dev` command in the future, such as setting environment variables, generating temporary files, etc., without complicating the command. diff --git a/files/en-us/learn_web_development/extensions/server-side/express_nodejs/development_environment/index.md b/files/en-us/learn_web_development/extensions/server-side/express_nodejs/development_environment/index.md index d1dadd972623fde..385a9fa6724ece9 100644 --- a/files/en-us/learn_web_development/extensions/server-side/express_nodejs/development_environment/index.md +++ b/files/en-us/learn_web_development/extensions/server-side/express_nodejs/development_environment/index.md @@ -309,7 +309,7 @@ The following entry would then be added to your application's **package.json**: ### Running tasks -In addition to defining and fetching dependencies you can also define _named_ scripts in your **package.json** files and call npm to execute them with the [run-script](https://docs.npmjs.com/cli/run-script/) command. This approach is commonly used to automate running tests and parts of the development or build toolchain (e.g., running tools to minify JavaScript, shrink images, LINT/analyze your code, etc.). +In addition to defining and fetching dependencies you can also define _named_ scripts in your **package.json** files and call npm to execute them with the [run-script](https://docs.npmjs.com/cli/commands/npm-run/) command. This approach is commonly used to automate running tests and parts of the development or build toolchain (e.g., running tools to minify JavaScript, shrink images, LINT/analyze your code, etc.). > [!NOTE] > Task runners like [Gulp](https://gulpjs.com/) and [Grunt](https://gruntjs.com/) can also be used to run tests and other external tools. diff --git a/files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md b/files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md index feff449fb5a1543..ada3893a6eb59c5 100644 --- a/files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md @@ -12,7 +12,7 @@ An extension adds features and functions to a browser. It's created using famili **Enhance or complement a website**: Use an add-on to deliver additional in-browser features or information from your website. Allow users to collect details from pages they visit to enhance the service you offer. -Examples: [Grammarly for Firefox](https://addons.mozilla.org/en-US/firefox/addon/grammarly-1/), [Enhancer for YouTube](https://addons.mozilla.org/en-US/firefox/addon/enhancer-for-youtube/), and [Control Panel for Twitter](https://addons.mozilla.org/en-US/firefox/addon/control-panel-for-twitter/). +Examples: [Grammarly for Firefox](https://addons.mozilla.org/en-US/firefox/addon/grammarly-1/) and [Control Panel for Twitter](https://addons.mozilla.org/en-US/firefox/addon/control-panel-for-twitter/). ![The Grammarly extension providing an edit hint in the GitHub editor.](grammarly-in-github-editor.png) diff --git a/files/en-us/web/accessibility/guides/seizure_disorders/index.md b/files/en-us/web/accessibility/guides/seizure_disorders/index.md index f1b1e2001b5b165..07c7c21f9f2e260 100644 --- a/files/en-us/web/accessibility/guides/seizure_disorders/index.md +++ b/files/en-us/web/accessibility/guides/seizure_disorders/index.md @@ -589,12 +589,6 @@ The requirement for the `literal` property is taken from [WAI-Adapt: Help and Su - [Accessibility Master List](https://ds.gpii.net/learn/accessibility-masterlist) Gregg Vanderheiden Ph.D. Editor -### Harding - -Along with the PEAT tool, is generally recognized to be one of the two "gold standards" for analyzing flashes. - -- [Harding Flash and Pattern Analyzer](https://www.hardingfpa.com/) - ### ISO - [IEC 61966-2-2:2003(en)](https://www.iso.org/obp/ui/#iso:std:iec:61966:-2-2:ed-1:v1:en) Multimedia systems and equipment — Colour measurement and management — Part 2-2: Colour management — Extended RGB color space — scRGB diff --git a/files/en-us/web/api/url_pattern_api/index.md b/files/en-us/web/api/url_pattern_api/index.md index 6ff545281c5bc67..366ced87149781b 100644 --- a/files/en-us/web/api/url_pattern_api/index.md +++ b/files/en-us/web/api/url_pattern_api/index.md @@ -597,7 +597,7 @@ console.log(result.hostname.input); // 'example.com' The following example shows how base URLs can also be used to construct the `URLPattern`. The base URL is treated strictly as a URL and cannot contain any pattern syntax itself. -The pattern only [inherits URL parts from the base URL](/en-US/docs/Web/API/URL_Pattern_API#inheritance_from_a_base_url) that are less specific than those in the other properties. +The pattern only [inherits URL parts from the base URL](#inheritance_from_a_base_url) that are less specific than those in the other properties. In this case the `pathname` is specified so the protocol and host can be inherited, but not the search, hash, username, or password. The properties that are not inherited default to the wildcard string (`"*"`). diff --git a/files/en-us/web/api/urlpattern/urlpattern/index.md b/files/en-us/web/api/urlpattern/urlpattern/index.md index b136c44ae68dcbb..c46830347f4b0d4 100644 --- a/files/en-us/web/api/urlpattern/urlpattern/index.md +++ b/files/en-us/web/api/urlpattern/urlpattern/index.md @@ -191,7 +191,7 @@ let pattern4 = new URLPattern({ let pattern5 = new URLPattern({ pathname: "/books/:id", baseURL: "https://example.com/some/path/?search=3#param=1", - //More-specific URL parts are discarded + // More-specific URL parts are discarded }); ``` @@ -269,14 +269,14 @@ const pattern = new URLPattern({ }); console.log(pattern); -//protocol: https -//username: * -//password: * -//hostname: example.com -//port: -//pathname: /some/path -//search: * -//hash: * +// protocol: https +// username: * +// password: * +// hostname: example.com +// port: +// pathname: /some/path +// search: * +// hash: * ``` ## Specifications diff --git a/files/en-us/web/progressive_web_apps/index.md b/files/en-us/web/progressive_web_apps/index.md index 5df7119eb16a619..10ffd324158a524 100644 --- a/files/en-us/web/progressive_web_apps/index.md +++ b/files/en-us/web/progressive_web_apps/index.md @@ -55,7 +55,7 @@ Build a PWA from scratch using these [PWA Tutorials](/en-US/docs/Web/Progressive - [Creating your first PWA](/en-US/docs/Web/Progressive_web_apps/Tutorials/CycleTracker) - : This novice-level tutorial walks through the creation of a PWA to track menstrual cycles. Lessons include a walk through of the HTML, CSS, and JavaScript required to create a fully functional web app, setting up a testing environment, and complete explanations guiding the learner through upgrading the web app into a PWA; including developing and inspecting a manifest, adding a service worker, and using the service worker to delete stale caches. - [Deep dive into PWA](/en-US/docs/Web/Progressive_web_apps/Tutorials/js13kGames) - - : This intermediate-level tutorial walks through the creation of a PWA that lists information about games submitted to the A-Frame category in the [js13kGames 2017](https://2017.js13kgames.com/) competition. This tutorial includes all the basics for creating a PWA, with additional features, including notifications, push, and app performance. + - : This intermediate-level tutorial walks through the creation of a PWA that lists information about games submitted to the A-Frame category in the [js13kGames 2017](https://js13kgames.com/2017/) competition. This tutorial includes all the basics for creating a PWA, with additional features, including notifications, push, and app performance. ## Reference diff --git a/files/en-us/web/progressive_web_apps/tutorials/index.md b/files/en-us/web/progressive_web_apps/tutorials/index.md index 6f96b304bf205a4..85d7e67abf5d017 100644 --- a/files/en-us/web/progressive_web_apps/tutorials/index.md +++ b/files/en-us/web/progressive_web_apps/tutorials/index.md @@ -11,4 +11,4 @@ This page lists tutorials to help learn how to develop PWAs. Tutorials walk thro - : This novice-level tutorial walks through the creation of a PWA to track menstrual cycles. Lessons include a walk through of the HTML, CSS, and JavaScript required to create a fully functional web app, setting up a testing environment, and complete explanations guiding the learner through upgrading the web app into a PWA; including developing and inspecting a manifest, adding a service worker, and using the service worker to delete stale caches. - [Deep dive into PWA](/en-US/docs/Web/Progressive_web_apps/Tutorials/js13kGames) - - : This intermediate-level tutorial walks through the creation of a PWA that lists information about games submitted to the A-Frame category in the [js13kGames 2017](https://2017.js13kgames.com/) competition. This tutorial includes all the basics for creating a PWA, with additional features, including notifications, push, and app performance. + - : This intermediate-level tutorial walks through the creation of a PWA that lists information about games submitted to the A-Frame category in the [js13kGames 2017](https://js13kgames.com/2017/) competition. This tutorial includes all the basics for creating a PWA, with additional features, including notifications, push, and app performance. diff --git a/files/en-us/web/progressive_web_apps/tutorials/js13kgames/index.md b/files/en-us/web/progressive_web_apps/tutorials/js13kgames/index.md index 9bfdc61ec024af1..3c986394c5f9724 100644 --- a/files/en-us/web/progressive_web_apps/tutorials/js13kgames/index.md +++ b/files/en-us/web/progressive_web_apps/tutorials/js13kgames/index.md @@ -8,7 +8,7 @@ sidebar: pwasidebar {{Next("Web/Progressive_web_apps/Tutorials/js13kGames/App_structure")}} -In this tutorial we will examine the source code of a website that lists information about games submitted to the _A-Frame_ category in the [js13kGames 2017](https://2017.js13kgames.com/) competition. You don't have to think about what the actual content on the website is; the main point is to learn how to use PWA features in your own projects. +In this tutorial we will examine the source code of a website that lists information about games submitted to the _A-Frame_ category in the [js13kGames 2017](https://js13kgames.com/2017/) competition. You don't have to think about what the actual content on the website is; the main point is to learn how to use PWA features in your own projects. If you want to jump ahead, the tutorial chapters are as follows: diff --git a/files/en-us/web/webdriver/reference/errors/index.md b/files/en-us/web/webdriver/reference/errors/index.md index f6297ddcd7c1df3..e5feac8bd09ff78 100644 --- a/files/en-us/web/webdriver/reference/errors/index.md +++ b/files/en-us/web/webdriver/reference/errors/index.md @@ -54,7 +54,7 @@ Because both WebDriver and JavaScript execution is halted by such a dialog, we s } ``` -In most [clients](/en-US/docs/Web/WebDriver/Reference/Clients) the error would be represented by some sort of error _type_ or _object representation_. In Python it is represented as a [`WebDriverException`](https://www.selenium.dev/selenium/docs/api/py/common/selenium.common.exceptions.html), in Node.js as a [`WebDriverError`](https://www.selenium.dev/selenium/docs/api/javascript/WebDriverError.html), and in Java also as a [`WebDriverException`](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/WebDriverException.html). +In most [clients](/en-US/docs/Web/WebDriver/Reference/Clients) the error would be represented by some sort of error _type_ or _object representation_. In Python it is represented as a [`WebDriverException`](https://www.selenium.dev/selenium/docs/api/py/selenium_common/selenium.common.exceptions.html), in Node.js as a [`WebDriverError`](https://www.selenium.dev/selenium/docs/api/javascript/WebDriverError.html), and in Java also as a [`WebDriverException`](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/WebDriverException.html). ## Table of errors