Skip to content

Commit

Permalink
fix ignored typos due to 'allowCompoundWords:true' setting (#36004)
Browse files Browse the repository at this point in the history
* fix ignored typos due to 'allowCompoundWords:true' setting

* add missed words as flag words

* remove allowCompoundWords setting

* Update files/en-us/web/mathml/element/mfenced/index.md

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Brian Thomas Smith <brian@smith.berlin>

* Update files/en-us/web/javascript/reference/errors/unexpected_token/index.md

* Update files/en-us/web/javascript/reference/errors/unexpected_token/index.md

* Update files/en-us/web/javascript/reference/errors/not_a_function/index.md

---------

Co-authored-by: Brian Thomas Smith <brian@smith.berlin>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
  • Loading branch information
3 people authored and fiji-flo committed Oct 2, 2024
1 parent fdb6195 commit c791d58
Show file tree
Hide file tree
Showing 63 changed files with 303 additions and 69 deletions.
1 change: 0 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"favourite-colour",
"ucaf:.*\""
],
"allowCompoundWords": true,
"dictionaryDefinitions": [
{
"name": "terms-abbreviations",
Expand Down
235 changes: 235 additions & 0 deletions .vscode/ignore-list.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,238 @@
aaabcc
aabaac
aacbbbcac
ACCEPTEDTOS
accname
adduser
adjtimescapheight
adjtimesexheight
adrianroselli
advertisementreceived
aggregatable
alastairc
alistapart
ALLOWFROM
alphanumerals
Animometer
Annonay
antialiasing
apacheconf
apachectl
ASCIIID
assetlinks
audiocontext
beforeinstallpromptevent
beforetoggle
belgin
blockable
brians
Browsersync
browsingtopics
bytestring
CACHEDIR
catchable
Caterina
characterboundsupdate
Cheatsheet
checkboard
checkmarks
clipboardchange
Codelab
collectability
collinearity
concatenator
contenido
contentlost
contentscripts
contentvisibilityautostatechange
controlbar
cookieless
cooluser
crashextensions
credentialled
crookedtimber
cssgridgarden
csstricks
Cubehelix
cubemaps
currentscreenchange
customstateset
cycletracker
davidwalsh
demuxing
Descripton
dropshow
enablei
Engish
Ethere
everytime
evilsite
examplestyles
Fairchild
fencedframe
fencedframeconfig
fencedframes
filetext
filterfunctions
Flagfox
forwidth
gattserverdisconnected
generatable
GETMATCHEDRULES
givenname
greenblue
greenzero
growshrink
harpercollins
highspeed
imagebad
imagegrid
infobox
infoboxes
infobox's
innertext
interarrival
ipados
jamiedoe
Jinping
Kobabe
lazyloaded
letmein
lightpurple
Lindenberg
linecaps
longwinded
loopstarted
lowdelay
macaron
Malala
mathit
maxplaybackrate
megastore
metastring
miplevel
Miroslav
Misparsed
modulepreloaded
montecarlo
mouseentry
multifactor
multimemory
mygroupmarker
mysampler
mystatename
navigables
nextslide
Nodepad
noteblocks
notrendered
Nowrapping
offsetted
ontextformatupdate
ontextupdate
pagereveal
pageswap
paintable
paintsize
papermakers
permissionspolicy
pipline
Platformer
playbackrate
popovertarget
popovertargetaction
precache
precached
precaches
precaching
preconnects
preloaders
premultiplication
prerenderingchange
prerenders
previousslide
pricelist
properities
pythonanywhere
pythonaware
rawupdate
readonlyinline
realpython
redblue
redyellow
redzero
requireinteraction
reselecting
Resizeable
resnapped
Ronaldo
rtctransform
samplepay
scanability
screenreaders
screenschange
seecompattable
selectchange
selectedness
Serpentina
shadowrootdelegatesfocus
shadowrootmode
shadowrootserializable
sharedmem
sharpyuv
shortlinks
shrinkwap
shrinkwrapping
sinkchange
smashingmagazine
Snapshotting
somestate
srihash
stackexchange
Stormys
Stratford
styleable
subformula
subformulas
subheaders
subpattern
subpopover
subproject
Subsentence
subsetting
subteam
subteams
sunsetting
supersets
swashoff
targettable
textformatupdate
textupdate
timeframe
truthyness
tunetheweb
tutsplus
underliner
underlyingly
usecase
useinbandfec
valuechange
viewbox
virtualkeyboardpolicy
webappmanifest
webbundle
webcodecs
webdav
webdesignerdepot
webidentity
webtransport
whitepoint
wisedog
workgroups
writingsuggestions
zeroblue
zeroyellow
zerozero
Amit
Scrimba
rvfc
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/learn/forms/user_input_methods/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ When screen orientation matters for your form, you can read the screen orientati
### Fullscreen

If you need to present your form in fullscreen mode, such as when your form is displayed on a museum kiosk, toll booth, or really any publically displayed user interface, it is possible to do so by calling {{domxref("Element.requestFullscreen()")}} on that element:
If you need to present your form in fullscreen mode, such as when your form is displayed on a museum kiosk, toll booth, or really any publicly displayed user interface, it is possible to do so by calling {{domxref("Element.requestFullscreen()")}} on that element:

```js
const elem = document.getElementById("myForm");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ While routing is traditionally handled by a server and not an application on the
[React Router](https://reactrouter.com/) is the most popular and most robust client-side routing library for React. It allows developers to define the routes of their application, and associate components with those routes . It also provides a number of useful hooks and components for managing the browser's location and history.

> [!NOTE]
> Client-side routing can make your application feel fast, but it poses a number of accessibility problems, especially for people who rely on assistive techology. You can read more about this in Marcy Sutton's article, ["The Implications of Client-Side Routing"](https://testingaccessibility.com/implications-of-client-side-routing).
> Client-side routing can make your application feel fast, but it poses a number of accessibility problems, especially for people who rely on assistive technology. You can read more about this in Marcy Sutton's article, ["The Implications of Client-Side Routing"](https://testingaccessibility.com/implications-of-client-side-routing).
{{PreviousMenuNext("Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_accessibility","Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Ember_getting_started", "Learn/Tools_and_testing/Client-side_JavaScript_frameworks")}}
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ We'll step through the options in the initialization steps below.
To explore various features of Vue, we will be building up a sample todo list app. We'll begin by using `create-vue` to build a new scaffold for our app.
In terminal, `cd` to where you'd like to create your sample app, then run `npm create vue@latest` (or `yarn create vue@latest` if you prefer Yarn).

The interactive tool let's you choose some options and you can procees by pressing <kbd>Enter</kbd>.
The interactive tool let's you choose some options and you can proceed by pressing <kbd>Enter</kbd>.
For this project, we'll use the following configuration:

```plain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ ESLint is installed via npm, so as per discussions in Chapter 2, you have the ch
npm install --save-dev eslint@8 @eslint/js globals
```

> **Note:** `esling@8` installs the version 8 of ESLint, while the latest is v9. This is because `eslint-plugin-react`, which we will use later, [does not support v9 yet](https://github.com/jsx-eslint/eslint-plugin-react/issues/3699).
> **Note:** `eslint@8` installs the version 8 of ESLint, while the latest is v9. This is because `eslint-plugin-react`, which we will use later, [does not support v9 yet](https://github.com/jsx-eslint/eslint-plugin-react/issues/3699).
The `@eslint/js` package provides predefined ESLint configuration, while the `globals` package provides a list of known global names in each environment. We will use them later in the configuration. Out of the box, ESLint is going to complain that it can't find the configuration file if you run it with `npx eslint`:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ A few rules to remember:

- Only apply `aria-brailleroledescription` to elements with a valid ARIA role or elements with implicit role semantics.
- The `aria-brailleroledescription`, if present, must have a non-empty, none null value that is different from the `aria-roledescription` value, which, in turn, is different from the ARIA explicit or role or implicit semantic role.
- Avoid using Unicode Braille Patterns. If they must be used, ensure the `aria-brailleroledescription` value contains content other than unicode braille patterns, whitespace, and braille battern dots-0.
- Avoid using Unicode Braille Patterns. If they must be used, ensure the `aria-brailleroledescription` value contains content other than unicode braille patterns, whitespace, and braille pattern dots-0.
- Ensure the value is always localized to the document's language.

> [!WARNING]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ A number representing the current time in milliseconds, or `null`.

## Reduced time precision

To offer protection against timing attacks and [fingerprinting](/en-US/docs/Glossary/Fingerprinting), the precision of `platbackEvent.currentTime` might get rounded depending on browser settings. In Firefox, the `privacy.reduceTimerPrecision` preference is enabled by default and defaults to 2ms. You can also enable `privacy.resistFingerprinting`, in which case the precision will be 100ms or the value of `privacy.resistFingerprinting.reduceTimerPrecision.microseconds`, whichever is larger.
To offer protection against timing attacks and [fingerprinting](/en-US/docs/Glossary/Fingerprinting), the precision of `playbackEvent.currentTime` might get rounded depending on browser settings. In Firefox, the `privacy.reduceTimerPrecision` preference is enabled by default and defaults to 2ms. You can also enable `privacy.resistFingerprinting`, in which case the precision will be 100ms or the value of `privacy.resistFingerprinting.reduceTimerPrecision.microseconds`, whichever is larger.

For example, with reduced time precision, the result of `platbackEvent.currentTime` will always be a multiple of 0.002, or a multiple of 0.1 (or `privacy.resistFingerprinting.reduceTimerPrecision.microseconds`) with `privacy.resistFingerprinting` enabled.
For example, with reduced time precision, the result of `playbackEvent.currentTime` will always be a multiple of 0.002, or a multiple of 0.1 (or `privacy.resistFingerprinting.reduceTimerPrecision.microseconds`) with `privacy.resistFingerprinting` enabled.

```js
// reduced time precision (2ms) in Firefox 60
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/bluetooth/requestdevice/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ requestDevice(options)
- `companyIdentifier`
- : A mandatory number identifying the manufacturer of the device.
Company identifiers are listed in the Bluetooth specification [Assigned numbers](https://www.bluetooth.com/specifications/assigned-numbers/), Section 7.
For example, to match against devices manufacturered by "Digianswer A/S", with assigned hex number `0x000C`, you would specify `12`.
For example, to match against devices manufactured by "Digianswer A/S", with assigned hex number `0x000C`, you would specify `12`.
- `dataPrefix` {{optional_inline}}
- : The data prefix.
A buffer containing values to match against the values at the start of the advertising manufacturer data.
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/canvasrenderingcontext2d/arcto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ can be used to change an underlined element that is in focus.
function drawCanvas() {
const rPoint = 4;
const colorConstruction = "#080";
const colorDragable = "#00F";
const colorDraggable = "#00F";
const [P0, P1, P2] = state.controlPoints;
ctx.font = "italic 14pt sans-serif";
Expand Down Expand Up @@ -783,7 +783,7 @@ can be used to change an underlined element that is in focus.
state.controlPoints.forEach((value) => {
ctx.beginPath();
ctx.arc(value.x, value.y, rPoint, 0, 2 * Math.PI);
ctx.fillStyle = colorDragable;
ctx.fillStyle = colorDraggable;
ctx.fill();
});
ctx.fillStyle = "#000";
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/clipboard/write/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ img {
#### Result

The result is shown below.
First click on the blue square, and then select the text "Paste here" and use your OS-specific keyboard combinatations to paste from the clipboard (such as `Ctrl+V` on Windows).
First click on the blue square, and then select the text "Paste here" and use your OS-specific keyboard combinations to paste from the clipboard (such as `Ctrl+V` on Windows).

{{embedlivesample("write_canvas_contents_to_the_clipboard", "", "420", "", "", "", "clipboard-write")}}

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/compute_pressure_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Fast and delightful web applications should balance workloads when the system's

### Pressure source types

In your web app or website, different tasks are fighting for the processing time of different processing units (CPU, GPU, and other specialized proccessing units). The current version of the Compute Pressure API specification defines two main source types that can be queried to gather pressure information:
In your web app or website, different tasks are fighting for the processing time of different processing units (CPU, GPU, and other specialized processing units). The current version of the Compute Pressure API specification defines two main source types that can be queried to gather pressure information:

- `"thermals"` represents the global thermal state of the entire system.
- `"cpu"` represents the average pressure of the central processing unit (CPU) across all its cores. This state can be affected by other apps and sites than the observing site.
Expand Down Expand Up @@ -112,4 +112,4 @@ try {

## See also

- [Compute Pressure demo](https://w3c.github.io/compute-pressure/demo/), which uses Mandelbrot sets and workers to create artifical pressure for test purposes.
- [Compute Pressure demo](https://w3c.github.io/compute-pressure/demo/), which uses Mandelbrot sets and workers to create artificial pressure for test purposes.
2 changes: 1 addition & 1 deletion files/en-us/web/api/console/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ The first parameter to the logging methods can be a string containing zero or mo
- `%c`
- : Applies CSS style rules to all following text. See [Styling console output](#styling_console_output).

Some browsers may implement additional format specifiers. For example, Safari and Firefox support the C-style precision formating `%.<precision>f`. For example `console.log("Foo %.2f", 1.1)` will output the number to 2 decimal places: `Foo 1.10`, while `console.log("Foo %.2d", 1.1)` will output the number as two significant figures with a leading 0: `Foo 01`.
Some browsers may implement additional format specifiers. For example, Safari and Firefox support the C-style precision formatting `%.<precision>f`. For example `console.log("Foo %.2f", 1.1)` will output the number to 2 decimal places: `Foo 1.10`, while `console.log("Foo %.2d", 1.1)` will output the number as two significant figures with a leading 0: `Foo 01`.

Each of these pulls the next argument after the format string off the parameter list. For example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Modern browsers provide users with a password manager, which enables users to st

In the Credential Management API, a password is represented by the {{domxref("PasswordCredential")}} interface. When a user successfully registers for or signs into your site, you can call the {{domxref("PasswordCredential.PasswordCredential()", "PasswordCredential()")}} constructor or {{domxref("CredentialsContainer.create", "navigator.credentials.create()")}} to create a `PasswordCredential` object from the credentials the user entered. You can then pass this into {{domxref("CredentialsContainer.store", "navigator.credentials.store()")}}, and the browser will ask the user if they want to store the password in the password manager.

![Sequence diagram showing creation and storage of a pasword credential.](password-create.svg)
![Sequence diagram showing creation and storage of a password credential.](password-create.svg)

When a user visits your site, you can call {{domxref("CredentialsContainer.get", "navigator.credentials.get()")}} to retrieve a stored password for your site, and use it to log the user in. Depending on the situation, you can log the user in silently or use the returned password to auto-fill a form field.

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/customstateset/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Additionally, the `:state()` pseudo-class can be used after the [`::part()`](/en

> [!WARNING]
> Browsers that do not yet support [`:state()`](/en-US/docs/Web/CSS/:state) will use a CSS `<dashed-ident>` for selecting custom states, which is now deprecated.
> For information about how to support both approaches see the [Compatibility with `<dashed-ident>` syntax](#compability_with_dashed-ident_syntax) section below.
> For information about how to support both approaches see the [Compatibility with `<dashed-ident>` syntax](#compatibility_with_dashed-ident_syntax) section below.
## Examples

Expand Down Expand Up @@ -485,7 +485,7 @@ Click the element to see a different border being applied as the state changes.

{{EmbedLiveSample("Non-boolean internal states", "100%", 50)}}

## Compability with `<dashed-ident>` syntax
## Comptability with `<dashed-ident>` syntax

Previously custom elements with custom states were selected using a `<dashed-ident>` instead of the [`:state()`](/en-US/docs/Web/CSS/:state) function.
Browser versions that don't support `:state()` will throw an error when supplied with an ident that is not prefixed with the double dash.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ addEventListener("rtctransform", (event) => {
The `rtctransform` event is fired when an encoded frame is enqueued on the {{domxref("RTCRtpScriptTransformer")}} and just once when the transformer's corresponding {{domxref("RTCRtpScriptTransformer")}} is constructed.
The code first determines what transform to apply using `name` value passed in the options (this allows {{domxref("RTCRtpScriptTransform")}} instances added to the incoming and outgoing WebRTC pipelines to share a single worker).
Encoded frames are then piped from the readable, through the selected transform {{domxref("TransformStream")}}, to a writeable.
The actual tranforming code is not shown.
The actual transforming code is not shown.

Note that this code is part of a more complete example provided in {{domxref("WebRTC API/Using Encoded Transforms", "Using WebRTC Encoded Transforms", "", "nocode")}}.

Expand Down
Loading

0 comments on commit c791d58

Please sign in to comment.