W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2006

[whatwg] Spellchecking proposal #2

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 23 Jun 2006 23:55:41 -0700
Message-ID: <20060624065541.GA15839@ridley.dbaron.org>
On Saturday 2006-06-24 11:45 +0700, Alexey Feldgendler wrote:
> IMHO we should not rely on unspecified heuristics. In some browsers, they  
> work rather well, in some they might constantly fail. Leave heuristics for  
> invalid pages, quirks mode etc -- or document these heuristics.

I agree, but for a different reason.

The problem with heuristics is not that they might be better in some
browsers and worse in others.  The problem is that heuristics are only
heuristics when they operate on input written without knowledge of the
heuristics.  When the input was written with knowledge of the
heuristics, they become de facto standards.

In other words, authors will figure out what the heuristics are and then
write markup to match the heuristics rather than to match the semantics
of their content.  Authors will learn what triggers spellchecking (or
not) in Mozilla, and write whatever markup, however inappropriate, gives
the choice of spellchecking that they want.  Then other browsers will be
forced to copy whatever Mozilla did.

So if we're going to end up with a standard anyway, why not admit it and
figure out what it should be rather than ending up there accidentally?

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20060623/7b3769e0/attachment.pgp>
Received on Friday, 23 June 2006 23:55:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC