W3C home > Mailing lists > Public > www-style@w3.org > August 2014

[css-align] Tying overflow directions/origins to content alignment

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 18 Aug 2014 17:55:34 -0700
Message-ID: <53F2A086.1010109@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
Daniel Holbert brought up the issue of 'overflow: scroll' on a flex
container whose flex direction is reversed.
The overflowing content is not reachable by scrolling because browsers
restrict scrolling in the start and end directions.

I think the right solution is actually to tie the scrolling direction
and initial scroll position to the alignment properties align-content
and justify-content. By default this will give the same results as
dholbert's suggestion, but it will also do the right thing in non-default
alignments, and also solve the same problem for other layout modes.

(Note that we don't currently define anywhere that overflow in the start
directions is inaccessible. It's just a thing that browsers do, afaik.)

Received on Tuesday, 19 August 2014 00:56:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:24 UTC