W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: Proposal for a scrollbar-safe width calculation

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Fri, 25 Jan 2013 09:01:17 +0100
Message-ID: <CAERejNZt_f28eQZ37A05e09zbtjx8GTLgijSSH-xQ2wq-_B7Tg@mail.gmail.com>
To: Markus Ernst <derernst@gmx.ch>
Cc: www-style list <www-style@w3.org>
> Discussing the scrollbar aspect of vw/vh units, several use cases came to
> my mind where I missed a possibility to take a possible scrollbar into
> account while setting widths in the past
I like the idea. A use case for this is the Net panel header inside

> In use case 2, the property will be applied to the containers of both
> header and content tables, so that the tables have identical widths
> regardless of whether a scrollbar is triggered or not.
Regarding this scenario (the one we're facing in Firebug) it would be much
nicer if there's just one table needed. I.e. the <tbody> should be
scrollable and the header should be fixed. Thereby when setting the
property to reserve-scrollbar the horizontal space should be reserved for
the table body and head, so that the column widths of header and body do
not differ.
Currently there are different hacks to achieve this[2].


[1] http://code.google.com/p/fbug/issues/detail?id=2617
[2] http://www.cssplay.co.uk/menu/tablescroll.html
Received on Friday, 25 January 2013 08:01:46 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:23 UTC