W3C home > Mailing lists > Public > www-style@w3.org > May 2016

[mediaqueries] overflow-block / overflow-inline shorthand

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 10 May 2016 10:06:25 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <57321511.2050400@inkedblade.net>
Been thinking about the discussion yesterday, and I think I agree with
leaving the spec as-is for overflow-block / overflow-inline. But it
might also be nice to have a shorthand, which would work as follows:

     (overflow: none)   = (overflow-block: none and (overflow-inline: none)
     (overflow: page)   = (overflow-block: page)
     (overflow: scroll) = ((overflow-block: scroll) or (overflow-block: scroll-page))
                          and (overflow-inline: scroll)

[ Alternatively,
     (overflow: scroll) = (overflow-block: scroll) or (overflow-inline: scroll)
   but I think detecting scrollability at all is more useful. ]

Received on Tuesday, 10 May 2016 17:06:59 UTC

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