Still FF 31.0 spell checker doesn't respect lang attributes in
textareas:

<!DOCTYPE html>
<html lang="en">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Textareas with different lang attributes</title>
</head>
<body>
        <form>
                <textarea lang="it" rows="5" cols="40" spellcheck="true">Questa 
casella di testo contiene del testo in italiano</textarea>
                <br>
                <textarea lang="en" rows="5" cols="40" spellcheck="true">This 
textarea contains english text</textarea>
        </form>
</body>
</html>

Whit this code the spell checker will be set to English language on both
the textareas, even the one that is clearly marked as lang=it; if I
right click on the Italian textarea and choose Italian as language, BOTH
the textareas will turn to Italian language!

Even if you remove the lang attribute on the html tag (which in my
opinion shouldn't be necessary, since it correctly states that the text
of the page is in English), the behaviour is the very same.

Compare this behaviour with what IE10 does: it correctly uses a
different dictionary for each textarea; Chrome doesn't support more that
one dictionary ad a time, so it's impossible it could work correctly.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/303269

Title:
  Automatically select language for spell check based on user input

Status in The Mozilla Firefox Browser:
  Fix Released
Status in “firefox” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: firefox

  As suggested in comments to http://brainstorm.ubuntu.com/idea/14655/

  In an edit field, the language used for the spelling checker could be
  selected automatically based on identifying the language used for text
  written so far.  Systems for doing this exist, and have tolerable
  accuracy for a single sentence of input.

  Granted, this should probably be routed upstream.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/303269/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to