Both "none" and "ignore" do nothing.
"disabled" does nothing to the gui, and prints an error on the jsconsole:
Warning: Error in parsing value for '-moz-user-focus'. Declaration dropped.
Source File: chrome://ignorefocustest/content/ignorefocustest.xul
Line: 0
*
Wellington B. de Carvalho
*
On Thu, Jan 20, 2011 at 1:46 PM, Evgeny <zen...@gmail.com> wrote:
> try
> -moz-user-select: none;
> -moz-user-input: disabled;
>
>
> On Wed, Jan 19, 2011 at 8:54 PM, Tom Brito <brito....@gmail.com> wrote:
>
>> sorry, I mean "-moz-user-focus: ignore;" not "-moz-user-focus: none;"
>> I tried both, but it didn't work.
>>
>>
>>
>> *
>> Wellington B. de Carvalho
>> *
>>
>>
>>
>> On Wed, Jan 19, 2011 at 3:50 PM, Tom Brito <brito....@gmail.com> wrote:
>>
>>> I've made this sample:
>>>
>>>
>>> <?xml version="1.0"?>
>>> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
>>>
>>> <window width="400" height="300"
>>> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul
>>> ">
>>>
>>> <textbox id="textBox1"/>
>>> <textbox id="textBox2" style="-moz-user-focus: none;"/>
>>> <textbox id="textBox3"/>
>>> </window>
>>>
>>>
>>> And, at least here, the style applied to the second textbox is doing
>>> nothing. I expected it to avoid the user focus, as the
>>> doc<https://developer.mozilla.org/en/CSS/-moz-user-focus>
>>> says.
>>>
>>>
>>> Does someone more experience this?
>>>
>>> att,
>>>
>>> *
>>> Wellington B. de Carvalho
>>> *
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> XUL News Wire - http://xulnews.com
>> XUL Job Postings - http://xuljobs.com
>> Open XUL Alliance - http://xulalliance.org
>> _______________________________________________
>> xul-talk mailing list
>> xul-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/xul-talk
>>
>>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> XUL News Wire - http://xulnews.com
> XUL Job Postings - http://xuljobs.com
> Open XUL Alliance - http://xulalliance.org
> _______________________________________________
> xul-talk mailing list
> xul-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xul-talk
>
>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
XUL News Wire - http://xulnews.com
XUL Job Postings - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org
_______________________________________________
xul-talk mailing list
xul-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xul-talk