Direction determined from content using Rule P2 of the [[BIDI]] algorithm.
+ "UAX9#P2">Rule P2 of the [[UAX9]] algorithm.
If the base direction is [=text-direction/ltr=] or
- [=text-direction/rtl=], override Rule P3
- of [[BIDI]], setting the paragraph embedding level to 0 if the
+ [=text-direction/rtl=], override Rule P3
+ of [[UAX9]], setting the paragraph embedding level to 0 if the
base direction is [=text-direction/ltr=], or 1 if the base
direction is [=text-direction/rtl=].
Otherwise the base direction is "[=text-direction/auto=]",
in which case determine the text's direction by applying
- Rule P1 of [[BIDI]].
+ Rule P1 of [[UAX9]].