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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/303269
Title:
Automatically select language for spell check based on user input
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/303269/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs