W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: canvas origin?

From: Anton Prowse <prowse@moonhenge.net>
Date: Sat, 09 Apr 2011 02:22:31 +0200
Message-ID: <4D9FA6C7.5090602@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, Sylvain Galineau <sylvaing@microsoft.com>, Jack Smiley <zxcv_890@hotmail.com>
On 08/04/2011 22:16, Tab Atkins Jr. wrote:
> On Fri, Apr 8, 2011 at 1:09 PM, Sylvain Galineau<sylvaing@microsoft.com>  wrote:
>>
>> [Anton Prowse:]
>>>
>>> That was rather careless.  How about: ...if it had position:static and
>>> non-auto margin-left, in ltr mode; and in rtl mode it's the top-right
>>> corners and margin-right that we consider.
>>>
>>>> This should probably be made a little clearer in the spec.
>>>
>> I'm interested in understanding why the canvas origin needs to be defined
>> to change with direction. What properties depend on this switch ?
>
> If the ICB is wider than the viewport, the excess has to overflow the
> viewport in one direction or another.  You want it to overflow to the
> right in ltr, and to the left in rtl.

I think Tab meant to say that if the _root element's margin box_ is 
wider than the viewport, then you have to decide which side overflows 
the ICB and which doesn't.  But that's what I was getting at by 
distinguishing the two modes, yes.

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Saturday, 9 April 2011 00:22:58 GMT

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