Skip if the two sequences to the right have different shapes: ععع ععع.
Test passes if the three Arabic characters DON'T join, making the two boxes identical.

ععع
ع‌‌ع‌‌ع

Assertion: Shaping IS broken across inline box boundaries when border is set to a non-zero value.