W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2009

[whatwg] Spellchecking mark III

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Thu, 12 Feb 2009 16:05:14 +0100
Message-ID: <3729213D4D0B4544AC8D4A5935431ACC@POCZTOWIEC>
The language attribute can be changed at run time if needed.  It requires an
additional event that can be called "langmismatch".  Of course, a more
traditional selector is also a solution.  If the site is primary English,
with Hebrew fragments here and there, it is not much harm that the fragments
are considered spelling errors (although, in the case of English/Hebrew
bilingualism, it is unlikely because the character set is different).
In short, the user agent is allowed to use whatever AI it is equipped with.

Markup for German AND English submissions at the same time, as per your
request:
<LABEL LANG="de" >Inhalt: <TEXTAREA NAME=INHALT ></TEXTAREA ></LABEL >
<LABEL LANG="de" >Contents: <TEXTAREA NAME=CONTENTS ></TEXTAREA ></LABEL >

HTH,
Chris
Received on Thursday, 12 February 2009 07:05:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:09 UTC