[whatwg] Spellchecking proposal #2
L. David Baron
dbaron at dbaron.org
Fri Jun 23 23:55:41 PDT 2006
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>
More information about the whatwg
mailing list