Re: .spellcheck = 'inherit' should work

On Fri, 12 Jun 2009 02:16:41 +0200, Peter Kasting <pkasting@google.com>  
wrote:

> On Thu, Jun 11, 2009 at 5:06 PM, Ian Hickson <ian@hixie.ch> wrote:
>
>> On Wed, 27 May 2009, Simon Pieters wrote:
>> >
>> > .contentEditable is of type DOMString which supports the values  
>> "true",
>> > "false" and "inherit". .spellcheck is a boolean attribute. It would be
>> > nice if these two were aligned so that .spellcheck = 'inherit' removes
>> > the content attribute.
>>
>> My understanding is that there are already implementations of this, and
>> that there are pages that use it. Do people think this is important  
>> enough
>> to change this regardless? Input from people who are more familiar with
>> the deployment of this feature would be helpful.
>
>
> The semantics of "inherit" wouldn't break things, I don't know if
> changing from a boolean to a DOMString would break script though.

contentEditable was actually a boolean in Opera until not so long ago.

The change shouldn't break existing content or legacy implementations when  
true and false are used. New content that uses 'false' or 'inherit' will  
get the wrong value in legacy implementations, though.

-- 
Simon Pieters
Opera Software

Received on Friday, 12 June 2009 07:57:24 UTC