W3C home > Mailing lists > Public > www-style@w3.org > February 2012

RE: [css3-grid-layout] templates and writing modes

From: Phil Cupp <pcupp@microsoft.com>
Date: Mon, 20 Feb 2012 19:43:50 +0000
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <58A081B0F3FA704EAB1082E64639BB010A41B4BA@TK5EX14MBXC284.redmond.corp.microsoft.com>
The grid-template property is logical.  In re-reading the current spec text though I mistakenly say "In English" when I talk about row and column creation via grid-template, implying that each string might produce a column instead of a row in a different writing mode.

It should simply say: A row is created for every separate string listed for the grid-template property, and a column is created for the maximum number of letters found in any one string.  Columns are the tracks that run in the inline direction and rows are the tracks running in the direction of block progression.  See Grid Writing Modes for more details.

Current text to replace:
In English, a row is created for every separate string listed for the grid-template property, and a column is created for the maximum number of letters found in any one string. In orthogonal writing modes the roles of rows and columns are reversed. See Grid Writing Modes for more details.

-Phil


-----Original Message-----
From: fantasai [mailto:fantasai.lists@inkedblade.net] 
Sent: Monday, February 20, 2012 3:12 AM
To: www-style@w3.org
Subject: [css3-grid-layout] templates and writing modes

The current Grid Layout spec states that grid rows and columns are interpreted relative to the writing mode. However the template is interpreted physically. This creates a mismatch between the row/column sizes and the template.

I propose making the template logical, to match the grid, and if desired adding a keyword to switch the template's interpretation from row-major to column-major.

~fantasai
Received on Monday, 20 February 2012 19:44:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT