Bidirectional text rendering cases

1. Paragraph direction

LTR paragraph containing عربية in the middle.

فقرة عربية تحتوي على English في وسطها.

عربية first, so dir="auto" resolves this whole paragraph to RTL.

English first, so dir="auto" resolves this whole paragraph to LTR even though it also contains عربية.

2. User content without and with <bdi>

بدون bdi: مستخدم -3 علق على الملف.

مع bdi: مستخدم -3 علق على الملف.

مع bdi واسم لاتيني: Novus File Manager علق على الملف.

3. <bdo> — display override, balanced and scoped

Normal: file-2026.pdf

Overridden: file-2026.pdf

The stored text is identical in both lines; only the drawing order differs.

4. Explicit marks inside HTML text

An RLM after the Arabic run pins the trailing full stop: المنتج جاهز‏.

An FSI/PDI pair around an unknown-direction insertion: المنتج ⁨Novus File Manager⁩ جاهز.