“-moz-user-focus” doesn't work?

galak

New Member
I've made this sample:\[code\]<?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: ignore;"/> <textbox id="textBox3"/></window>\[/code\]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 says.Does someone experienced this?--editTo whom it may concern, the working version:\[code\]<window width="400" height="300" onload="document.getElementById('textBox2').tabIndex='-1';" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <textbox id="textBox1"/> <textbox id="textBox2" onmousedown="return false;"/> <textbox id="textBox3"/></window>\[/code\]
 
Top