W3C home > Mailing lists > Public > www-style@w3.org > November 2010

Re: [css3-writing-modes] recent edits

From: David Hyatt <hyatt@apple.com>
Date: Fri, 12 Nov 2010 10:44:42 -0600
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org
Message-id: <E69BD7E0-D31C-4563-AC68-3B8620994D2F@apple.com>
To: John Daggett <jdaggett@mozilla.com>
On Nov 12, 2010, at 3:05 AM, John Daggett wrote:

> Here's the example I was playing with, it sets up two rows of four
> blocks each with variations in writing-mode within each block:
> http://people.mozilla.org/~jdaggett/tests/verticalmargins.html
> Renderings in three implementations:
>  Webkit trunk/OSX screenshot:
>  http://people.mozilla.org/~jdaggett/tests/webkit-vertical-margins.png
>  IE8/XP screenshot:
>  http://people.mozilla.org/~jdaggett/tests/ie8-vertical-margins.png
>  IE9beta/Win7 screenshot:

I see two main issues here.

(1) IE8 is not collapsing margins between sibling blocks in some circumstances.  This is clearly fixed in IE9, so I don't think we have to worry about that issue.  If you state that a block whose writing-mode differs from its parent establishes a block formatting context, all the right rules for margin-collapsing are well known.

(2) The second issue is what to do with perpendicular block flows as far as computing their logical widths (case #3, case #4, etc.).  WebKit hasn't made a decision here, and I agree it needs to be specified.  I do think the draft has some red text saying that this needs to be specified though.  I put in some code that uses the viewport dimension with a big FIXME, since this matches IE8.  IE9 is clearly doing something different though.  I can't really tell at first glance what they're doing.

Received on Friday, 12 November 2010 16:45:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC