Re: input box sizing for query boxs

Attribute size and CSS property width are now working properly in the
CVS base. Thanks for pointing this out.

By the way, the demo document is wrong. "input" is not an allowed value
for attribute type in element input, but Amaya did not catch this error.
This bug is fixed too.

Vincent.

John Russell wrote:
> 
> Just noticed that i forgot the demo...  the fix should not be that difficult!
> 
> <?xml version="1.0"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head><title>Input Box Sizing Test</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> <style type="text/css">input.sized {width:300px}</style>
> </head>
> <body>
> <h1>Input Box Sizing Test</h1>
> <form name="form1" action="?" method="post">
> <input name="in1" type="input" />
> </form>
> <p>The first box is the default one</p>
> 
> <form name="form2" action="?" method="post">
> <input name="in2" type="input" size="10"/>
> </form>
> <p>The second box has a size attribute of 10</p>
> 
> <form name="form3" action="?" method="post">
> <input name="in3" type="input" class="sized"/>
> </form>
> <p>The third box has a css property of 300pixels</p>
> </body></html>
> 
> 
> On 12 Jul 2003 at 16:34, John Russell wrote:
> 
> Date forwarded: 	Sat, 12 Jul 2003 16:33:40 -0400 (EDT)
> From:           	"John Russell" <ve3ll@cogeco.ca>
> To:             	www-amaya@w3.org
> Date sent:      	Sat, 12 Jul 2003 16:34:24 -0400
> Send reply to:  	ve3ll@rac.ca
> Priority:       	normal
> Subject:        	input box sizing for query boxs
> Forwarded by:   	www-amaya@w3.org
> 
> [ Double-click this line for list subscription options ] 
> 
> 
> Many sites use input boxes to accept data for submission to a 
> site search utility.   However the following simple test program will
> show that Amaya 8.1a  offers no control over the sizing of this control.
> Older programs use the size attribute and newer ones the width property
> to design clean forms. these re messed up by Amaya. Note how the go
> button is presented when you view the site search on w3.org with any 
> other browser ... then observe what happens with amaya.... and this is the
> tip of the iceberg.... Is it not possible to get attributes (circa 1990's) and
> css1 properties (circa 2000) working correctly. Some of the Amaya page
> blurbs seem like they are written by advertising firms  or Bush's speech 
> writers ((( now that is harsh -- your blurbs are not blatent lies ;-] ;-]  )))
> --
>  
> 
> John Russell, VE3LL@RAC.CA
> http://home.cogeco.ca/~ve3ll (2 L's as in LLAMA)
> check HTML at http://www.htmlhelp.com/tools/validator/
> check CSS at http://jigsaw.w3.org/css-validator/
> check JavaScript at http://www.crockford.com/javascript/jslint.html

Received on Wednesday, 16 July 2003 11:14:28 UTC