Testing ltr container with contents "זחט יךכ לםמ זחט יךכ לםמ":
PASS (extend left from left)
PASS (extend left from left again)
PASS (extend right from left)
PASS (extend right from left again)
PASS (extend right from right)
PASS (extend right from right again)
PASS (extend left from right)
PASS (extend left from right again)

Testing ltr container with contents "this is some ltr text in an rtl container":
PASS (extend left from left)
PASS (extend left from left again)
PASS (extend right from left)
PASS (extend right from left again)
PASS (extend right from right)
PASS (extend right from right again)
PASS (extend left from right)
PASS (extend left from right again)

Testing rtl container with contents "זחט יךכ לםמ זחט יךכ לםמ":
PASS (extend left from left)
PASS (extend left from left again)
PASS (extend right from left)
PASS (extend right from left again)
PASS (extend right from right)
PASS (extend right from right again)
PASS (extend left from right)
PASS (extend left from right again)

Testing rtl container with contents "this is some ltr text in an rtl container":
PASS (extend left from left)
PASS (extend left from left again)
PASS (extend right from left)
PASS (extend right from left again)
PASS (extend right from right)
PASS (extend right from right again)
PASS (extend left from right)
PASS (extend left from right again)


