Re: Tabbed Interfaces in CSS

Brad Kemper wrote:
> OK, I could see how its more complicated in Gecko than I imagined. But 
> is there any reason why it shouldn't become a more mundane inline-block 
> element if its position was set to absolute?

That could be done pretty easily, but it'd still have those ua.css rules 
you don't like applying to it, since you can't select on the display type.

Those rules could move out of CSS into some sort of C++ thing, of 
course; that increases the complexity significantly.

Seriously, redesigning how fieldset and legend work is on the list of 
things we want to do, but there's a lot of complexity involved, and the 
benefits have generally seemed fairly low compared to other things that 
also need to be worked on... And since the behavior doesn't actually 
violate the CSS spec, here we are.

Coming up with a way to create the relevant behavior via CSS would be 
very useful, of course.

 > Or why its width cannot be set by the author to something else that
 > would create a more normal width interaction?

The width rule can probably be changed from !important.  See 
<https://bugzilla.mozilla.org/show_bug.cgi?id=404123>, where the rules 
got added.

-Boris

Received on Monday, 27 April 2009 17:57:41 UTC