W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2003

rendering the legend element

From: John Russell <ve3ll@rac.ca>
Date: Sun, 19 Oct 2003 19:05:11 -0400 (EDT)
To: www-amaya@w3.org
Message-ID: <3F92E0C7.10381.2430DF@localhost>

Unfortunately there is no standards or even recommendation for 
rendering elements.  This makes it very tricky for the poor designer ;-] ;-]
I guess the best we can hope for is that most browser makers will gradually 
move to making their output look similar....

An easy target for this muddlement of vision is the simple legend element.
MSIE/opera renders it as an inline element and doesn't acknowledge a background style
mozilla does offer background style but places it in a frameset (even when not requested)
Amaya treats it as a block element and does background (GREAT) but calculates its
width as maxing out the element's container  rather than being just the width of the 
content plus box values. It also misaligns the background to the right a fraction.

When a legend is contained by a fieldset which is the norm for form designers, 
MSIE/Opera and mozilla make the legend just wide enough for content PLUS box,
reder the background correctly and then by default left align and vertical middle align
the legend over the fieldset border line. This is very attractive.   Amaya places the
legend inside the fieldset border which agrees with how most elements are handled
but not very attractive.  Can the default behaviour be changed in next version ???

Although rendering is not part of the recommendation and no standard exists,
it would be advantageous if a Visual Editor could construct views that would be
seen by most designers clients browsers.  I guess that means trying to make
things render similar to MSIE (has the population base) whenever it can be done.
Chosing defaults that are similar to MSIE would probably help quite a bit. 

Another element that has issues is the input element especially when used as
type button or type file.   I suspect that form design was not a priority as script
languages are not part of amaya.  but forms still need to be designed   and those
on the net rendered in a reasonable way ....   Just mentioning long outstanding 
work that needs doing to make Amaya a designer's tool
john russell ve3ll@rac.ca [those are L's as in LLAMA]
Received on Monday, 20 October 2003 07:21:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:28 UTC