SOT: Interesting Firefox behavior

2007-08-29 Thread Ian Skinner
Here is some interesting behavior. Give this code snippet a try in Firefox and see what happens when you try and click in the second text input box. Public Telephone Number: - (if 916-, xxx-, otherwise, xxx-xxx-) Did you also get

RE: Interesting Firefox behavior

2007-08-29 Thread Paul Vernon
> > Public Telephone Number: > > value="" /> - > maxlength= "8" value="" /> (if 916-, xxx-, otherwise, xxx-xxx-) > > > Is that valid? Surely it should look more like this Foo Bar If you don't need the "bar" label, t

RE: Interesting Firefox behavior

2007-08-29 Thread Bruce Sorge
I tested it in Netscape and Opera. It did it in Netscape but not Opera. Not sure what is causing it though. Bruce -Original Message- From: Ian Skinner Sent: Wednesday, August 29, 2007 9:28 AM To: CF-Talk Subject: SOT: Interesting Firefox behavior Here is some interesting behavior

Re: Interesting Firefox behavior

2007-08-29 Thread Ian Skinner
"Is that valid? Surely it should look more like this" I don't know! Is there something that says there should only be a one to one relationship with form controls and labels? In this example it is a phone number, but we are providing an area code field and a number field. From a display pers

Re: Interesting Firefox behavior

2007-08-29 Thread Ian Skinner
"I tested it in Netscape and Opera. It did it in Netscape but not Opera. Not sure what is causing it though." I suspect it is that the browsers that exhibit this behavior have more complete support for the label standard. The standard says that if a label is tied to a control, clicking on the

Re: Interesting Firefox behavior

2007-08-29 Thread John Cox
On 8/29/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > > "Is that valid? Surely it should look more like this" > > I don't know! Is there something that says there should only be a one to > one relationship with form controls and labels? In this example it is a > phone number, but we are providing

RE: Interesting Firefox behavior

2007-08-30 Thread Mark Henderson
On 8/29/07, Ian Skinner wrote: > > > > Here is some interesting behavior. Give this code snippet a try in > > Firefox and see what happens when you try and click in the second text > > input box. > > > > > > Public Telephone Number: > > > > > value="" /> - > >

Re: SOT: Interesting Firefox behavior

2007-08-30 Thread Dinner
It's the label, I'd guess- technically, they don't wrap like that. Label should just have some text, really. You'll get all kinds of weird stuff when you wrap it around other elements, IIRC. On 8/29/07, Ian Skinner wrote: > > Here is some interesting behavior. Give this code snippet a try in

Re: SOT: Interesting Firefox behavior

2007-08-30 Thread James Holmes
Inline elements can usually contain other inline elements, according to the HTML spec. Have you seen a spec that excludes label from this rule? On 8/31/07, Dinner <[EMAIL PROTECTED]> wrote: > It's the label, I'd guess- technically, they don't wrap like that. > > Label should just have some text,

Re: SOT: Interesting Firefox behavior

2007-08-30 Thread Dinner
On 8/30/07, James Holmes wrote: > Inline elements can usually contain other inline elements, according > to the HTML spec. Have you seen a spec that excludes label from this > rule? At first glance the question hadn't seemed answered, sooo... It was a kind of off the cuff type of comment. Anecdot