On Tue, Apr 15, 2008 at 04:16:55AM +0000, corvid wrote:
The old code showed uncertainty about whether one can interact with the stuff inside a button. The spec doesn't say. I suspect you aren't supposed to be able to. Firefox doesn't let you.
If FF doesn't allow interaction it will be hardly found in the WEB, unless IE allows. :-P
When trying to look up info on button nesting, I discovered -- by crashing -- that I needed to test whether I was in a form. However, I learned that section 17.2.1 says:
"The elements used to create controls generally appear inside a FORM element, but may also appear outside of a FORM element declaration when they are used to build user interfaces. This is discussed in the section on intrinsic events. [p.254] Note that controls outside a form cannot be successful controls [p.245]."
..but I'll make a separate patch for controls outside of forms.
AFAICS this may be useful with client side scripts, but we're a long way from suporting scripts. -- Cheers Jorge.-
Jorge wrote:
On Tue, Apr 15, 2008 at 04:16:55AM +0000, corvid wrote:
section 17.2.1 says:
"The elements used to create controls generally appear inside a FORM element, but may also appear outside of a FORM element declaration when they are used to build user interfaces. This is discussed in the section on intrinsic events. [p.254] Note that controls outside a form cannot be successful controls [p.245]."
..but I'll make a separate patch for controls outside of forms.
AFAICS this may be useful with client side scripts, but we're a long way from suporting scripts.
It's also useful if you want to look at a page that explains tags. The page put up a button tag outside of a form to show me what button tags look like. (plus I've already written the code)
participants (2)
-
corvid@lavabit.com
-
jcid@dillo.org