Re: [xul-interop] “-moz-user-focus” doesn't wo rk?
Tom Brito <[email protected]> Wed, 19 Jan 2011 15:54:13 -0200
| Newsgroups | gmane.comp.lang.xul.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1358724844061064180== Content-Type: multipart/alternative; boundary=0016e649cdb2e0aead049a36b5eb --0016e649cdb2e0aead049a36b5eb Content-Type: text/plain; charset=ISO-8859-1 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 <[email protected]> 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 > * > --0016e649cdb2e0aead049a36b5eb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable sorry, I mean=A0"-moz-user-focus: ignore;" not=A0"-moz-user-= focus: none;"<br clear=3D"all"><div>I tried both, but it didn't wo= rk.</div><div><br></div><div><br></div><div><br></div><i><div style=3D"text= -align:left"> <span style=3D"font-style:normal"><i>Wellington B. de Carvalho</i></span></= div></i><br> <br><br><div class=3D"gmail_quote">On Wed, Jan 19, 2011 at 3:50 PM, Tom Bri= to <span dir=3D"ltr"><<a href=3D"http://brito.pro">brito.pro</a>@<a href= =3D"http://gmail.com">gmail.com</a>></span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex;"> <div><span style=3D"font-family:Arial, 'Liberation Sans', 'Deja= Vu Sans', sans-serif;font-size:14px;border-collapse:collapse;line-heigh= t:18px">I've made this sample:</span></div> <p style=3D"margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0= px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;bo= rder-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-le= ft-width:0px;border-style:initial;border-color:initial;vertical-align:basel= ine;background-color:transparent;clear:both;word-wrap:break-word"> <br><font face=3D"'courier new', monospace"><?xml version=3D&quo= t;1.0"?><br><?xml-stylesheet href=3D"chrome://global/skin/&= quot; type=3D"text/css"?><br><br><window width=3D"400&= quot; height=3D"300"<br> =A0=A0 =A0xmlns=3D"<a href=3D"http://www.mozilla.org/keymaster/gatekee= per/there.is.only.xul" target=3D"_blank">http://www.mozilla.org/keymaster/g= atekeeper/there.is.only.xul</a>"><br><br>=A0=A0 =A0 =A0 =A0 =A0 =A0= <textbox id=3D"textBox1"/><br> =A0=A0 =A0 =A0 =A0 =A0 =A0<textbox id=3D"textBox2" style=3D&qu= ot;-moz-user-focus: none;"/><br>=A0=A0 =A0 =A0 =A0 =A0 =A0<textb= ox id=3D"textBox3"/><br></window></font></p><p style=3D"= margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px;padding-t= op:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-wid= th:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px= ;border-style:initial;border-color:initial;vertical-align:baseline;backgrou= nd-color:transparent;clear:both;word-wrap:break-word"> <br><span style=3D"border-collapse:collapse;line-height:18px;font-size:14px= ;font-family:Arial, 'Liberation Sans', 'DejaVu Sans', sans-= serif">And, at least here, the style applied to the second textbox is doing= nothing. I expected it to avoid the user focus, as the=A0</span><a href=3D= "https://developer.mozilla.org/en/CSS/-moz-user-focus" rel=3D"nofollow" sty= le=3D"margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;pad= ding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-t= op-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-wid= th:0px;border-style:initial;border-color:initial;font-size:14px;vertical-al= ign:baseline;background-color:transparent;color:rgb(0, 119, 204);text-decor= ation:none;border-collapse:collapse;font-family:Arial, 'Liberation Sans= ', 'DejaVu Sans', sans-serif;line-height:18px" target=3D"_blank= ">doc</a><font face=3D"Arial, 'Liberation Sans', 'DejaVu Sans&#= 39;, sans-serif"><span style=3D"border-collapse:collapse;line-height:18px;f= ont-size:14px">=A0says.</span></font></p> <p style=3D"margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0= px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;bo= rder-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-le= ft-width:0px;border-style:initial;border-color:initial;vertical-align:basel= ine;background-color:transparent;clear:both;word-wrap:break-word"> <font face=3D"Arial, 'Liberation Sans', 'DejaVu Sans', sans= -serif"><span style=3D"border-collapse:collapse;line-height:18px;font-size:= 14px"><br></span></font></p> <p style=3D"margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0= px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;bo= rder-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-le= ft-width:0px;border-style:initial;border-color:initial;vertical-align:basel= ine;background-color:transparent;clear:both;word-wrap:break-word"> <font face=3D"Arial, 'Liberation Sans', 'DejaVu Sans', sans= -serif"><span style=3D"border-collapse:collapse;font-size:14px;line-height:= 18px">Does someone more experience this?</span></font></p> <div><br></div><div>att,</div><div><br></div><i><div style=3D"text-align:le= ft"><span style=3D"font-style:normal"><i>Wellington B. de Carvalho</i></spa= n></div></i><br> </blockquote></div><br> --0016e649cdb2e0aead049a36b5eb-- --===============1358724844061064180== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============1358724844061064180== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ XUL News Wire - http://xulnews.com XUL Job Postings - http://xuljobs.com Open XUL Alliance - http://xulalliance.org _______________________________________________ xul-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xul-talk --===============1358724844061064180==--