From f303cf22798f312a7f073021aef169ef57e16ddb Mon Sep 17 00:00:00 2001 From: OnkarRuikar <87750369+OnkarRuikar@users.noreply.github.com> Date: Mon, 4 Nov 2024 08:22:20 +0530 Subject: [PATCH 1/5] fix typos --- .vscode/dictionaries/terms-abbreviations.txt | 1 + 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 +- 4 files changed, 9 insertions(+), 4 deletions(-) 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/web/api/htmlelement/autocorrect/index.md b/files/en-us/web/api/htmlelement/autocorrect/index.md index f7599955f9fefcb..5e2fbfaf9c5d4d0 100644 --- a/files/en-us/web/api/htmlelement/autocorrect/index.md +++ b/files/en-us/web/api/htmlelement/autocorrect/index.md @@ -10,6 +10,8 @@ browser-compat: api.HTMLElement.autocorrect {{APIRef("HTML DOM")}}{{SeeCompatTable}} + + The **`autocorrect`** property of the {{domxref("HTMLElement")}} interface controls whether or not user text input is automatically corrected for spelling and/or punctuation errors. The property reflects the value of the [`autocorrect`](/en-US/docs/Web/HTML/Global_attributes/autocorrect) HTML global attribute. @@ -22,7 +24,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 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..f50b629a743f0e3 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 @@ -6,6 +6,8 @@ page-type: guide {{CSSRef}} + + This guide explains the various ways in which overflowing text can be managed in CSS. ## What is overflowing text? @@ -163,11 +165,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 (`-`) or soft break character (U+00AD) into the string. A soft break character can be added using `­`, `­`, or `­` HTML character codes as well. 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­pwllgwyngy­llgogerychwyrndrobwllllantysiliogogogoch
``` 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 From 96a7d3605b8630fbd4a48edc83cac5e5bf0ee515 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Mon, 4 Nov 2024 10:04:02 -0500 Subject: [PATCH 2/5] Update index.md --- files/en-us/web/api/htmlelement/autocorrect/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/api/htmlelement/autocorrect/index.md b/files/en-us/web/api/htmlelement/autocorrect/index.md index 5e2fbfaf9c5d4d0..88b33b76f551e9e 100644 --- a/files/en-us/web/api/htmlelement/autocorrect/index.md +++ b/files/en-us/web/api/htmlelement/autocorrect/index.md @@ -10,8 +10,6 @@ browser-compat: api.HTMLElement.autocorrect {{APIRef("HTML DOM")}}{{SeeCompatTable}} - - The **`autocorrect`** property of the {{domxref("HTMLElement")}} interface controls whether or not user text input is automatically corrected for spelling and/or punctuation errors. The property reflects the value of the [`autocorrect`](/en-US/docs/Web/HTML/Global_attributes/autocorrect) HTML global attribute. @@ -88,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. From 1e6dcbcad2315bf975602ddc9e01f7d587f8742e Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Tue, 5 Nov 2024 09:24:06 +0530 Subject: [PATCH 3/5] Update files/en-us/web/css/css_text/wrapping_breaking_text/index.md --- files/en-us/web/css/css_text/wrapping_breaking_text/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f50b629a743f0e3..b96b1a4b8acda4f 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 @@ -165,7 +165,7 @@ 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 (U+00AD) into the string. A soft break character can be added using `­`, `­`, or `­` HTML character codes as well. 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 `­`, `­`, 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
From 291959aa38de61ec2e6fc176f515288a86dcd95a Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Tue, 5 Nov 2024 00:19:08 -0500 Subject: [PATCH 4/5] Fixes --- .vscode/dictionaries/ignore-list.txt | 3 ++- files/en-us/learn/html/cheatsheet/index.md | 2 +- .../web/css/css_text/wrapping_breaking_text/index.md | 8 +++----- 3 files changed, 6 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/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/css/css_text/wrapping_breaking_text/index.md b/files/en-us/web/css/css_text/wrapping_breaking_text/index.md index b96b1a4b8acda4f..d20e491e54fed72 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 @@ -6,8 +6,6 @@ page-type: guide {{CSSRef}} - - This guide explains the various ways in which overflowing text can be managed in CSS. ## What is overflowing text? @@ -165,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 (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 `­`, `­`, 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. +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
``` @@ -198,7 +196,7 @@ In the below example the text breaks in the location of the {{HTMLElement("wbr") ```html live-sample___wbr
- Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch + Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
``` From 830366f2daf93d2b412c719c669cda1705d1c966 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Tue, 5 Nov 2024 00:27:52 -0500 Subject: [PATCH 5/5] Update files/en-us/web/css/css_text/wrapping_breaking_text/index.md --- files/en-us/web/css/css_text/wrapping_breaking_text/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d20e491e54fed72..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,7 +163,7 @@ 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 (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. +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