Skip to content

Commit 587c39b

Browse files
fix typos (#36639)
* fix typos * Update index.md * Update files/en-us/web/css/css_text/wrapping_breaking_text/index.md * Fixes * Update files/en-us/web/css/css_text/wrapping_breaking_text/index.md --------- Co-authored-by: Joshua Chen <[email protected]>
1 parent b903e95 commit 587c39b

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

.vscode/dictionaries/ignore-list.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ gaesamplesite
142142
gims
143143
globalprivacycontrol.org
144144
GNF576746573fhdg4737dh4
145+
gogerychwyrndrobwllllantysiliogogogoch
145146
Graece
146147
gubergren
147148
hellonode
@@ -230,7 +231,7 @@ potenti
230231
PPCCLL
231232
proinde
232233
public-webapps
233-
pwllgwyngyllgogerychwyrngogogoch
234+
pwllgwyngyll
234235
PXHQTXP
235236
Quaaaack
236237
quandong

.vscode/dictionaries/terms-abbreviations.txt

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ autoallocate
3939
autobuffering
4040
autocapitalization
4141
autoconfig
42+
autocorrection
4243
autodetection
4344
autofilled
4445
autofilling

files/en-us/learn/html/cheatsheet/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ see &#x3C;cite>The Monster Book of Monsters&#x3C;/cite>.</pre
176176
<td id="wbr-example">
177177
<pre class="brush: html">
178178
&#x3C;div style="width: 200px">
179-
Llanfair&#x3C;wbr>pwllgwyngyllgogerychwyrngogogoch.
179+
Llanfair&#x3C;wbr>pwllgwyngyll&#x3C;wbr>gogerychwyrndrobwllllantysiliogogogoch.
180180
&#x3C;/div></pre
181181
>
182182
{{EmbedLiveSample("wbr-example", 100, 80)}}

files/en-us/web/api/htmlelement/autocorrect/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The property reflects the value of the [`autocorrect`](/en-US/docs/Web/HTML/Glob
2222

2323
### Enable and disable autocorrection
2424

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

2727
#### HTML
2828

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

8787
#### Result
8888

89+
<!-- cSpell:ignore Carot -->
90+
8991
Activate the button to toggle the autocorrect value. Enter invalid text into the text box, such as "Carot".
9092
This should be corrected automatically when the feature is enabled.
9193

files/en-us/web/css/css_text/wrapping_breaking_text/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ In the example below there is a checkbox and label. Let's say, you want the labe
163163

164164
## Adding hyphens
165165

166-
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.
166+
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.
167167

168168
```html live-sample___hyphens
169169
<div class="box">
170-
Llanfair­pwllgwyngy­llgogerychwyrndrobwllllantysiliogogogoch
170+
Llanfair&shy;pwllgwyngyll&shy;gogerychwyrndrobwllllantysiliogogogoch
171171
</div>
172172
```
173173

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

197197
```html live-sample___wbr
198198
<div class="box">
199-
Llanfair<wbr />pwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
199+
Llanfair<wbr />pwllgwyngyll<wbr />gogerychwyrndrobwllllantysiliogogogoch
200200
</div>
201201
```
202202

files/en-us/web/html/global_attributes/autocorrect/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If auto-correction is enabled on your browser, a typo in a vegetable name should
6666

6767
### Enabling and disabling autocorrection
6868

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

7171
#### HTML
7272

0 commit comments

Comments
 (0)