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

Re: canvas origin?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 8 Apr 2011 13:16:28 -0700
Message-ID: <BANLkTi=HB01m6C2MH+cHbY6=pB1sOE-FEQ@mail.gmail.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: Anton Prowse <prowse@moonhenge.net>, "www-style@w3.org" <www-style@w3.org>, Jack Smiley <zxcv_890@hotmail.com>
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.

~TJ
Received on Friday, 8 April 2011 20:17:16 GMT

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