example div dir ltr  span dir rtl abc  span div converting logical caret position abc to visual  in this case abc s lower level side the line begin sentinel  of level and higher level side is  a of level it s owned by the higher level side  a there s no neighbor box  as line begin sentinel is a dummy