From c79ad811fb8b650c6079960642b86fe01effc3f7 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 11 Aug 2017 11:58:26 +0300 Subject: [PATCH] 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 (4a0651c9) and no one has implemented it, so it's time to say goodbye. --- source | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/source b/source index a3646e77277..823d08db90f 100644 --- a/source +++ b/source @@ -9941,7 +9941,6 @@ interface HTMLElement : Element { readonly attribute DOMString accessKeyLabel; [CEReactions] attribute boolean draggable; [CEReactions] attribute boolean spellcheck; - void forceSpellCheck(); [CEReactions] attribute [TreatNullAs=EmptyString] DOMString innerText; }; @@ -74330,17 +74329,6 @@ body { display:none } - -
element . forceSpellCheck()
- -
- -

Forces the user agent to report spelling and grammar errors on the element (if checking is - enabled), even if the user has never focused the element. (If the method is not invoked, user - agents can hide errors in text that wasn't just entered by the user.)

- -
-
@@ -74456,15 +74444,6 @@ body { display:none }

If checking is disabled, the user agent should not indicate spelling or grammar errors for that text.

-

Even when checking is enabled, user agents may opt to not report spelling or grammar errors in - text that the user agent deems the user has no interest in having checked (e.g. text that was - already present when the page was loaded, or that the user did not type, or text in controls that - the user has not focused, or in parts of e-mail addresses that the user agent is not confident - were misspelt). The forceSpellCheck() method, - when invoked on an element, must override this behavior, forcing the user agent to consider all - spelling and grammar errors in text in that element for which checking is enabled to be of - interest to the user.

-

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