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

Re: [css-overflow-3][css3-marquee][css3-gcpm] x/y directions (maybe [css3-break] too) & [css-grid]

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 19 Aug 2013 13:42:36 -0700
Message-ID: <CAAWBYDB3+1W+qJkTM7GFod1ftbrhmXG9WCXOQeX-WQTMjWaEkw@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: www-style list <www-style@w3.org>
On Sat, Apr 6, 2013 at 5:38 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> Having logical x/y coordinates could make the grid-placement properties a little less awkward, because then they could be 'grid-x-start', 'grid-y-start', 'grid-x-end', and 'grid-y-end', and it would be easier to tell in a glance what direction they deal with. Authors wouldn't have to remember that 'before' does not mean "the edge that is before the first character of the line box (i.e. 'left' for English)" and that 'start' does not mean "the edge that starts all block boxes, even those with zero height (i.e. 'top' for English)". You only need to know what "x" and "y" mean (and you could set that with a 'scroll-coordinates' property), and that 'start' and 'end' are in reference to that direction.

Within the context of grid, this has been fixed by calling the
properties "grid-[row/column]-[start/end]".  No more memorizing which
pair of synonyms corresponds to the horizontal and which to vertical.

Received on Monday, 19 August 2013 20:43:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC