W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

Re: [csswg-drafts] [css-overflow] overflow: Consider support for overlay scrollbars

From: Liam Quin via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Aug 2016 17:10:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-238935322-1470849003-sysbot+gh@w3.org>
If the width of the scollbar is known to CSS an author could write,
  margin-left: max(1em, --ui-scrollbar-width)
or whatever, and reserve space accordingly. That might be better than 
a new property.

The main difficulties I see is are
1. you don't know whether the scrollbar will be on the left, right, 
top, bottom, depending on language writing mode and user locale and 
2. the box model needs to be clear that the scroll bar comes out of 
margin (or padding) space. Maybe that's already clear?
3. we don't actually have max()

GitHub Notification of comment by liamquin
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 10 August 2016 17:10:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:01 UTC