W3C home > Mailing lists > Public > public-html@w3.org > June 2009

Re: .spellcheck = 'inherit' should work

From: Simon Pieters <simonp@opera.com>
Date: Fri, 12 Jun 2009 09:56:37 +0200
To: "Peter Kasting" <pkasting@google.com>, "Ian Hickson" <ian@hixie.ch>
Cc: public-html <public-html@w3.org>
Message-ID: <op.uvei0nz3idj3kv@simon-pieterss-macbook.local>
On Fri, 12 Jun 2009 02:16:41 +0200, Peter Kasting <pkasting@google.com>  

> 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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:46 UTC