Re: [CSSOM] does CaretPosition need a "before/after" hint?

On Tue, May 10, 2011 at 11:40 PM, Alex Danilo <alex@abbra.com> wrote:
>
>  >Bidirectional embedding levels are numbers assigned to each nested bidi
> contexts. e.g. in abc CBA def, abc & def are at embedding level 1 and CBA is
> at embedding level 2. In FED 123 CBA, embedding levels are 2, 3, and 2
> respectively.  The minimum embedding level is 1 for a LTR block and 2 for a
> RTL block and the maximum embedding level for both cases is 61.
>
> The minimum embedding level is 0, so in 'abc CBA def', abc & def have an
> embedding level of 0, the
> CBA has an embedding level of 1.
>
> RTL runs can be detected by an odd embedding level.
>

Oops, you're right.  Thanks for pointing that out.  My examples are shifted
by 1 embedding level.

- Ryosuke

Received on Wednesday, 11 May 2011 07:10:49 UTC