W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: Tabbed Interfaces in CSS

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 27 Apr 2009 10:51:22 -0700
Message-ID: <49F5F09A.8030609@mit.edu>
To: Brad Kemper <brad.kemper@gmail.com>
CC: www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT