Closed Bug 359063 Opened 18 years ago Closed 18 years ago

xul multiline textbox spellcheck attribute does not inherits textarea one

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 346787

People

(Reporter: chbok, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040804
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040804

This bug assume that the "spellcheck as you type" option is active and a dictionary is installed.

Reproducible: Always

Steps to Reproduce:
1. put a <textbox> in a XUL file with the attributes multiline="true" AND spellcheck="false"
2. open the XUL file, and type in the textbox a misformed text
3. look that spellcheck is active
e
Actual Results:  
Even the spellcheck="false" attribute has been put on the <textbox>, the spellcheck is still enable.

Expected Results:  
The spellcheck="false" attribute must work on a <textbox> like on a <textarea> html tag. The 'spellchek' attribute has no effet on a xul textbox. The xul attribute should inherit from texteara spellcheck attribute.

The multiline textbox is bind with a html textarea in an XBL, perhaps this latter could inherit the spellcheck attribute from the textbox ? (ref: http://lxr.mozilla.org/mozilla1.8.0/source/toolkit/content/widgets/textbox.xml#167)

For instance : xbl:inherits="onfocus,onblur,xbl:text=value,disabled,tabindex,rows,cols,readonly,wrap,*spellcheck*"
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.