Re: canvas origin?

On 07/04/2011 22:14, Anton Prowse wrote:
> On 04/04/2011 23:19, Jack Smiley wrote:
>>
>> Referring to section 10.1 Definition of "containing block",
>>
>> "For continuous media, [the ICB] has the dimensions of the viewport
>> and is anchored at the canvas origin..."
>>
>> I
>> don't see the term "canvas origin" defined anywhere in the spec. Where
>> is the canvas origin and what is the implication of having the ICB
>> anchored to it?
>
> I suppose the canvas origin is where the top-left corner of the margin
> area box of the root element would be if it had position:static, and the
> ICB's top-left corner is incident with that point.

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.

;-)


Cheers,
Anton Prowse
http://dev.moonhenge.net

Received on Thursday, 7 April 2011 20:44:52 UTC