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&quot;-moz-user-focus: ignore;&quot; not=A0&quot;-moz-user-=
focus: none;&quot;<br clear=3D"all"><div>I tried both, but it didn&#39;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">&lt;<a href=3D"http://brito.pro">brito.pro</a>@<a href=
=3D"http://gmail.com">gmail.com</a>&gt;</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, &#39;Liberation Sans&#39;, &#39;Deja=
Vu Sans&#39;, sans-serif;font-size:14px;border-collapse:collapse;line-heigh=
t:18px">I&#39;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"&#39;courier new&#39;, monospace">&lt;?xml version=3D&quo=
t;1.0&quot;?&gt;<br>&lt;?xml-stylesheet href=3D&quot;chrome://global/skin/&=
quot; type=3D&quot;text/css&quot;?&gt;<br><br>&lt;window width=3D&quot;400&=
quot; height=3D&quot;300&quot;<br>


=A0=A0 =A0xmlns=3D&quot;<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>&quot;&gt;<br><br>=A0=A0 =A0 =A0 =A0 =A0 =A0=
&lt;textbox id=3D&quot;textBox1&quot;/&gt;<br>


=A0=A0 =A0 =A0 =A0 =A0 =A0&lt;textbox id=3D&quot;textBox2&quot; style=3D&qu=
ot;-moz-user-focus: none;&quot;/&gt;<br>=A0=A0 =A0 =A0 =A0 =A0 =A0&lt;textb=
ox id=3D&quot;textBox3&quot;/&gt;<br>&lt;/window&gt;</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, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, 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, &#39;Liberation Sans=
&#39;, &#39;DejaVu Sans&#39;, sans-serif;line-height:18px" target=3D"_blank=
">doc</a><font face=3D"Arial, &#39;Liberation Sans&#39;, &#39;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, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, 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, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, 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==--