W3C home > Mailing lists > Public > www-style@w3.org > January 2015

Re: [css-writing-modes][CSS21] propagation of 'direction' from <body> (was Re: [CSSWG] Minutes Telecon 2014-07-09)

From: Florian Rivoal <florian@rivoal.net>
Date: Thu, 15 Jan 2015 13:55:48 +0100
Cc: www-style@w3.org, "L. David Baron" <dbaron@dbaron.org>
Message-Id: <46B52998-80CC-416E-9D10-9991E8982856@rivoal.net>
To: Simon Pieters <simonp@opera.com>

> On 15 Jan 2015, at 09:36, Simon Pieters <simonp@opera.com> wrote:
> 
> In IE/Chrome/Opera on Windows at least, the direction of the viewport determines which side the scrollbar is. So not propagating from body would at least flip the scrollbar to the wrong side.
> 
> [...]
> 
>> Florian: In general, I think we should avoid making <body> special
>>           unless there's compat.
> 
> Agreed as a general rule, but in this case browsers have already converged on making <body> special and there is Web content that would be affected by not making it special (see above).

Given that the browser convergence is being relied on by content, I agree that propagating from <body> when the document language is html is the saner thing to do here.

>>  fantasai: I want to keep writing-mode consistent with direction.
> 
> My proposal is to make both propagate from body.

They do go hand in hand. Especially given the impact on scrollbars described above, having them apply to different elements would be weird.

 - Florian
Received on Thursday, 15 January 2015 12:56:14 UTC

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