[Webkit-unassigned] [Bug 14552] Add a way to disable spell checking for specific element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 29 10:19:57 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=14552





------- Comment #8 from arosenzweig at clinworx.com  2008-04-29 10:19 PDT -------
Robbie's point is well taken.

It is important to have both methods:

1) spellcheck="false" - an element attribute

2) -khtml-spell-checking: disable - a CSS property

Regarding #1 - the upside is that it is already known and works in Firefox and
is also easy to use. Existing code that is tweaked for Firefox will behave
appropriately in Safari. The downside is you have to modify your app code in
many places to make sure that your text fields tack on the attribute in the
HTTP response to the browser. It's not easy to globally make sure all text
fields behave consistently.

Regarding #2 - the upside is that a few lines in a CSS file can give global
preference modifications across your whole web app and also give you the
ability for fine grained control on a page level or even as minute as a single
text input. You don't even have to modify your web app code to achieve these
effects. If you so choose, at the programming level, you could return specific
information in the "style" attribute to achieve something like in #1. The only
downside is that this CSS property is not currently in use so there is no
precedent for it.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list