Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #36639

Merged
merged 5 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/dictionaries/ignore-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ gaesamplesite
gims
globalprivacycontrol.org
GNF576746573fhdg4737dh4
gogerychwyrndrobwllllantysiliogogogoch
Graece
gubergren
hellonode
Expand Down Expand Up @@ -230,7 +231,7 @@ potenti
PPCCLL
proinde
public-webapps
pwllgwyngyllgogerychwyrngogogoch
pwllgwyngyll
PXHQTXP
Quaaaack
quandong
Expand Down
1 change: 1 addition & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ autoallocate
autobuffering
autocapitalization
autoconfig
autocorrection
autodetection
autofilled
autofilling
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/learn/html/cheatsheet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ see &#x3C;cite>The Monster Book of Monsters&#x3C;/cite>.</pre
<td id="wbr-example">
<pre class="brush: html">
&#x3C;div style="width: 200px">
Llanfair&#x3C;wbr>pwllgwyngyllgogerychwyrngogogoch.
Llanfair&#x3C;wbr>pwllgwyngyll&#x3C;wbr>gogerychwyrndrobwllllantysiliogogogoch.
&#x3C;/div></pre
>
{{EmbedLiveSample("wbr-example", 100, 80)}}
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/htmlelement/autocorrect/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The property reflects the value of the [`autocorrect`](/en-US/docs/Web/HTML/Glob

### Enable and disable autocorrection

This example shows how you can enable and disable auto-correction.
This example shows how you can enable and disable autocorrection.

#### HTML

Expand Down Expand Up @@ -86,6 +86,8 @@ if (`autocorrect` in HTMLElement.prototype) {

#### Result

<!-- cSpell:ignore Carot -->

Activate the button to toggle the autocorrect value. Enter invalid text into the text box, such as "Carot".
This should be corrected automatically when the feature is enabled.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ In the example below there is a checkbox and label. Let's say, you want the labe

## Adding hyphens

To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard or soft break character into the string. A hard break (`‐`) will always break, even if it is not necessary to do so. A soft break (`&shy;`) only breaks if breaking is needed.
To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard (U+2010) or soft break character (U+00AD) into the string. A hard break character can be added using `‐` or `&#x2010;`, and a soft break character can be added using the `&shy;`, `&#173;`, or `&#xad;` HTML character codes. A hard break will always break, even if it is not necessary to do so. A soft break only breaks if breaking is needed.

```html live-sample___hyphens
<div class="box">
Llanfair­pwllgwyngy­llgogerychwyrndrobwllllantysiliogogogoch
Llanfair&shy;pwllgwyngyll&shy;gogerychwyrndrobwllllantysiliogogogoch
</div>
```

Expand Down Expand Up @@ -196,7 +196,7 @@ In the below example the text breaks in the location of the {{HTMLElement("wbr")

```html live-sample___wbr
<div class="box">
Llanfair<wbr />pwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
Llanfair<wbr />pwllgwyngyll<wbr />gogerychwyrndrobwllllantysiliogogogoch
</div>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ If auto-correction is enabled on your browser, a typo in a vegetable name should

### Enabling and disabling autocorrection

This example shows how you can enable and disable auto-correction using the `autocorrect` attribute.
This example shows how you can enable and disable autocorrection using the `autocorrect` attribute.

#### HTML

Expand Down