From 587c39b8fe43e66c79c2055b4791a60483049e82 Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Tue, 5 Nov 2024 10:58:41 +0530 Subject: [PATCH] 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 --- .vscode/dictionaries/ignore-list.txt | 3 ++- .vscode/dictionaries/terms-abbreviations.txt | 1 + files/en-us/learn/html/cheatsheet/index.md | 2 +- files/en-us/web/api/htmlelement/autocorrect/index.md | 4 +++- .../en-us/web/css/css_text/wrapping_breaking_text/index.md | 6 +++--- files/en-us/web/html/global_attributes/autocorrect/index.md | 2 +- 6 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.vscode/dictionaries/ignore-list.txt b/.vscode/dictionaries/ignore-list.txt index 59823468260a82b..b44d4a3348f2844 100644 --- a/.vscode/dictionaries/ignore-list.txt +++ b/.vscode/dictionaries/ignore-list.txt @@ -142,6 +142,7 @@ gaesamplesite gims globalprivacycontrol.org GNF576746573fhdg4737dh4 +gogerychwyrndrobwllllantysiliogogogoch Graece gubergren hellonode @@ -230,7 +231,7 @@ potenti PPCCLL proinde public-webapps -pwllgwyngyllgogerychwyrngogogoch +pwllgwyngyll PXHQTXP Quaaaack quandong diff --git a/.vscode/dictionaries/terms-abbreviations.txt b/.vscode/dictionaries/terms-abbreviations.txt index 0055db8f851c8fe..dd9c1333dd094f0 100644 --- a/.vscode/dictionaries/terms-abbreviations.txt +++ b/.vscode/dictionaries/terms-abbreviations.txt @@ -39,6 +39,7 @@ autoallocate autobuffering autocapitalization autoconfig +autocorrection autodetection autofilled autofilling diff --git a/files/en-us/learn/html/cheatsheet/index.md b/files/en-us/learn/html/cheatsheet/index.md index 91dded7fd6c882e..5db88e9bd5b0a62 100644 --- a/files/en-us/learn/html/cheatsheet/index.md +++ b/files/en-us/learn/html/cheatsheet/index.md @@ -176,7 +176,7 @@ see <cite>The Monster Book of Monsters</cite>.
 <div style="width: 200px">
-  Llanfair<wbr>pwllgwyngyllgogerychwyrngogogoch.
+  Llanfair<wbr>pwllgwyngyll<wbr>gogerychwyrndrobwllllantysiliogogogoch.
 </div>
{{EmbedLiveSample("wbr-example", 100, 80)}} diff --git a/files/en-us/web/api/htmlelement/autocorrect/index.md b/files/en-us/web/api/htmlelement/autocorrect/index.md index f7599955f9fefcb..88b33b76f551e9e 100644 --- a/files/en-us/web/api/htmlelement/autocorrect/index.md +++ b/files/en-us/web/api/htmlelement/autocorrect/index.md @@ -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 @@ -86,6 +86,8 @@ if (`autocorrect` in HTMLElement.prototype) { #### Result + + 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. diff --git a/files/en-us/web/css/css_text/wrapping_breaking_text/index.md b/files/en-us/web/css/css_text/wrapping_breaking_text/index.md index 4953c50fa824349..281200492deda17 100644 --- a/files/en-us/web/css/css_text/wrapping_breaking_text/index.md +++ b/files/en-us/web/css/css_text/wrapping_breaking_text/index.md @@ -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 (`­`) 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 `‐`, and a soft break character can be added using the `­`, `­`, or `­` 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
- Llanfair­pwllgwyngy­llgogerychwyrndrobwllllantysiliogogogoch + Llanfair­pwllgwyngyll­gogerychwyrndrobwllllantysiliogogogoch
``` @@ -196,7 +196,7 @@ In the below example the text breaks in the location of the {{HTMLElement("wbr") ```html live-sample___wbr
- Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch + Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
``` diff --git a/files/en-us/web/html/global_attributes/autocorrect/index.md b/files/en-us/web/html/global_attributes/autocorrect/index.md index d14e75530a0e7cf..e87d180c11e627c 100644 --- a/files/en-us/web/html/global_attributes/autocorrect/index.md +++ b/files/en-us/web/html/global_attributes/autocorrect/index.md @@ -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