- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 28 Jun 2010 00:18:25 -0700
- To: Ishii Koji <kojiishi@gluesoft.co.jp>
- CC: "www-style@w3.org" <www-style@w3.org>
On 06/24/2010 07:27 PM, Ishii Koji wrote: > Hello, > > As I spent some time thinking myself, I noticed that my question is not about > margins and paddings, but is higher level question. > > The question is, do you have any "design philosophy" or "basic idea" how > vertical writing would work in CSS, and if you do, what is that? There are several elements to this: First, block layout must be generalized to accommodate both vertical and horizontal flows. Bert Bos started to do this years ago, you can see his progress in the CSS3 Box Module, which, unlike the CSS2.1 spec, is written with the assumption that both vertical and horizontal writing modes exist. http://www.w3.org/TR/css3-box/ Second, properties need to be defined that allow switching between vertical and horizontal writing modes. This is the role of the 'writing-mode' and 'block-flow' properties proposed (but not yet standardized) in the CSS3 Text Layout Drafts. Third, the definitions of various CSS features need to be adapted or extended to handle the vertical layout case. This is what Murakami-san was trying to address in his definitions for the *-start properties, and it is why 'start' values exist for e.g. text-align in CSS3. > Now I think I understand the current situation better. I'm guessing, > my questions must come from one of two possibilities. > > 1. You want to re-invent a new vertical system that I have never seen. > 2. You want to use the same philosophy [of rotating the page], but > margins and paddings are very special cases to be treated differently. > > I still don't know which way you guys are trying to go. If rotating the page is option 2, then we're going with option 1. Vertical writing should be a first-class alternative to horizontal writing in CSS, and it must be possible for the two to mix gracefully. This means horizontal and vertical layout will be analogous. It does not mean that vertical writing mode rotates the layout. > Could anyone please tell me how W3C is trying to define vertical writing system in CSS? W3C does not yet have a definite answer for this, and certainly won't until we have at least a First Public Working Draft of CSS3 Text Layout. ~fantasai
Received on Monday, 28 June 2010 07:19:10 UTC