Hi,
On 7 Mar 2006, at 17:28, Boris Zbarsky wrote:
Ben Weiner wrote:
Is this the right place to ask why the Legend element seems to be
rendered so that its text content will not wrap over multiple lines?
Because it's not clear how a wrapping legend should be rendered (or
any legend, for that matter), because no spec describes the
"correct" rendering, and because it was just written that way....
So no particularly good reason, but to change it would require a
clear idea of what it should render as.
Good point.
KHTML (Safari at least) thinks these elements should line-wrap, and I
think probably the fact that no other text element in a form seems to
behave this way supports that. I guess legends got left alone because
nobody ever used them...?
If I had to choose, I'd have it do what KHTML is doing on the grounds
that having the text get clipped defeats the object of increasing
accessibility, which is one reason why legends were introduced.
Cheers,
Ben
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout