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

> 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