Skip to content

Commit c79ad81

Browse files
aygannevk
authored andcommitted
Remove unimplemented feature forceSpellCheck
I was the one who proposed it, and I think it does deserve to exist, but it was specced almost five years ago (4a0651c) and no one has implemented it, so it's time to say goodbye.
1 parent c16de06 commit c79ad81

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

source

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9941,7 +9941,6 @@ interface <dfn>HTMLElement</dfn> : <span>Element</span> {
99419941
readonly attribute DOMString <span data-x="dom-accessKeyLabel">accessKeyLabel</span>;
99429942
[<span>CEReactions</span>] attribute boolean <span data-x="dom-draggable">draggable</span>;
99439943
[<span>CEReactions</span>] attribute boolean <span data-x="dom-spellcheck">spellcheck</span>;
9944-
void <span data-x="dom-forceSpellCheck">forceSpellCheck</span>();
99459944

99469945
[<span>CEReactions</span>] attribute [TreatNullAs=EmptyString] DOMString <span data-x="dom-innerText">innerText</span>;
99479946
};
@@ -74330,17 +74329,6 @@ body { display:none }
7433074329

7433174330
</dd>
7433274331

74333-
74334-
<dt><var>element</var> . <code subdfn data-x="dom-forceSpellCheck">forceSpellCheck</code>()</dt>
74335-
74336-
<dd>
74337-
74338-
<p>Forces the user agent to report spelling and grammar errors on the element (if checking is
74339-
enabled), even if the user has never focused the element. (If the method is not invoked, user
74340-
agents can hide errors in text that wasn't just entered by the user.)</p>
74341-
74342-
</dd>
74343-
7434474332
</dl>
7434574333

7434674334
<div w-nodev>
@@ -74456,15 +74444,6 @@ body { display:none }
7445674444
<p>If checking is disabled, the user agent should not indicate spelling or grammar errors for that
7445774445
text.</p>
7445874446

74459-
<p>Even when checking is enabled, user agents may opt to not report spelling or grammar errors in
74460-
text that the user agent deems the user has no interest in having checked (e.g. text that was
74461-
already present when the page was loaded, or that the user did not type, or text in controls that
74462-
the user has not focused, or in parts of e-mail addresses that the user agent is not confident
74463-
were misspelt). The <dfn><code data-x="dom-forceSpellCheck">forceSpellCheck()</code></dfn> method,
74464-
when invoked on an element, must override this behavior, forcing the user agent to consider all
74465-
spelling and grammar errors in text in that element for which checking is enabled to be of
74466-
interest to the user.</p>
74467-
7446874447
<div class="example">
7446974448

7447074449
<p>The element with ID "a" in the following example would be the one used to determine if the

0 commit comments

Comments
 (0)